django-model-urls
django-model-urls copied to clipboard
[QUESTION] is this app compatible with django-jinja (since jingo is deprecated)?
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?