-----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/polls/',include('mysite.polls.urls')),
     (r'^test/cvh/',include('mysite.cvh.urls')),
    # Uncomment this for admin:
     (r'^test/admin/', include('django.contrib.admin.urls')),
)
mysite.cvh.urls:
from django.conf.urls.defaults import *

urlpatterns = patterns('mysite.cvh.views',
 (r'^$','index'),
 (r'^login/$','login'),
)

according to the documentation {% url cvh.view.login %} should render to
/test/cvh/login/

but it renders to /test/cvh/
even {% url blablupp %} renders to /test/cvh/

what am I doing wrong?..

mfg Paul Rauch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iQIVAwUBRf7jIRG67lyyQrltAQJg2hAAlZfrsyedgnwfrl1DGvyaMGwtO9gi9X63
3seW4H0xQJpAPzfZzdFR+AEnConM3cgWXuSle/HOJ7jzHrjNhNgp/+/M2xZNnnCo
iG5aDMLpxjMdJaobA4OwAGFDlFKviD62MzEgQNSV0wGXJSfZJB15vJFbofNcM5lT
HpCtTDDHFwhqys6O2uy8I/SHe/KosqigjXCxaTLxvymIuyftQYH70zEFRfEQz8Cz
G+0aYI6kGuScDvoIWxaEZy5DUI6vDj+hoM+0YopnRPsqjmml74Ik6sBTFEDdc3LU
ZdZuQD72xCe+ARdqTmPmYf4G3d8vkjb99Eco4+HpznhTyJU2Qt41uM+8SJfsu2F2
gNTgeE0F5CyiI/qIcpLGV8x2dtfaW7+AL3BKcCHl1KVfnO1iwvUbctG0TltCTDrn
a5mXpYlOIIFpwDKx4OGUVR2B5u6rFiRRyd2tidj/DRlSmFNzTTzVsTt0mLFtPuHU
ij+itGS8TGlmJu2nqSl+F03Z1V40HyRaIiNdwR43G83TLHQNzCZhX1QeAJRlgttm
A8YY+uJ1r5GGmfDtXwvHISWv19oMf7BwfaKgvbR6hnghdBz8zXMPU0m6JpE8gd9U
9LlPtV+QM95uxBfsQ7u5ztGiXh9a5+BBh4JmdItNp7+QypE/MC7Lbi4DCAdg9dQF
v25lYo9ZLMQ=
=Cpw1
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to