mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
newforms-admin: Fixed #7819 -- Added missing imports to contrib admin.py modules from [7953]. Thanks rajeshdhawan for catching this.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
66893002f3
commit
aaff207f81
@ -1,5 +1,6 @@
|
||||
|
||||
from django.contrib import admin
|
||||
from django.contrib.comments.models import Comment, FreeComment
|
||||
|
||||
|
||||
class CommentAdmin(admin.ModelAdmin):
|
||||
fieldsets = (
|
||||
|
@ -1,5 +1,7 @@
|
||||
|
||||
from django.contrib import admin
|
||||
from django.contrib.flatpages.models import FlatPage
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class FlatPageAdmin(admin.ModelAdmin):
|
||||
fieldsets = (
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
from django.contrib import admin
|
||||
from django.contrib.sites.models import Site
|
||||
|
||||
|
||||
class SiteAdmin(admin.ModelAdmin):
|
||||
list_display = ('domain', 'name')
|
||||
|
Loading…
x
Reference in New Issue
Block a user