Answering my own question, for the case someone else need it:
I am used to use render_to_response it not working with it, with using
render it works with applying current_app, like this:
return render(request, 'myaddons/index.html',
{'addons':addons,'game':game,},current_app=request.resolver_
Hello,
writing currently an app which should show different things based on
namespace which is working already, but I do have problems with
generating the right url inside the templates of that app.
I tried to use:
{% url 'myaddons:index' %}
but that always shows the same namespace url the las
2 matches
Mail list logo