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