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

#385 fix document error response to redirect to main page "project" or "contract" #442

Merged
merged 5 commits into from
Aug 7, 2023

Conversation

nirmeen
Copy link
Collaborator

@nirmeen nirmeen commented Aug 4, 2023

Adding new document to project or contract behaviour
Previously: it was returning json response with error message
currently: it returns to main page "project" or "contract" and displays a flash message with the error

In this pull request, there is also a fix for packages that cause python2 dependency error.

nirmeen and others added 3 commits August 4, 2023 16:12
Sending JsonResponse when request is ajax to display error messages in Form;
Querying ContentType to get object name instead of providing it to url
@Fancien Fancien removed their assignment Aug 7, 2023
@nirmeen nirmeen merged commit 852addd into develop Aug 7, 2023
1 check passed
@vildead vildead deleted the 385-fix-document-error-response branch July 10, 2024 09:19
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.

5 participants