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

Fix redirect of FormValidationMixin to be compliant to standard django: #219

Merged
merged 1 commit into from May 2, 2023

Conversation

christianwgd
Copy link
Contributor

Return class property success_url if exists, if not return value from classes get_success_url method. If that doesn't exist return value from models get_absolute_url method.

If return class property success_url if exists, if not return value from classes get_success_url method. If that doesn't exist return value from models get_absolute_url method.
@trco trco merged commit 25e05c3 into trco:master May 2, 2023
@trco trco added the merged label May 2, 2023
aDramaQueen pushed a commit to aDramaQueen/django-bootstrap-modal-forms that referenced this pull request Nov 30, 2023
…o: (trco#219)

If return class property success_url if exists, if not return value from classes get_success_url method. If that doesn't exist return value from models get_absolute_url method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants