Jump to >

djblets.webapi.resources.group

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.

model[source]

alias of django.contrib.auth.models.Group

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