Skip to content

b-tin/a1a101c176e5c1a81c4576343cb6c74a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add new code in:

  1. main/settings.py

    • Import library django_heroku
    • Add page app to INSTALLED_APPS
    • Add django_heroku.settings(locals()) at the end of file
  2. main/urls.py

    • Connect with file urls in app pages
  3. page/urls.py

    • Create link so that client can call to it
  4. page/views.py

    • Create function will return data when client call to a specific url.
  5. Run those command:

    • pip install -r requirements.txt
    • python manage.py showmigrations
    • python manage.py migrate
    • python manage.py runserver

About

20210526_201124_python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published