#9155: Translations cause AdminSite and auth models trouble
---------------------------------------------+------------------------------
 Reporter:  elwaywitvac                      |       Owner:  nobody    
   Status:  new                              |   Milestone:            
Component:  Translations                     |     Version:  1.0       
 Keywords:  auth adminsite bug translations  |       Stage:  Unreviewed
Has_patch:  0                                |  
---------------------------------------------+------------------------------
 This is a horrifically specific bug, so I mostly post this as a warning.

 IF you have a custom "siteadmin" application that registers an AdminSite
 within the _init_.py which imports the django.contrib.auth.admin AND is
 labeled in INSTALLED_APPS as 'project.app_name', you will not be able to
 run the server.

 However, if it isn't within __init__ or just installed as app_name you're
 fine.  That was a fun hour...

 I'm attaching a broken project, just try to run the test server.

 Things of note:
 {{{
 #!python
 # urls.py
 from siteadmin import my_site
 urlpatterns = patterns('',
    (r'^admin/(.*)/', my_site.root),
 )

 # settings.py
 INSTALLED_APPS = (
    'adminsitebug.siteadmin'.
    'django.contrib.admin',
    'django.contrib.auth',
    ...
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9155>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to