Skip to content

Getting Started with Django 2 - Movies Categorization Application

Notifications You must be signed in to change notification settings

marcospereirampj/django2-getting-started

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Getting Started with Django 2 - Movies Categorization Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published