Yes. \S+/\S+ will match <anything>/<anything>. Since /admin doesn't
contain a slash (other than the leading slash, which isn't considered),
it works fine. But /admin/whatever will get directed to your
tacobakedotnet.dotnet_forms.views.home view because it matches the URL
pattern. An easy fix would be to make sure your admin URL pattern comes
first in the list.

_Nik

On 7/4/2012 3:34 PM, Tomas Neme wrote:
> On Wed, Jul 4, 2012 at 7:33 PM, Tomas Neme <lacrymol...@gmail.com> wrote:
>> ah, got it... your
>>
>>  url(r'^(\S+)/(\S+)', 'tacobakedotnet.dotnet_forms.views.home'),
>>
>> is too permisive
> ...
>
> maybe?
>


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to