(self, model)
return self._default_view_name % format_kwargs
Return the view name to use if 'view_name' is not specified in 'Meta'
Return the view name to use if 'view_name' is not specified in 'Meta'
Return the view name to use if view_name is not specified in Meta
def _get_default_view_name(self, model):
        """
        Return the view name to use if 'view_name' is not specified in 'Meta'
        """
        model_meta = model._meta
        format_kwargs = {
            'app_label': model_meta.app_label,
            'model_name': model_meta.object_name.lower()
        }
        return self._default_view_name % format_kwargs
def _get_default_view_name ( self , model ) : model_meta = model . _meta format_kwargs = { 'app_label' : model_meta . app_label , 'model_name' : model_meta . object_name . lower ( ) } return self . _default_view_name % format_kwargs