Getting Started with Django 2 - Movies Categorization Application
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
flix
getting_started
templates
.gitignore
README.md
manage.py
requirements.txt

README.md

Getting Started with Django 2

Introduction

Throughout this tutorial, we’ll walk you through the creation of a movies categorization application.

Dependencies

Contributors

Project Structure

    | - manage.py 
    | - getting_started
        \ - settings.py
        \ - urls.py
        \ - wsgi.py
    | - flix
        \ - migrations
        \ - models
            \ - category.py
            \ - movie.py   
        \ - templates
            \ - home_page.html
        \ - views 
            \ - home_page.py
        \ - admin.py
        \ - apps.py
        \ - urls.py

Start Development Server

  1. Run python manage.py migrate to create the application models.

  2. Start the development server and visit http://127.0.0.1:8000/admin/ to create a genre and a movie (you'll need the Admin app enabled).

  3. Visit http://127.0.0.1:8000/flix/.

Running Tests

python manage.py test --pattern="*_tests.py"

URLs