Re: problem with template {% url string %}

2007-03-20 Thread Paul Rauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan Sagalaev schrieb: > Paul Rauch wrote: >> Template: >> {% url cvh.view.login %} > > Here you have "view". > >> urlpatterns = patterns('mysite.cvh.views', >> (r'^$','index'), >> (r'^login/$','login'), >> ) > > And here you have "views". {% url

Re: problem with template {% url string %}

2007-03-19 Thread Ivan Sagalaev
Paul Rauch wrote: > Template: > {% url cvh.view.login %} Here you have "view". > urlpatterns = patterns('mysite.cvh.views', > (r'^$','index'), > (r'^login/$','login'), > ) And here you have "views". {% url %} doesn't find your pattern and returns '' (empty string) that browser translates to

problem with template {% url string %}

2007-03-19 Thread Paul Rauch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hello users, I've a problem with the template"function" url: http://www.djangoproject.com/documentation/templates/#url Template: {% url cvh.view.login %} mysite.urls: from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^test