On 8 sep, 08:20, pk <[email protected]> wrote: > In my template, I have: > > <a href="{% url myapp.views.byname param0 param1 param2 %}">Read More > »</a> > > I'm seeing that the url generated via the url template tag is, eg: > > http://mydomain.com/mysite/param0val/param1val/param2val/ > (snip) > My urls.py contains: > > (r'^(?P<param0>\w+)/(?P<param1>(\w|-)+)/(?P<param2>\d+)(-(\w+))*/ > $', 'myapp.views.byname'), > > Why/how is 'mysite' built into the url ?
Probably has something to do with your settings.py and / or the way you deployed your app. -- 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?hl=en.

