Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eugenio opened this issue Aug 17, 2017 · 0 comments

Comments

@eugenio
Copy link

eugenio commented Aug 17, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant