X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/99ff7cb43e460029b1769fc21f704b7614381cf1..0f8837242d2fc8e1477590f7a8d54225e1e8b9e1:/menu/helpers.py diff --git a/menu/helpers.py b/menu/helpers.py index 2a5df9d..e22bb97 100755 --- a/menu/helpers.py +++ b/menu/helpers.py @@ -35,7 +35,7 @@ class ObjectMenuItem(MenuItem): @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: