0
0
mirror of https://github.com/django/django.git synced 2024-11-25 07:59:34 +01:00
django/tests/admin_autodiscover/admin.py
2015-02-06 08:16:28 -05:00

7 lines
124 B
Python

from django.contrib import admin
from .models import Story
admin.site.register(Story)
raise Exception("Bad admin module")