apis_core.uris.views#

Module Contents#

Classes#

CreateUriToObjectView

A view that allows to attach a new Uri instance to an object

API#

class apis_core.uris.views.CreateUriToObjectView(**kwargs)#

Bases: django.contrib.auth.mixins.PermissionRequiredMixin, django.views.generic.edit.FormView

A view that allows to attach a new Uri instance to an object

Initialization

Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.

template_name = 'uris/create_uri_to_object.html'#
form_class = None#
get_permission_required()#
setup(*args, **kwargs)#
get_context_data(**kwargs)#
form_valid(form)#
get_success_url()#