Hi,
> urlpatterns = patterns('probob.app1.views',
> (r'^$', 'index'),
> (r'^test/', 'XXX'),
> )
> where XXX I want to refer to 'probob.app2.views.foo'; however django is
> going to make it refer to 'probob.app.views.probob.app2.views.foo'. Is
> there a way to get around this?
Yes:
urlpatterns = patterns('probob.app1.views',
(r'^$', 'index'),
)
urlpatterns += patterns('probob.app2.views',
(r'^test/', 'foo'),
)
Hope it helps,
G
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---