steps to set up project -
-
Install python 3.6.5 , DJango 2.2.2 versions and some libraries like requests, etc.
-
download this project and go to the project folder in command prompt.
-
run the django server using command - python manage.py runserver
-
Then in browser open then link - http://127.0.0.1:8000/
-
After that you will be in the home page of the project. And do what activities you want to do (Operations like create/ retrieve /update/ delete)
-
For admin operations create superuser using command-> django-admin createsuperuser
-
Then go to the link - http://127.0.0.1:8000/admin (can see all admin details)
-
Then login to that admin portal and click on stauss and Todo lists to see all details.
-
There is a filter option by which you want to retrieve lists.
-
There is also one search button where you can search based on titles.
-
There is an another action added by which you can download the selected lists.
AND there is a file named api.py which is an API to retrieve lists from this application. To make work this API do below steps-
- first run the django server using above provided command
- after server run, run that api.py -> python api.py
- Then it will show all lists present in the database
- if you want to see single lists then pass id inside the get_todos function in api.py as get_todos('27') and save that and run as python api.py
- if you want to see all lists then call the function as get_todos() in api.py and do as above.