Ticket #11129: contenttypes_shortcat_view_sites.patch
File contenttypes_shortcat_view_sites.patch, 524 bytes (added by , 16 years ago) |
---|
-
django/contrib/contenttypes/views.py
52 52 break 53 53 54 54 # Fall back to the current site (if possible). 55 if object_domain is None :55 if object_domain is None and Site._meta.installed: 56 56 try: 57 57 object_domain = Site.objects.get_current().domain 58 58 except Site.DoesNotExist: