Re: Mixing prefixes in one urlconf

2006-01-21 Thread Maniac
Julio Nobrega wrote: Just add (concatenate? append?) another urlpatterns: urlpatterns = patterns('project.apps.some_app.views', (r'^some_url/$', 'index'), ) urlpatterns += patterns('project.apps.another_app.views', (r'^another_url/$', 'index'), ) Thanks! I was actually thinking of this m

Re: Mixing prefixes in one urlconf

2006-01-21 Thread Julio Nobrega
Just add (concatenate? append?) another urlpatterns: urlpatterns = patterns('project.apps.some_app.views', (r'^some_url/$', 'index'), ) urlpatterns += patterns('project.apps.another_app.views', (r'^another_url/$', 'index'), ) This is from my newest project: urlpatterns = patterns('',

Re: Mixing prefixes in one urlconf

2006-01-21 Thread Adrian Holovaty
On 1/21/06, Maniac <[EMAIL PROTECTED]> wrote: > I have an urlconf file in my app with a convinient prefix to my view > functions: > > urlpatterns = patterns('project.apps.app_name.views', > (r'$', 'index', None), > ... > ) > > Now I want to use generic views in the same app and the prefix to m