Ticket #8344: get_profile.r8366.diff
File get_profile.r8366.diff, 597 bytes (added by , 16 years ago) |
---|
-
django/contrib/auth/models.py
286 286 """ 287 287 if not hasattr(self, '_profile_cache'): 288 288 from django.conf import settings 289 if not settings.AUTH_PROFILE_MODULE:289 if not getattr(settings, 'AUTH_PROFILE_MODULE', False): 290 290 raise SiteProfileNotAvailable 291 291 try: 292 292 app_label, model_name = settings.AUTH_PROFILE_MODULE.split('.')