dancerfly / django-brambling

Event website manager, specifically designed for dance weekends or other events with multiple simultaneous tracks of classes.
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

Make all user views that require login redirect to login for unauthenticated users #961

Open melinath opened 4 years ago

melinath commented 4 years ago

In general, users shouldn't end up on these pages without being logged in; however, if they do, we should redirect them to the login page using the login_required decorator rather than the current behavior (giving a 404.) That would be a better user experience.

While we're at it, we should add tests that verify this behavior, and ensure that all the user views behave this way.