{"info":{"_postman_id":"5672e041-ab33-461c-a439-42a66f9292be","name":"task-management-using-django","description":"<html><head></head><body><p>I explained everything in the README.md file included in my codebase.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"44006424","collectionId":"5672e041-ab33-461c-a439-42a66f9292be","publishedId":"2sB34ZrjQE","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-07-01T16:18:42.000Z"},"item":[{"name":"register-new-user","id":"b202da14-e65d-4eb0-a735-2fdb3f061a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"loveth\",\r\n  \"password\": \"loveth@321\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/register/","urlObject":{"protocol":"http","port":"8000","path":["api","register",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"e2bde9d2-abad-4403-a01b-1fd06e141212","name":"register-user-response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"loveth\",\r\n  \"password\": \"loveth@321\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/register/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 16:05:33 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"OPTIONS, POST"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"40"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User created successfully.\"\n}"}],"_postman_id":"b202da14-e65d-4eb0-a735-2fdb3f061a63"},{"name":"get-token-by-login","id":"879f5b5b-4c0c-4f42-86bb-46551b2d0d90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"loveth\",\r\n  \"password\": \"loveth@321\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/token/","urlObject":{"protocol":"http","port":"8000","path":["api","token",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"ead3d977-5fdf-40ff-be94-2404d54b8b1b","name":"token-response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"loveth\",\r\n  \"password\": \"loveth@321\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/token/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 16:08:41 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"483"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTc1MTQ3MjUyMSwiaWF0IjoxNzUxMzg2MTIxLCJqdGkiOiIxNjg0ZTg5NDE5NGM0NWNlOWVhNTJkMDU0NThlYzZlNiIsInVzZXJfaWQiOjl9.7qqoUbanO-4yOhIv2j9ZLQwSVTPakd2BGwCNJouisUI\",\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzUxMzg2NDIxLCJpYXQiOjE3NTEzODYxMjEsImp0aSI6ImJkMmU4OThmYThlYzQwNjU5N2E1NTFiOWYyNzhjNzJiIiwidXNlcl9pZCI6OX0.7jI1eM-NNISa8tFJJrN_rgmhBLMCCrg0Q2rUB9mpP_c\"\n}"}],"_postman_id":"879f5b5b-4c0c-4f42-86bb-46551b2d0d90"},{"name":"refresh-token","id":"7d7ef1b9-19e8-4f63-acf2-3c81f101c15d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTc1MTQ3MjUyMSwiaWF0IjoxNzUxMzg2MTIxLCJqdGkiOiIxNjg0ZTg5NDE5NGM0NWNlOWVhNTJkMDU0NThlYzZlNiIsInVzZXJfaWQiOjl9.7qqoUbanO-4yOhIv2j9ZLQwSVTPakd2BGwCNJouisUI\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/token/refresh/","urlObject":{"protocol":"http","port":"8000","path":["api","token","refresh",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0b1a45fd-e4a3-4369-99e0-fb5b6bc265ee","name":"token-refreshing-response","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"refresh\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTc1MTQ3MjUyMSwiaWF0IjoxNzUxMzg2MTIxLCJqdGkiOiIxNjg0ZTg5NDE5NGM0NWNlOWVhNTJkMDU0NThlYzZlNiIsInVzZXJfaWQiOjl9.7qqoUbanO-4yOhIv2j9ZLQwSVTPakd2BGwCNJouisUI\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/token/refresh/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 16:11:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"241"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"access\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzUxMzg2NTg1LCJpYXQiOjE3NTEzODYxMjEsImp0aSI6IjhjZmU4ZTY0NzFlYzRlY2NhZDgzYjRiODE1NzNjYzNkIiwidXNlcl9pZCI6OX0.zQkdQOZ4HagQ9LKQD_Da9GxvKgCGeF1ORKIWDJlbKWc\"\n}"}],"_postman_id":"7d7ef1b9-19e8-4f63-acf2-3c81f101c15d"},{"name":"create-task","id":"c38056d5-e245-486b-8167-5ac3f876f97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"To do App\",\r\n  \"description\": \"I want to write code on todo app\",\r\n  \"due_date\": \"2025-07-05\",\r\n  \"completed\": false,\r\n  \"priority\": \"medium\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"aca9a23b-d0bb-48a6-a8d2-608953c560f2","name":"task-created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"To do App\",\r\n  \"description\": \"I want to write code on todo app\",\r\n  \"due_date\": \"2025-07-05\",\r\n  \"completed\": false,\r\n  \"priority\": \"medium\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 16:44:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"234"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"title\": \"To do App\",\n    \"description\": \"I want to write code on todo app\",\n    \"due_date\": \"2025-07-05\",\n    \"completed\": false,\n    \"priority\": \"medium\",\n    \"created_at\": \"2025-07-01T16:44:00.260946Z\",\n    \"updated_at\": \"2025-07-01T16:44:00.261009Z\",\n    \"user\": 9\n}"}],"_postman_id":"c38056d5-e245-486b-8167-5ac3f876f97d"},{"name":"get-all-task","id":"e97c6920-b2f4-4374-abfe-159267619d6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"284c6513-56e2-4e29-ac6e-9a47a94867ed","name":"get-all-task-response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 17:04:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"522"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"next\": null,\n    \"previous\": null,\n    \"results\": [\n        {\n            \"id\": 1,\n            \"title\": \"Finish report\",\n            \"description\": \"Write the July project report\",\n            \"due_date\": \"2025-07-05\",\n            \"completed\": false,\n            \"priority\": \"medium\",\n            \"created_at\": \"2025-07-01T16:38:30.332469Z\",\n            \"updated_at\": \"2025-07-01T16:38:30.332512Z\",\n            \"user\": 9\n        },\n        {\n            \"id\": 2,\n            \"title\": \"To do App\",\n            \"description\": \"I want to write code on todo app\",\n            \"due_date\": \"2025-07-05\",\n            \"completed\": false,\n            \"priority\": \"medium\",\n            \"created_at\": \"2025-07-01T16:44:00.260946Z\",\n            \"updated_at\": \"2025-07-01T16:44:00.261009Z\",\n            \"user\": 9\n        }\n    ]\n}"}],"_postman_id":"e97c6920-b2f4-4374-abfe-159267619d6e"},{"name":"get-task-by-id(2)","id":"67278338-1062-4f97-b645-da62f3630e68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8000/api/tasks/2/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks","2",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"abf850c3-1dd5-4386-aeb5-3e4224a1f3d6","name":"id(2)-response","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8000/api/tasks/2/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 17:07:01 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"234"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"title\": \"To do App\",\n    \"description\": \"I want to write code on todo app\",\n    \"due_date\": \"2025-07-05\",\n    \"completed\": false,\n    \"priority\": \"medium\",\n    \"created_at\": \"2025-07-01T16:44:00.260946Z\",\n    \"updated_at\": \"2025-07-01T16:44:00.261009Z\",\n    \"user\": 9\n}"}],"_postman_id":"67278338-1062-4f97-b645-da62f3630e68"},{"name":"get-task-by-id(1)","id":"888f43d8-634c-4441-b8ec-21ddf0f2a913","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks","1",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"16cae2b1-6953-4b28-901b-a2d26210d4a3","name":"id(1)-response","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 17:09:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"235"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"Finish report\",\n    \"description\": \"Write the July project report\",\n    \"due_date\": \"2025-07-05\",\n    \"completed\": false,\n    \"priority\": \"medium\",\n    \"created_at\": \"2025-07-01T16:38:30.332469Z\",\n    \"updated_at\": \"2025-07-01T16:38:30.332512Z\",\n    \"user\": 9\n}"}],"_postman_id":"888f43d8-634c-4441-b8ec-21ddf0f2a913"},{"name":"update-task","id":"bb8497f1-a383-4950-aef9-5fcb4d0301f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"\r\n{\r\n    \"title\": \"Finish report\",\r\n    \"due_date\": \"2025-07-10\",\r\n    \"priority\": \"medium\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks","1",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d90a0f5e-d0d1-4edf-a8d9-145c04220453","name":"updated-due-date-response","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"\r\n{\r\n    \"title\": \"Finish report\",\r\n    \"due_date\": \"2025-07-10\",\r\n    \"priority\": \"medium\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 17:24:51 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, PUT, PATCH, DELETE, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"235"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"Finish report\",\n    \"description\": \"Write the July project report\",\n    \"due_date\": \"2025-07-10\",\n    \"completed\": false,\n    \"priority\": \"medium\",\n    \"created_at\": \"2025-07-01T16:38:30.332469Z\",\n    \"updated_at\": \"2025-07-01T17:24:51.096583Z\",\n    \"user\": 9\n}"}],"_postman_id":"bb8497f1-a383-4950-aef9-5fcb4d0301f5"},{"name":"mark-task-as-completed","id":"aa1304cc-c2e7-4368-aadf-4d272f4da0da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/mark_complete/","urlObject":{"protocol":"http","port":"8000","path":["api","tasks","1","mark_complete",""],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1872b09d-3215-4475-9ef3-6fcb09fcd2c7","name":"mark-completed-task-response","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8000/api/tasks/1/mark_complete/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 01 Jul 2025 17:28:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.13.1"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"PATCH, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"32"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"marked as completed\"\n}"}],"_postman_id":"aa1304cc-c2e7-4368-aadf-4d272f4da0da"},{"name":"delete-task","id":"8bc54d82-18d7-4c1d-bb8d-cb33d1754ed3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8bc54d82-18d7-4c1d-bb8d-cb33d1754ed3"}]}