Skip to content

HelloWorldIsNotDefined/django-todo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django To-do App

This is a Django To-do app and I am using Class-based views. In this project, the user can create, read, update and delete a todo. This Django-based To-do application allows users to efficiently manage their tasks while adding a fun, rewarding twist to task completion. With user-friendly features, the app makes task management simple and engaging.

todo

profile

How to Install and Run the Project

To get this repository, run the following command inside your git enabled terminal.

$ git clone https://github.com/HelloWorldIsNotDefined/django-todo-app.git

Before installing the required packages, it is recommended to create a virtual environment.

If you don't have the virtual environment installed:

$ python -m pip install virtualenv

Create the Virtual Environment: Run the following command, replacing env with the name you want for your environment:

$ python -m venv env

Activate the Virtual Environment: To activate the environment, use:

  • Windows:

    env\scripts\activate
    
  • Mac:

    source env/bin/activate
    

Deactivate the Virtual Environment: When you're done working, you can deactivate the environment with:

deactivate

After installing and activating the virtual environment, run the following command to install all required packages.

$ pip install -r requirements.txt

How to Use the Project

In the same directory where manage.py is located, run this command to start the server.

$ py manage.py runserver
  • Go to http://127.0.0.1:8000/ and click on the key icon to Login or the icon next to the key to Sign up in the navigation bar.

navbar

The default superuser is:

  • username = admin

  • password = admin

  • Once you're logged in, click on note icon in the left side, where you can create a new todo. http://127.0.0.1:8000/create/

newtodo

  • Once you created a todo, click on Pencil icon to edit the task.

edit

  • When you check the Is Done box, the task will be marked as completed, and you will earn 100 points as a reward.

done

Goodbye!

Thank you for taking the time to explore this simple Django todo project. I hope you find it helpful and informative as you learn more about Django and web development. If you have any questions, feel free to reach out. Happy coding, and goodbye!

About

This is a Django to-do app using class-based views.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published