Skip to content

Demo code for the Pluralsight course "Working with Django Models"

Notifications You must be signed in to change notification settings

codesensei-courses/django-models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Working with Django Models

Demo code for the course "Working with Django Models" on Pluralsight.

There's a commit for each module in the course, as well as a tag:

Setup instructions

1. Clone this repository

Check out any specific commit you like.

2. Create and activate a virtual environment

How to do this depends on your system; depending on your IDE this may not be necessary.

If you don't know how to do this: see my course Development Environments and Package Management in Python 3

3. Install dependencies

Inside the project, run python -m pip install -r requirements.txt.

4. Move into the carved_rock folder

You want to be in the folder where the file manage.py is.

To get there, You probably need to run cd carved_rock.

But watch out: there are two of those and you want to be in the outer carved_rock folder. If you end up 1 level too deep, run cd .. to move up 1 level.

5. Run the project

The command for this is python manage.py runserver.

You can now view the project at http://localhost:8000

If this does not work, you are probably not in the correct folder.

6. Admin password

Setup your admin login using the command python manage.py createsuperuser.

About

Demo code for the Pluralsight course "Working with Django Models"

Resources

Stars

Watchers

Forks

Packages

No packages published