Commit bf6bb659 authored by Claude Paroz's avatar Claude Paroz

Refs #122 - [api] Expose the archived property in the module view

parent 4101aa03
Pipeline #53205 failed with stage
in 1 minute and 32 seconds
......@@ -58,7 +58,7 @@ class ModuleView(SerializeObjectView):
def fields(self):
return [
f.name for f in Module._meta.get_fields()
if not f.one_to_many and f.name not in ['id', 'archived']
if not f.one_to_many and f.name != 'id'
]
def get_object(self):
......
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