Closed luzfcb closed 10 years ago
Try without quotes (``{% breadcrumb_for myapp:make_magic %}), parser doesn't expect them there
is this on django 1.6.1 or some older version?
django 1.6.1
I've made demo app but I can't reproduce it, can you try it? Check if it matches your code and templates. Quotes shouldn't matter.
After that curl gives me:
$ curl http://localhost:8000/myapp/about
= BEGIN =
<ul class="breadcrumb">
<li>
<a href="/myapp/about">
Make Magic
</a>
<span class="divider">/</span>
</li>
<li>
<a href="/myapp/about">
Make Magic 2
</a>
<span class="divider">/</span>
</li>
<li>
Home
</li>
</ul>
= END =
Is this issue still present?
No response so I'm closing this one, if you still have any issues just let me know, thanks
bootstrap_for
template tag does not support named view with namespacemyapp urls.py
project urls.py
on template:
The result is an incorrect url. The generated code is:
the django url template tag can properly resolve this url. I suppose that perhaps part of the code solves the url, could be replaced by a direct call to the django url template tag