mirror of
https://github.com/django/django.git
synced 2025-07-18 16:49:13 +00:00
[1.0.X] Fixed import statement in admin_views test to work with Python 2.3.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
55f1c3e176
commit
985c939dd0
@ -12,10 +12,9 @@ from django.contrib.admin.util import quote
|
||||
from django.utils.html import escape
|
||||
|
||||
# local test models
|
||||
from models import (Article, BarAccount, CustomArticle, EmptyModel,
|
||||
FooAccount, Gallery, ModelWithStringPrimaryKey,
|
||||
Person, Persona, Picture, Section,
|
||||
Collector, Widget, Grommet, DooHickey, FancyDoodad, Whatsit)
|
||||
from models import Article, BarAccount, CustomArticle, EmptyModel, \
|
||||
FooAccount, Gallery, ModelWithStringPrimaryKey, Person, Persona, Picture, \
|
||||
Section, Collector, Widget, Grommet, DooHickey, FancyDoodad, Whatsit
|
||||
|
||||
try:
|
||||
set
|
||||
|
Loading…
x
Reference in New Issue
Block a user