This is a simple application for managing to-do lists.
Users would be allowed to:
- Add, Modify, Finish, and Remove tasks.
- Assign tasks to other users.
- Set Reminders for their tasks.
For notifications, this project uses DWR-910 4G LTE USB Router to send SMS to users.
- Make sure
python3
andpip
are installed in your system. - clone the project and make the development environment ready:
git clone https://github.com/arianshnsz/Django-Task-Reminder.git
python -m venv .venv # Create a virtual environment called .venv
source .venv/bin/activate # activate the virtual environment
pip install -r requirements.txt # install the required packages
3. Generate the Django Secrete key (click to show the steps):
- Access the Python Interactive Shell:
django-admin shell
- Import the
get_random_secret_key()
function fromdjango.core.management.utils
:
from django.core.management.utils import get_random_secret_key
- Generate the Secrete key using
get_random_secret_key()
function:
get_random_secret_key()
- In the existing directory, create a file name
.env
and paste the following line inside it:
SECRET_KEY = "... paste your generated secret key ..."
- Create database tables:
python manage.py migrate
- Run the project and visit the following website.
python manage.py runserver
- (Optional) Connect to DWR-910 device and run the sms script for sending sms to users:
python manage.py runscript task_notification
This will run scripts/task_notification.py
.
- add SIM800 module
- accept requests before assigning tasks
- international phone number check