How amro-alsaqer/django_2pm works
This is a Django project-and-task manager. Users can register or log in, then create, search, update, and delete their projects; project update pages also support task creation, completion changes, and deletion. Project records include ownership, category, status, and timestamps, while tasks belong to projects. The excerpts show URL dispatch, view-to-form/model use, and configured PostgreSQL settings. Task and template details are limited to the shown routes and tree; the database connection is represented as framework-mediated.
Main entry points: projects/urls.py Project routes · models.py Projects, tasks, categories · views.py Project creation · accounts/urls.py Account routes
Components 16
Accounts
- Account routes
accounts/urls.py - Registration
accounts/views.py - Login and signup forms
accounts/forms.py
Project workflow
- Project routes
projects/urls.py - Project listing
projects/views.py - Project creation
projects/views.py - Project update and deletion
projects/views.py - Task operations
projects/views.py - Project forms
projects/forms.py
Domain and persistence
- Projects, tasks, categories
projects/models.py - PostgreSQL
Web interface
- Registration pages
accounts/templates/registration - Project pages
projects/templates/project - Shared page templates
projects/templates - Django configuration
projects_management/settings.py
Other components
- User
Connections 21
- User → Account routes: opens account
accounts/urls.py - Account routes → Registration: dispatches signup
accounts/urls.py - Account routes → Login and signup forms: configures login
accounts/urls.py - Registration → Login and signup forms: uses signup form
accounts/views.py - Registration → Registration pages: renders registration
accounts/views.py - User → Project routes: opens projects
projects/urls.py - Project routes → Project listing: dispatches listing
projects/urls.py - Project routes → Project creation: dispatches creation
projects/urls.py - Project routes → Project update and deletion: dispatches management
projects/urls.py - Project routes → Task operations: dispatches tasks
projects/urls.py - Project listing → Projects, tasks, categories: queries projects
projects/views.py - Project creation → Project forms: validates input
projects/views.py - Project creation → Projects, tasks, categories: creates project
projects/views.py - Project update and deletion → Project forms: validates updates
projects/views.py - Project update and deletion → Projects, tasks, categories: updates or deletes
projects/views.py - Task operations → Projects, tasks, categories: creates or changes tasks
projects/views.py - Project listing → Project pages: renders listing
projects/views.py - Project creation → Project pages: renders creation
projects/views.py - Project update and deletion → Project pages: renders project forms
projects/views.py - Projects, tasks, categories → PostgreSQL: persists through ORM
- Django configuration → PostgreSQL: configures database
projects_management/settings.py