Changeset 6415
- Timestamp:
- 09/24/07 18:23:54 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/newforms-admin/django/contrib/admin/widgets.py
r6323 r6415 2 2 Form Widget classes specific to the Django admin site. 3 3 """ 4 import copy 4 5 5 6 from django import newforms as forms … … 132 133 output.append(u'<img src="%simg/admin/icon_addlink.gif" width="10" height="10" alt="Add Another"/></a>' % settings.ADMIN_MEDIA_PREFIX) 133 134 return u''.join(output) 135 136 def __deepcopy__(self, memo): 137 # There is no reason to deepcopy self.admin_site, etc, so just return 138 # a shallow copy. 139 return copy.copy(self)
