Re: Django URLs with/without proxy server

2013-03-04 Thread Bill Freeman
; urlpatterns = patterns('', >>> (r'^admin/', include(admin.site.urls)), >>> (r'^app1/app1/app1/', include('project.app1.urls')), >>> (r'^app1/app1/', include('project.app1.urls')), >>

Re: Django URLs with/without proxy server

2013-03-03 Thread Barun Saha
('project.app1.urls')), >> (r'^app1/', include('project.app1.urls')), >> ) >> >> then the application works. In the env. 2, the app is accessed as >> http://www.domain.com/id1/app1/app1/. >> >> I couldn't understa

Re: Django URLs with/without proxy server

2013-03-02 Thread Bill Freeman
p1/', include('project.app1.urls')), > ) > > then the application works. In the env. 2, the app is accessed as > http://www.domain.com/id1/app1/app1/. > > I couldn't understand why we need to prefix app1 in the URL so many times. > In other words, why (how

Django URLs with/without proxy server

2013-03-01 Thread Barun Saha
s. In other words, why (how) this works. Could someone clarify on this? Also, note that all configurations need to be done on the virtual machine. I don't have access to the proxy server. (Posted in Stackoverflow: http://stackoverflow.com/questions/15159134/django-urls-with-without-proxy