Not exactly. The directory tree is:

ws-python/
  qsm/
      recs/
      others/

Where qsm is the project that contains the main urls.py, and recs and
others are applications with own urls.py files.

Thanks!

On 18 abr, 19:17, "Michael Wieher" <[EMAIL PROTECTED]> wrote:
> i guess the relative path is the question
>
> i assume ws-python is the directory your main urls file is in
> and the recs directly lives in it, with an __init__.py file ?
>
> On Fri, Apr 18, 2008 at 12:15 PM, bcurtu <[EMAIL PROTECTED]> wrote:
>
> >  Hi,
>
> >  I have set up my apache with mod_python. When I call my main page
> >  on /, it works fine. However, when I try to access to other
> >  applications (/users/23) I get this error:
>
> >  ImproperlyConfigured: Error while importing URLconf 'recs.urls': No
> >  module named recs.urls
>
> >  My main urls.py code is:
>
> >  urlpatterns = patterns('',
> >      (r'^$', 'qsm.recs.views.matrix'),
> >      (r'^users/', include('recs.urls')),         ... and more
>
> >  And of course, I have a recs/urls.py file with a correct
> >  configuration...
>
> >  My mod_python config is :
>
> >  <Location "/">
> >     SetHandler python-program
> >     PythonHandler django.core.handlers.modpython
> >     PythonPath "['/home/bcurtu/ws-python'] + sys.path"
> >     SetEnv DJANGO_SETTINGS_MODULE qsm.settings
> >     PythonDebug On
> >  </Location>
>
> >  Everything looks fine, isn't it?
--~--~---------~--~----~------------~-------~--~----~
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