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

Make accept-invite viewname configurable in django settings #108

Closed
wants to merge 1 commit into from
Closed

Make accept-invite viewname configurable in django settings #108

wants to merge 1 commit into from

Conversation

BartoszCki
Copy link
Contributor

This change allows to change the invitation link using Django settings

@coveralls
Copy link

coveralls commented Jun 21, 2018

Coverage Status

Coverage decreased (-1.5%) to 37.579% when pulling a36f341 on BartoszCki:make-accept-invite-viewname-configurable into 22f9701 on bee-keeper:master.

@@ -98,5 +98,12 @@ def ADMIN_CHANGE_FORM(self):
"invitations.forms.InvitationAdminChangeForm"
)

@property
def COMFIRMATION_VIEWNAME(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we call it CONFIRMATION_URL_NAME since it's the name of the URL pattern we are referring to?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've removed the source repository a long time ago and can't find a way to update this PR. I guess I'll have to create a new branch and new PR

Copy link
Contributor

Choose a reason for hiding this comment

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

Roger that - maybe you can use the .patch as a starting point: https://github.com/jazzband/django-invitations/pull/108.patch

@valberg
Copy link
Contributor

valberg commented Mar 31, 2022

@BartoszCki Let us get this in! Can you deal with the conflicts and rename the setting as per my comment?

@BartoszCki
Copy link
Contributor Author

Created new PR with the same changes
#177

@BartoszCki BartoszCki closed this Mar 31, 2022
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

3 participants