google-code-export / django-treemenus

Automatically exported from code.google.com/p/django-treemenus
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Missing slash in admin template causes error #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. There is a missing slash on in the
treemenus/templates/admin/treemenus/edit_menu.html on line 56 which causes
an error (e.g., an SQL error that 1/items/2 is not a valid integer)
2. The lack of slash causes Django not to resolve to the URL in
treemenus.admin_urls

What is the expected output? What do you see instead?
The Menu Item should be editable by clicking the link. INstead, I get an
SQL Error

Please provide any additional information below.
The line 56 in treemenus/templates/admin/treemenus/edit_menu.html

is currently like:
<a href="items/{{ menu_item.pk }}">

But should be corrected to:
<a href="items/{{ menu_item.pk }}/">

Original issue reported on code.google.com by rajeev.s...@gmail.com on 27 Feb 2008 at 6:43

GoogleCodeExporter commented 9 years ago
Thanks for that, I've made the change.

Original comment by jipe...@gmail.com on 4 Mar 2008 at 11:01

GoogleCodeExporter commented 9 years ago

Original comment by jipe...@gmail.com on 4 Mar 2008 at 11:01