Settings¶
-
popupcrud.views.POPUPCRUD_DEFAULTS¶ django-popupcrud global settings are specified as the dict variable
POPUPCRUDin settings.py.POPUPCRUDcurrently supports the following settings with their default values:base_template: The prjoject base template from which all popupcrud templates should be derived.Defaults to
base.html.page_title_context_variable: Name of the context variable whose value will be set as the title for the CRUD list view page. This title is specified as the value for the class attributeViewSet.page_titleor as the return value ofViewSet.get_page_title().Defaults to
page_title.paginate_by: Default number of rows per page for queryset pagination. This is the same as ListView.paginate_by.Defaults to 10.