Here we will provide more information about the ticket management application that we wrote for the purpose of demonstrating upgrading from Django 1.8 to 1.11.
The sourcecode of the django app is located in the app folder.
The application requires Python 3.5+ (please note that Python 2 is EOL in 2020) and is best used with a virtual environment. The requirements are available in app/requirements.txt.
virtualenv -p python3 venv
source venv/bin/activate
pip install -r app/requirements.txt
As with most Django apps, we have to apply migrations and create a superuser.
cd app
python manage.py migrate
python manage.py createsuperuser
Finally, we have to run the server
python manage.py runserver
This simple application has the following features:
- Registration
- Login
- Create a new ticket
- My tickets
- Edit tickets
- Write comments on tickets
- Django Admin
The ORM looks as follows:
ToDo