Giter Club home page Giter Club logo

to_do_app's Introduction

To_Do_App

This is a todo application written on django for storing your tasks

By design, our app should be able to:

  • Create task categories
  • Edit task categories
  • Delete task categories
  • Create tasks
  • Edit tasks
  • Delete tasks
  • Register users
  • Allow to login users in their accounts
  • Search tasks

What can our application do now:

  • Create task categories
  • Edit task categories
  • Delete task categories
  • Create tasks
  • Edit tasks
  • Delete tasks
  • Register users
  • Allow to login users in their accounts
  • Search tasks

Installation

  1. Install all dependences with command:
pip install -r requirments.txt
  1. create folder project_settings in to_do_list/to_do_list and and inside the project_settings directory create settings_for_db.json
  2. Open settings_for_db.json file and write config for database and django settings like this:
{ "SECRET_KEY": "Your django's project secret key",
  "NAME": "Name of your db",
  "USER": "User for your db",
  "PASSWORD": "Your db user's password",
  "HOST": "Your host",
  "PORT": "Your port"
}
  1. In terminal go to directory to_do_list (Where manage.py file) and run command for applying ready-made migrations:
python manage.py migrate
  1. In to_do_list (Where settings.py file) create asgi.py and wsgi.py files and inside them paste django-generated code like this:
#asgi.py
import os

from django.core.asgi import get_asgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'to_do_list.settings')

application = get_asgi_application()
#wsgi.py 
import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'to_do_list.settings')

application = get_wsgi_application()

Or write your custom code for these files
6. Run command:

python manage.py runserver

And use my project

Releases

V0.1-Pre-Release

In this release implemented:

  • Html templates
  • Category view
  • Models Category, Task
  • Category creating

V0.1.1-Pre-Release

In this release implemented:

  • Todos view for Task model
  • Base rendering for Todos view

V0.1.2-Pre-Release

In this release:

  • Created todo.html to render tasks associated with categories and todo.css for this html file
  • Css-code for category.html is placed from base.css to category.css
  • In views.py class Todos was rewritten, now if you haven't any tasks, in todo.html a message will be displayed that there are no tasks

V0.2-Pre-Release

In this release:

  • Implemented tasks creating
  • Realized post() method, which processes POST requests
  • todo.html is supplemented with new code

V0.3-Pre-Release

In this release:

  • Marking tasks as completed has been implemented
  • todo.html has a small redesign, now pending and completed tasks are in different blocks
  • Also implemented some minor things

V0.3.5-Pre-Release

In this release:

  • Implemented task editing
  • Implemented task deleting
  • New templates and stylesheets was implemented

V0.5-Pre-Release

In this release:

  • User registration is implemented
  • Now you can log in and log out
  • After this release, you can only see and do things with your tasks

V0.9-Pre-Release

In this release:

  • Implemented tasks searching
  • Now you can sort tasks by some condition
  • Minor bugs was fixed

to_do_app's People

Contributors

ghostmen20034 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.