class Meta: authentication = AppAuthentication() authorization = MozillaOfficialAuthorization() list_allowed_methods = ['get'] serializer = Serializer(formats=['json', 'jsonp']) paginator_class = Paginator include_resource_uri = False detail_allowed_methods = [] cache_control = {'max-age': 0}
class Meta: authentication = AppAuthentication() authorization = MozillaOfficialAuthorization() cache_control = {'max-age': 0} list_allowed_methods = ['get'] detail_allowed_methods = ['get'] paginator_class = Paginator serializer = Serializer(formats=['json', 'jsonp']) fields = ['id', 'name', 'number_of_members'] ordering = ['id', 'name', 'number_of_members'] default_order = ['id']
class Meta: queryset = UserProfile.objects.all() authentication = AppAuthentication() authorization = MozillaOfficialAuthorization() serializer = Serializer(formats=['json', 'jsonp', 'xml']) paginator_class = Paginator cache_control = {'max-age': 0} list_allowed_methods = ['get'] detail_allowed_methods = ['get'] resource_name = 'users' restrict_fields = False restricted_fields = ['email', 'is_vouched'] fields = []
class Meta: queryset = UserProfile.objects.all() authentication = AppAuthentication() authorization = MozillaOfficialAuthorization() serializer = Serializer(formats=['json', 'jsonp']) paginator_class = Paginator cache_control = {'max-age': 0} list_allowed_methods = ['get'] detail_allowed_methods = ['get'] resource_name = 'users' restrict_fields = False restricted_fields = ['email', 'is_vouched'] fields = ['id', 'full_name', 'is_vouched', 'website', 'vouched_by', 'date_vouched', 'groups', 'skills', 'languages', 'bio', 'photo', 'ircname', 'country', 'region', 'city', 'date_mozillian', 'timezone', 'email', 'allows_mozilla_sites', 'allows_community_sites']