-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
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
-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
3 matches
Mail list logo