This is a Django-based web application for managing todos. The app allows users to register, log in, and manage their personal todo lists. It includes features such as adding, updating, and deleting todos, along with user authentication to ensure that each user's data is private and secure.
- User registration and authentication (login/logout)
- Add new todos
- Mark todos as complete/incomplete
- Delete todos
- Responsive design with Bootstrap
- Django
- Bootstrap 4
- SQLite (default, can be changed to other databases)
- HTML, CSS, JavaScript
-
Clone the repository:
git clone https://github.com/Nafeessidd1/django-todo-app.git cd todoapp
-
Create and activate a virtual environment:
python -m venv env source env/bin/activate # On Windows, use `env\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Create a superuser (optional, for admin access):
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Open your web browser and go to
http://127.0.0.1:8000/
to view the application.
- Register: Create a new account by providing a username, email, and password.
- Login: Log in to your account.
- Add Todos: Use the form to add new todos.
- Mark as Complete: Check the checkbox next to a todo to mark it as complete.
- Delete Todos: Click the trash icon next to a todo to delete it.
- Logout: Log out from your account when done.
Cheers and Happy Coding :)