Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit aaff207f81b716f1807a7184bab95ebfb36062db 1 parent 6689300
Brian Rosner brosner authored
3  django/contrib/comments/admin.py
... ... @@ -1,5 +1,6 @@
1   -
2 1 from django.contrib import admin
  2 +from django.contrib.comments.models import Comment, FreeComment
  3 +
3 4
4 5 class CommentAdmin(admin.ModelAdmin):
5 6 fieldsets = (
4 django/contrib/flatpages/admin.py
... ... @@ -1,5 +1,7 @@
1   -
2 1 from django.contrib import admin
  2 +from django.contrib.flatpages.models import FlatPage
  3 +from django.utils.translation import ugettext_lazy as _
  4 +
3 5
4 6 class FlatPageAdmin(admin.ModelAdmin):
5 7 fieldsets = (
3  django/contrib/sites/admin.py
... ... @@ -1,5 +1,6 @@
1   -
2 1 from django.contrib import admin
  2 +from django.contrib.sites.models import Site
  3 +
3 4
4 5 class SiteAdmin(admin.ModelAdmin):
5 6 list_display = ('domain', 'name')

0 comments on commit aaff207

Please sign in to comment.
Something went wrong with that request. Please try again.