fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix get_here_url on 404.
[prawokultury.git]
/
menu
/
helpers.py
diff --git
a/menu/helpers.py
b/menu/helpers.py
index
2a5df9d
..
e22bb97
100755
(executable)
--- a/
menu/helpers.py
+++ b/
menu/helpers.py
@@
-35,7
+35,7
@@
class ObjectMenuItem(MenuItem):
@property
def get_url(self):
@property
def get_url(self):
- return self.url or self.
get_obj()
.get_absolute_url()
+ return self.url or self.
obj
.get_absolute_url()
def is_active(self, request, value):
if value == self.obj:
def is_active(self, request, value):
if value == self.obj: