mirror of
https://github.com/django/django.git
synced 2025-01-15 12:52:31 +00:00
a8b70d251d
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
7 lines
124 B
Python
7 lines
124 B
Python
from django.contrib import admin
|
|
|
|
from .models import Story
|
|
|
|
admin.site.register(Story)
|
|
raise Exception("Bad admin module")
|