talpor / django-dashing

django-dashing is a customisable, modular dashboard application framework for Django to visualize interesting data about your project. Inspired in the dashboard framework Dashing
BSD 3-Clause "New" or "Revised" License
731 stars 108 forks source link

403 Forbidden #71

Open bash-j opened 7 years ago

bash-j commented 7 years ago

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',
    )
}