Commit 2fbb797a authored by maxime's avatar maxime
parent 1f78da57
......@@ -205,7 +205,7 @@ class ActionGroup(Model):
auto_author = 'author'
serializer_fields = ['@id','videourl','videotitle','calltitle','callcontent','callmoreinfo','supported_group','twitter_content','name', 'related_text', 'author','pressreleasetitle','pressreleasecontent','jugementmaj','signuplink','instagram','twitter','facebook', 'objective','actiondate','endactiondate','actioninfolink', 'description', 'theme', 'frequency','linkcollabtext','electedofficialemailsubject', 'electedofficialemailtext', 'representatives', 'members', 'actiongroups', 'loomios', 'conversation', 'address', 'city', 'postcode', 'lat', 'lng', 'events','org_actions']
nested_fields=[ "author",'supported_group','related_text', "representatives", "loomios", "actiongroups", "conversation", "members", "events",'org_actions']
anonymous_perms = ['view']
anonymous_perms = ['view','add']
authenticated_perms = ['inherit', 'add']
owner_perms = ['inherit', 'change', 'control', 'delete']
owner_field = 'author'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment