Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting for login/logout redirect view #11

Merged
8 commits merged into from
Oct 24, 2012
Merged

Setting for login/logout redirect view #11

8 commits merged into from
Oct 24, 2012

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2012

The 'fitbit' named URL and associated view and template have been removed in favor of redirecting to:

  1. The GET['next']/session['fitbit_next'] URL, if it is available, or
  2. FITAPP_LOGIN_REDIRECT or`FITAPP_LOGOUT_REDIRECT`` defined in settings.

The fitbit_required decorator has been renamed to fitbit_integration_warning. It has also been refactored to accept a message argument, which defaults to FITAPP_DECORATOR_MESSAGE defined in settings.

Also included additional tests & a .coveragerc file.


The template used to prompt the user to integrate their Fitbit.
The URL to which to redirect the user after successful Fitbit integration, if
no 'next' URL is known.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"to which to redirect the user" seems kind of awkward, to me anyway. We could say "which the user is redirected to"?

Could we say something about how Fitapp would know a 'next' URL?

@poirier
Copy link

poirier commented Oct 24, 2012

:shipit:

ghost pushed a commit that referenced this pull request Oct 24, 2012
Setting for login/logout redirect view
@ghost ghost merged commit e3c88a4 into master Oct 24, 2012
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant