app/soc/views/helper/access.py
changeset 2020 df3552deba66
parent 1995 768f533d91e3
child 2032 b881417db09e
equal deleted inserted replaced
2019:90285a09e26e 2020:df3552deba66
  1368 
  1368 
  1369     Args:
  1369     Args:
  1370       django_args: a dictionary with django's arguments
  1370       django_args: a dictionary with django's arguments
  1371       logic: the logic that should be used to fetch the entity
  1371       logic: the logic that should be used to fetch the entity
  1372       field_name: the name of the field the entity uses to store it's owner
  1372       field_name: the name of the field the entity uses to store it's owner
  1373       user: whether the entity stores the user's key name, or a reference
  1373       user: true iff the entity stores the user's reference, false iff keyname
  1374     """
  1374     """
  1375 
  1375 
  1376     self.checkIsUser(django_args)
  1376     self.checkIsUser(django_args)
  1377 
  1377 
  1378     fields = {
  1378     fields = {