I am a new Django user with Django 0.96 deployed in a sub-directory under our main document root. My problem is that I cannot get my URL configuration to work.
Inside the Django-deployed subdirectory, I have the following urls.py file: <blockquote> from django.conf.urls.defaults import * base_url = 'columbia_django/' urlpatterns = patterns('', (r'^' + base_url + 'hr/', include('columbia_django.hr.urls')), ) </blockquote> Inside the 'hr/' sub-directory, I have the following urls.py file: <blockquote> from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^$', 'columbia_django.hr.views.index'), (r'^job/(?P<job_id>\d+)/$', 'columbia_django.hr.views.view_job'), (r'^by_department/$', 'columbia_django.hr.views.by_department'), (r'^search/$', 'columbia_django.hr.views.search'), (r'^admin/', include('django.contrib.admin.urls')), (r'^test/$', 'columbia_django.hr.views.test'), ) </blockquote> When I go to http://myserver/columbia_django/hr, the index view is displayed, but none of the other URLs in the hr/urls.py work. I would use the django.root parameter in the httpd.conf file, but 0.96 doesn't support this. Any help is greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---