Jump to >

This documentation covers Djblets 2.0. You can see the latest Djblets documentation or all other versions.


Built-in resource representing the Group model.

class GroupResource[source]

Bases: djblets.webapi.resources.base.WebAPIResource

A default resource for representing a Django Group model.


alias of django.contrib.auth.models.Group

fields = (u'id', u'name')[source]
uri_object_key = u'group_name'[source]
uri_object_key_regex = u'[A-Za-z0-9_\\-]+'[source]
model_object_key = u'name'[source]
autogenerate_etags = True[source]
allowed_methods = (u'GET',)[source]