-
Notifications
You must be signed in to change notification settings - Fork 187
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
Chapter8 Reverse for 'show_category' with arguments.. #61
Comments
hi Libincia, what version of Django are you using? Also, what is the url that was entered to trigger this error? i.e http://127.0.0.1:8000/rango/category/broken/ ?? L |
my django version is : 1.9.10 and i've already followed your django's version
{% block sidebar_block %}
{% get_category_list %}
{% endblock %}
when i entered http://127.0.0.1:8000/rango/about ==> it occured the error Reverse for 'show_category' with arguments/.. |
Ok, so it is not the version (as Django 2 changed the package to import for reverse).
Do you have a link to your git repository?
… On 17 Apr 2018, at 11:02, libincla ***@***.***> wrote:
my django version is : 1.9.10 and i've already followed your django's version
and
when i added the rango_template_tags.py and rango/cats.html and added the template tags at the head of base.html , e.x
{% block sidebar_block %} {% get_category_list %} {% endblock %}
when i entered http://127.0.0.1:8000/rango/about <http://127.0.0.1:8000/rango/about> ==> it occured the error Reverse for 'show_category' with arguments/..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#61 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AB02B-BbPJpVUFHrC0Cuypzx0ckZtYJdks5tpb3TgaJpZM4TV0Mn>.
|
i'll push in two days, thanks any way |
hi, leifos, sorry for delay , this is the git repo https://github.com/libincla/tango.git btw. my python version is Python 3.6.1 use the virtualenv |
The same here. |
here is my code(btw, i was completed fork by your digital book )
and it occured the error like the bottom
django.core.urlresolvers.NoReverseMatch: Reverse for 'show_category' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['rango/category/(?P<category_name_slug>[\w\-]+)/$']
it confused me three days, i don't know why it happend, and i hope the writer can see it.
thanks anyway
The text was updated successfully, but these errors were encountered: