Create user, add statuses and labels. Be ready to create tasks
% git clone https://github.com/mnogom/python-project-lvl4.git
% cd python-project-lvl4
% make install
% make migrate
To check if everything ok:
% make test
Models
╔═════════════╗ ╔═════════════╗ ╔═════════════╗
║ Task ║ ║ TaskLabel ║ ║ Label ║
╠═════════════╣ ╠═════════════╣ ╠═════════════╣
║ name ║ ║ task ║ ║ name ║
║ description ║ ║ label ║ ║ created_at ║
║ [a]uthor ║ ╚═════════════╝ ╚═════════════╝
║ [e]xecutor ║ ╔═════════════╗
║ [s]tatus ║ ║ Status ║
║ [l]abels ║ ╠═════════════╣
║ created_at ║ ║ name ║
╚═════════════╝ ║ description ║
╔═════════════╗ ║ created_at ║
║ User ║ ╚═════════════╝
╠═════════════╣
║ username ║
║ email ║
║ first_name ║
║ last_name ║
║ password* ║
╚═════════════╝
Relation Ontology
╔═════════════╗ ╔═════════════╗ ╔═════════════╗
║ Task l───╢ TaskLabel ╟───╢ Label ║
╚═══ s e a ═══╝ ╚═════════════╝ ╚═════════════╝
│ │ │ ╔═════════════╗
│ │ └─╢ User ║
│ │ ╚═════════════╝
│ │ ╔═════════════╗
│ └───╢ User ║
│ ╚═════════════╝
╔════╧════════╗
║ Status ║
╚═════════════╝
- Home
GET /
- index page
- CRUD Users
GET /users/
- page with all usersGET /users/create/
- page to create new userPOST /users/create/
- creating new userGET /users/<int:pk>/update/
- page to update userPOST /users/<int:pk>/update/
- updating userGET /users/<int:pk>/delete/
- page to delete userPOST /users/<int:pk>/delete/
- deleting userGET /login/
- login pagePOST /login/
- authentication userPOST /logout/
- logout user
- CRUD Statuses
GET /statuses/
- page with all statusesGET /statuses/create/
- page to create new statusPOST /statuses/create/
- creating new statusGET /statuses/<int:pk>/update/
- page to update statusPOST /statuses/<int:pk>/update/
- updating statusGET /statuses/<int:pk>/delete/
- page to delete statusPOST /statuses/<int:pk>/delete/
- deleting status
- CRUD Labels
GET /labels/
- page with all labelsGET /labels/create/
- page to create new labelPOST /labels/create/
- creating new labelGET /labels/<int:pk>/update/
- page to update labelPOST /labels/<int:pk>/update/
- updating labelGET /labels/<int:pk>/delete/
- page to delete labelPOST /labels/<int:pk>/delete/
- deleting label
- CRUD Tasks
GET /tasks/
- page with all tasksGET /tasks/create/
- page to create new taskPOST /tasks/create/
- creating new taskGET /tasks/<int:pk>/update/
- page to update taskPOST /tasks/<int:pk>/update/
- updating taskGET /tasks/<int:pk>/delete/
- page to delete taskPOST /tasks/<int:pk>/delete/
- deleting taskGET /tasks/<int:pk>/
- page with detailed task