django-model-urls icon indicating copy to clipboard operation
django-model-urls copied to clipboard

[QUESTION] is this app compatible with django-jinja (since jingo is deprecated)?

Open eugenio opened this issue 8 years ago • 0 comments

As per the question is this app compatible with django-jinja app (link) ? If yes I'm not able to use the url tag:

in my content.html:

{% for item in list_of_adv %} href="{{url('traits' traits=item)}}">{{item.name}} {% endfor %}

in my views.py

def traits(request): model_reverse('traits', traits)

in my urls.py

url(r'^traits/(?P<name>.+)|(?P<unique_id>.+)/$', views.traits, name='traits'),

and I have a traits.jinja partial. But i get a template error in the view where the url tag is... Any thoughts?

eugenio avatar Aug 17 '17 07:08 eugenio