Kevin Howe wrote:
I am trying to access the PARENT of an object in a python class of mine.
I want to use the absolute_url() of the parent in a variable.
I though it could be done the following way, but got an error:
parent=self.PARENTS[0]
aurl = parent.absolute_url()
I then
I am trying to access the PARENT of an object in a python class of mine.
I want to use the absolute_url() of the parent in a variable.
I though it could be done the following way, but got an error:
parent=self.PARENTS[0]
aurl = parent.absolute_url()
I then tried using REQUEST. It
Kevin Howe wrote:
I am trying to access the PARENT of an object in a python class of mine.
I want to use the absolute_url() of the parent in a variable.
I though it could be done the following way, but got an error:
parent=self.PARENTS[0]
aurl = parent.absolute_url()
I