generated from devsforge/django-tpl
-
Notifications
You must be signed in to change notification settings - Fork 0
Add task model
Serhii Horodilov edited this page Feb 20, 2024
·
6 revisions
At the end of this guide you will:
- create a Django model to represent tasks
- create and apply migrations to the project database
git checkout bp-models-tasks- Set up new Django project
- Add project views
- Configure PostgreSQL database
- Add task model
- Fetch data from the database to response
- Render HTML templates to response
- Create auth forms
- Implement user authentication
- Create custom user model
- Create task model form
- Apply permissions to views
- Refactoring project views to CBVs
- Create serializers
- Implement API views
- Apply API views permissions