django-dashing icon indicating copy to clipboard operation
django-dashing copied to clipboard

403 Forbidden

Open bash-j opened this issue 8 years ago • 0 comments

Hi,

Following the documentation, I have added the IsAuthenticated permission to the configuration. How do I set the redirect to login setting so that an unauthenticated user is redirected to my site's login page?

# settings for django-dashing dashboard
DASHING = {
    'INSTALLED_WIDGETS': ('number', 'list', 'graph', 'clock', 'knob', ),
    'PERMISSION_CLASSES':  (
        'dashing.permissions.IsAuthenticated',
    )
}

bash-j avatar Nov 29 '16 01:11 bash-j