Wednesday, September 4, 2013

Re: pattern matching wrong app ???

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')),


XXXXXX84/sample always redirects to demoproj. Any idea why???

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment