Re: pattern matching wrong app ???

2013-09-04 Thread mmrs151
I would remove the first url and see if it is still taking me to demoproj. On Tuesday, 3 September 2013 14:18:49 UTC+1, bab mis wrote: > > I have 2 app inside my django project: > > url(r'^demoproj/$', include('demoproj.urls')), > > url(r'^sample/$', include('sample.urls')), > > >

Re: pattern matching wrong app ???

2013-09-04 Thread pa xapy
you shouldn't use "$" in the include patterns > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this

Re: pattern matching wrong app ???

2013-09-04 Thread DJ-Tom
did you try XX84/sample*/* (trailing "/")? You might also get more answers if you show the content of "demoproj.urls" and "sample.urls" Am Dienstag, 3. September 2013 15:18:49 UTC+2 schrieb bab mis: > > I have 2 app inside my django project: > > url(r'^demoproj/$',

pattern matching wrong app ???

2013-09-03 Thread bab mis
I have 2 app inside my django project: url(r'^demoproj/$', include('demoproj.urls')), url(r'^sample/$', include('sample.urls')), XX84/sample always redirects to demoproj. Any idea why??? -- You received this message because you are subscribed to the Google Groups "Django