Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.08 KB

app.md

File metadata and controls

54 lines (36 loc) · 1.08 KB

Ticket Management Application

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.

Setup

Pre-Requesits

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

Setup

As with most Django apps, we have to apply migrations and create a superuser.

cd app
python manage.py migrate
python manage.py createsuperuser

Running

Finally, we have to run the server

python manage.py runserver

Features

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