Demo code for the course "Django Fundamentals" on Pluralsight.
There's a commit for each module in the course, as well as a tag:
- After Module 2: Starting a Django Project
- After Module 3: Creating a Simple Web Page
- After Module 4: Setting Up a Data Model
- After Module 5: Combining Model, View and Template
- After Module 6: URLs and Link Building
- After Module 7: Templates, Styling and Static Content
- After Module 8: Adding User Interaction with ModelForms
- After Module 9: Editing Meetings and Authentication
Check out any specific commit you like.
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
Inside the project, run python -m pip install -r requirements.txt
.
You want to be in the folder where the file manage.py
is.
To get there, You probably need to run cd meeting_planner
.
But watch out: there are two of those and you want to be in the
outer meeting_planner folder. If you end up 1 level too deep, run
cd ..
to move up 1 level.
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.
The username/password for the admin interface is: user: test password: test
Or you can of course create your own using the command python manage.py createsuperuser
.