Skip to content

Empty @id on container's generated by Model's method

I have this code, which you should be familiar with now :

def active_actions(self):
    return self.actions.exclude(date__lt=date.today())
User.active_actions=active_actions

Source : https://git.happy-dev.fr/startinblox/applications/risefor-mobilisation/blob/bugfix/%23148/data_manager/models.py#L23

It generated a nested container with an empty @id :

Screenshot_from_2019-07-08_12-26-06

Edited by Ghost User