django1/tests/bug8245/admin.py

10 lines
165 B
Python

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