trainvel/sncfgtfs/admin.py

50 lines
814 B
Python

from django.contrib import admin
from sncfgtfs.models import Agency, Stop, Route, Trip, StopTime, Calendar, CalendarDate, \
Transfer, FeedInfo
@admin.register(Agency)
class AgencyAdmin(admin.ModelAdmin):
pass
@admin.register(Stop)
class StopAdmin(admin.ModelAdmin):
pass
@admin.register(Route)
class RouteAdmin(admin.ModelAdmin):
pass
@admin.register(Trip)
class TripAdmin(admin.ModelAdmin):
pass
@admin.register(StopTime)
class StopTimeAdmin(admin.ModelAdmin):
pass
@admin.register(Calendar)
class CalendarAdmin(admin.ModelAdmin):
pass
@admin.register(CalendarDate)
class CalendarDateAdmin(admin.ModelAdmin):
pass
@admin.register(Transfer)
class TransferAdmin(admin.ModelAdmin):
pass
@admin.register(FeedInfo)
class FeedInfoAdmin(admin.ModelAdmin):
pass