Hi djangonauts,

I recently tried to use my django project with apache2+mod_python, after a 
developement period using the integrated server. After some struggle, I 
finally have a (quite) working installation. But the admin module shows a 
really weird quirk. I have two custom applications, listed in 
INSTALLED_APPS, and which are correctly shown in admin using the 
integrated server. But when I use mod_python, one of those custom apps is 
missing from the admin page. 

In settings.py, I have:

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.admin',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'dNA.zoneConf',
    'dNA.hostManage',
)

While using the integrated server (manage.py runserver), accessing the 
admin page gives:

Site administration
Auth
   Groups  Add  Change
   Users   Add  Change
Zoneconf
   <zoneconf objects>
Hostmanage
   <hostmanage objects>

But using the apache server, I get:

Site administration
Auth
   Groups  Add  Change
   Users   Add  Change
Zoneconf
   <zoneconf objects>

The hostManage module is missing, no matter in which order the apps are 
listed in INSTALLED_APPS. Both servers refer to the same files, with the 
same config.

Weirder is the fact that I can successfully access to the 'should-be' admin 
URLs for adding or editing hostManage objects (admin/hostManage/.../add/). 
So the hostManage app seems to be integrated and working (I actually can 
manage objects with direct URLs), but it's not shown on the main admin 
page. Any idea why?

Regards,
-- 
Kilian CAVALOTTI                      Administrateur réseaux et systèmes
UPMC / CNRS - LIP6 (C870)
8, rue du Capitaine Scott                          Tel. : 01 44 27 88 54
75015 Paris - France                               Fax. : 01 44 27 70 00

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to