Skip to content

Web pages Example

Compare
Choose a tag to compare
@octaflop octaflop released this 02 Sep 22:45
· 10 commits to master since this release

1. web_pages

  1. git checkout -b web_page
  2. ./manage.py startapp web_pages && mv web_pages apps/web_pages
  3. Edit apps/django_music/urls.py
  4. Edit apps/web_pages/views.py
  5. Create a templates directory: mkdir -p apps/web_pages/templates/web_pages/
  6. Create a template in that directory
  7. Go to the local URL you set, in our case: `localhost:8000/pages/