Post your Apache configuration snippet where you configure mod_python
for Django.

Post your full urls.py file.

Indicate the path to the directory containing the settings.py file so
we can see if it matches with what it is meant to be.

Graham

On Jan 21, 6:22 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> I developed a site using ./mmanage.py runserver for testing.  I try to run it
> under apache and it errors.  I hear runserver adds things to sys.path 
> (installed
> apps) and when you run from apache that doesn't happen.  sure enough, I can 
> fix
> it by adding things to PythonPath.
>
> Now I am having 2 problems with
>      (r'^admin/', include('django.contrib.admin.urls')),
>
> 1. if I browse to mysite.com/admin it misses that and gets caught by
>       (r'', include('ridgemoor.core.urls')),
>
> 2, browse to mysite.com/admin/ get error:
>
> Tried new_message in module ridgemoor.core.views. Error was: 'module' object 
> has
> no attribute 'new_message'
>
> I have a feeling this is more pathing problems, but now it doesn't work from
> runserver either, which makes me think I broke something trying to fix the 
> path
> isues.
>
> So before I go 'fixing' more things, some sort of checklist describing what
> changes I need to make would be nice.  Anything like this exist?
>
> Carl K
>
> ps
>
> http://us.pycon.org/2008/registration/open for business.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to