X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/99ff7cb43e460029b1769fc21f704b7614381cf1..93b9049920584c8306f8abdda3876f5f99c08025:/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: