django.urls.get_callable - python examples

Here are the examples of the python api django.urls.get_callable taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

0 View Complete Implementation : csrf.py
Copyright MIT License
Author : bpgc-cte
def _get_failure_view():
    """
    Returns the view to be used for CSRF rejections
    """
    return get_callable(settings.CSRF_FAILURE_VIEW)

0 View Complete Implementation : csrf.py
Copyright MIT License
Author : rizwansoaib
def _get_failure_view():
    """Return the view to be used for CSRF rejections."""
    return get_callable(settings.CSRF_FAILURE_VIEW)