The project for study Django.
All actions should be executed from the source directory of the project and only after installing all requirements.
python3.9 -m venv ../venv source ../venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
./manage.py migrate
After completing the steps follow the link -- http://127.0.0.1:8000/
- Django;
- HTML;
- CSS;
Description of the program interface: When the “New todo” button is clicked, the createtodo event handler invokes a modal window to create a task. The window contains fields for title, description, priority selection, saving and returning to the main menu. There is a limit on the number of characters on the field for entering the name, if the number of characters entered matches the maximum number, are checked using the max_length attribute. In the modal window, the user has a warning label for the maximum number of input characters.
-
- A generated block with a task. Working with the task block. The block of each task contains information: Name; Description; A priority; Task state change menu.
Menu for working with the task. Option "Done" - completes work on the task, makes its menu inactive. Option "Edit" - causes the generation of a modal window for editing. The user can change: title, description, priority, keep or refuse changes. Option “Delete“ - deletes the task.
-
- Registration. By clicking on the “Sign Up“ button, we will go to the user registration window with the following fields: -username -password 1 -password 2 The password will need to be repeated. After filling in the fields and upon successful registration, we are redirected to the main page with current tasks.