-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.py
27 lines (23 loc) · 901 Bytes
/
admin.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from django.contrib import admin
from doge.models import Response2
from doge.models import Response
from doge.models import ResponseGood
from doge.models import ResponseBad
from doge.models import ResponseNeutral
from doge.models import GoodFortune
from doge.models import NeutralFortune
from doge.models import BadFortune
from doge.models import DefaultFortune
class AdminResponse(admin.ModelAdmin):
pass
class AdminResponse2(admin.ModelAdmin):
pass
admin.site.register(Response2, AdminResponse2)
admin.site.register(Response, AdminResponse)
admin.site.register(ResponseGood, AdminResponse)
admin.site.register(ResponseBad, AdminResponse)
admin.site.register(ResponseNeutral, AdminResponse)
admin.site.register(GoodFortune, AdminResponse)
admin.site.register(NeutralFortune, AdminResponse)
admin.site.register(BadFortune, AdminResponse)
admin.site.register(DefaultFortune, AdminResponse)