X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/99ff7cb43e460029b1769fc21f704b7614381cf1..7277b3bacb3cd4b16b496abaaf5f1fd133b60a01:/menu/helpers.py?ds=inline 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: