A simple ticketing application written in Python/Django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

admin.py 432B

1234567891011121314151617
  1. from django.contrib import admin
  2. from .models import Ticket, FollowUp, Attachment
  3. class TicketAdmin(admin.ModelAdmin):
  4. list_display = ('id',
  5. 'title',
  6. 'description',
  7. 'assigned_to',
  8. 'created',
  9. 'updated',)
  10. # Register Models
  11. admin.site.register(Ticket, TicketAdmin)
  12. admin.site.register(FollowUp)
  13. admin.site.register(Attachment)