Re: Django template language resolve url

2017-02-22 Thread chris rose
sorry i typed an s in there, here is that code amended > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

Re: Django template language resolve url

2017-02-22 Thread chris rose
hey xyron.. i replied to your other thread your namespace should actually just be links so the answer should be: -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an

Re: Django template language resolve url

2017-02-22 Thread Luvpreet Singh
Iudovic is right, your syntax is wrong. use {% url 'ytlinks:save_ytlinks' %} the original syntax is , {% url 'namespace:url_name' arguments %} On Thursday, February 16, 2017 at 9:42:14 PM UTC+5:30, xyron wrote: > > Code hier eingeben... > > Hey there, > > I'm searching since more than 12 hours

Re: Django template language resolve url

2017-02-16 Thread ludovic coues
First, I would make sure all namespace are unique. Then I would try {% url "ytlinks:save_ytlink" %} In 'links.views.save_ytlink', I have no idea what links or views are. You might also want to re-read the documentation on urls namespace and included urlconfs

Django template language resolve url

2017-02-16 Thread xyron
Code hier eingeben... Hey there, I'm searching since more than 12 hours for a solution for my problem and I'm kinda frustrated. I want to use a form and define the link using django template language in a html-file: {% extends "base/header.html" %} {% block content %} Enter