; urlpatterns = patterns('',
>>> (r'^admin/', include(admin.site.urls)),
>>> (r'^app1/app1/app1/', include('project.app1.urls')),
>>> (r'^app1/app1/', include('project.app1.urls')),
>>
('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
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
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
4 matches
Mail list logo