Skip to content

adityajadhavv18/taskmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Task Manager

A beginner-friendly task manager web app built with Django. Create, complete, and delete tasks — all persisted in a SQLite database with a clean admin panel included.

Features

  • Add tasks with a title
  • Mark tasks as complete / undo completion
  • Delete tasks
  • Django admin panel for full CRUD management
  • SQLite database — zero configuration required

Tech Stack

  • Python 3
  • Django 5.x
  • SQLite (built-in)

Project Structure

taskmanager/
├── manage.py
├── db.sqlite3
├── taskmanager/
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
└── tasks/
    ├── models.py
    ├── views.py
    ├── urls.py
    ├── admin.py
    ├── forms.py
    ├── migrations/
    └── templates/
        └── tasks/
            ├── base.html
            └── task_list.html

Getting Started

1. Clone the repository

git clone <your-repo-url>
cd taskmanager

2. Create and activate a virtual environment

python3 -m venv venv
source venv/bin/activate

On Windows: venv\Scripts\activate

3. Install dependencies

pip install django

4. Apply migrations

python manage.py migrate

5. Create an admin superuser

python manage.py createsuperuser

6. Run the development server

python manage.py runserver

Visit http://127.0.0.1:8000/ to use the app. Visit http://127.0.0.1:8000/admin/ to access the admin panel.

URL Routes

URL View Description
/tasks/ task_list List all tasks
/tasks/create/ task_create Handle new task form submission
/tasks/complete/<pk>/ task_complete Toggle task completion
/tasks/delete/<pk>/ task_delete Delete a task
/admin/ Django admin Full admin panel

Concepts Practiced

  • Django ORM and model definition
  • URL routing (project-level and app-level)
  • Function-based views
  • Django Template Language (DTL)
  • Template inheritance with base.html
  • CSRF protection in forms
  • Django admin customization
  • Virtual environments and project structure

What to Build Next

  • Add due dates (DateField on the Task model)
  • Filter tasks by status (pending / complete)
  • User authentication so each user sees only their own tasks
  • Replace manual form handling with Django ModelForm
  • Deploy to Railway or Render

About

A full-stack task manager built with Django and SQLite. Covers models, function-based views, template inheritance, and the Django admin panel.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors