Update cabinets and document_index api views docstrings. Update multi level docstrings as per Python best practices.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
f44fbe5687
commit
de65d96fe2
@@ -48,7 +48,6 @@ class ExtraContextMixin(object):
|
||||
"""
|
||||
Mixin that allows views to pass extra context to the template
|
||||
"""
|
||||
|
||||
extra_context = {}
|
||||
|
||||
def get_extra_context(self):
|
||||
@@ -64,7 +63,6 @@ class FormExtraKwargsMixin(object):
|
||||
"""
|
||||
Mixin that allows a view to pass extra keyword arguments to forms
|
||||
"""
|
||||
|
||||
form_extra_kwargs = {}
|
||||
|
||||
def get_form_extra_kwargs(self):
|
||||
@@ -123,7 +121,6 @@ class MultipleObjectMixin(object):
|
||||
"""
|
||||
Mixin that allows a view to work on a single or multiple objects
|
||||
"""
|
||||
|
||||
model = None
|
||||
object_permission = None
|
||||
pk_list_key = 'id_list'
|
||||
@@ -184,7 +181,6 @@ class ObjectActionMixin(object):
|
||||
"""
|
||||
Mixin that performs an user action to a queryset
|
||||
"""
|
||||
|
||||
success_message = 'Operation performed on %(count)d object'
|
||||
success_message_plural = 'Operation performed on %(count)d objects'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user