@@ -0,0 +1,1840 @@
+%22%22%22Models for Magpy server application.%0A%0AMany of these are designed to have custom fields and therefore%0Ait is not possible to validate them in the normal way.%0A%0AThe primary use of _model and _settings to give them custom fields.%0A%0A_user and_group do not need custom fields, but they are often useful,%0Aso nothing in Magpy stops applications from adding them.%0A%0A%22%22%22%0A%0AMODELS = (%0A    %7B%0A        '_id': '_model',%0A        '_model': '_model',%0A        'modeldescription': 'A resource type definition.',%0A        %7D,%0A    %7B%0A        '_id': '_history',%0A        '_model': '_model',%0A        'modeldescription': 'A version of a resource instance.',%0A        'document_id': %7B%0A            'field': 'Char',%0A            %7D,%0A        'document': %7B%0A            'field': 'Char',%0A            %7D,%0A        'operation': %7B%0A            'field': 'Char',%0A            %7D,%0A        'comment': %7B%0A            'field': 'Char',%0A            'required': False,%0A            %7D%0A        %7D,%0A    %7B%0A        '_id': '_settings',%0A        '_model': '_model',%0A        'modeldescription': 'Site specific settings.',%0A        %7D,%0A    %7B%0A        '_id': '_user',%0A        '_model': '_model',%0A        'modeldescription': 'A user',%0A        'email': %7B%0A            'field': 'Email',%0A            %7D,%0A        'name': %7B%0A            'field': 'Char',%0A            'required': False,%0A            %7D,%0A        'first_name': %7B%0A            'field': 'Char',%0A            'required': False,%0A            %7D,%0A        'last_name': %7B%0A            'field': 'Char',%0A            'required': False,%0A            %7D,%0A        'locale': %7B%0A            'field': 'Char',%0A            'required': False,%0A            %7D,%0A        %7D,%0A    %7B%0A        '_id': '_group',%0A        '_model': '_model',%0A        'modeldescription': 'A group of users',%0A        'members': %7B%0A            'field': 'List',%0A            'required': False,%0A            %7D,%0A        %7D,%0A    )%0A

Add _group to server models.