logbook-django/logbook/flight/admin.py
2019-09-15 01:38:18 -04:00

17 lines
376 B
Python

from django.contrib import admin
from flight.models import Flight, Plane, Airport
# Register your models here.
class FlightAdmin(admin.ModelAdmin):
pass
admin.site.register(Flight, FlightAdmin)
class PlaneAdmin(admin.ModelAdmin):
pass
admin.site.register(Plane, PlaneAdmin)
class AirportAdmin(admin.ModelAdmin):
pass
admin.site.register(Airport, AirportAdmin)