Changeset 7626 for django/branches/newforms-admin/django/contrib/redirects
- Timestamp:
- 06/12/08 15:13:27 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/newforms-admin/django/contrib/redirects/models.py
r5828 r7626 4 4 5 5 class Redirect(models.Model): 6 site = models.ForeignKey(Site , radio_admin=models.VERTICAL)6 site = models.ForeignKey(Site) 7 7 old_path = models.CharField(_('redirect from'), max_length=200, db_index=True, 8 8 help_text=_("This should be an absolute path, excluding the domain name. Example: '/events/search/'.")) … … 29 29 list_filter = ('site',) 30 30 search_fields = ('old_path', 'new_path') 31 radio_fields = {'site': admin.VERTICAL} 31 32 32 33 admin.site.register(Redirect, RedirectAdmin)
