Skip to content

Arsen-hrynevych/mentor-test-task-todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Todo list

In this task, you have to implement a todo list site.

Steps for implementation

  1. Create pull request;
  2. Switch to your branch;
  3. Implement Todo List using Django;
  4. Create Pull Request from your_branch to main branch;

Task

You should have such models:

  1. Task - todo list is consist of tasks. Each task should have fields for:
    • content - describes what you should do.
    • datetime, when a task was created
    • optional deadline datetime if a task should be done until some datetime
    • the boolean field that marks if the task is done or not
    • tags that are relevant for this task
  2. Tag - a tag symbolizes the theme of the task and consists only of a name.

A task can have multiple tags and a tag can be in multiple tasks.

Create the home page. The home page is accessed by 127.0.0.1:8000/, where you should have:

  1. Sidebar with the links to:
    • Home page
    • Tag list page the sidebar should be on all pages.
  2. Todo list which is a list of tasks.
    • Tasks should be ordered from not done to done and from newest to oldest
    • All task information should be displayed.
    • There should be a button to add a new task.
    • For each task add links for updating and deletion.
    • Also, add a button Complete if a task is not done and Undo if a task is done, this button changes the status of the task to the opposite and redirects to this page.

The home page should look like this:

Create a tag list page. A tag list page is accessed by 127.0.0.1:8000/tags/, there you should have:

  1. Table with tags names, links for updating, and deletion.
  2. Button to add a new tag.

Of course, pages for adding tags and tasks must be also implemented.

A tag list page should look like this:

Everybody should be able to easily clone and run your project!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published