Changeset 5015
- Timestamp:
- 04/16/07 19:40:11 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/contrib/databrowse/datastructures.py
r5011 r5015 4 4 """ 5 5 6 from django.contrib.admin.views.main import EMPTY_CHANGELIST_VALUE7 6 from django.db import models 8 7 from django.utils import dateformat … … 133 132 so we can accomodate many-to-many fields. 134 133 """ 134 # This import is deliberately inside the function because it causes 135 # some settings to be imported, and we don't want to do that at the 136 # module level. 137 from django.contrib.admin.views.main import EMPTY_CHANGELIST_VALUE 135 138 if self.field.rel: 136 139 if isinstance(self.field.rel, models.ManyToOneRel):
