Skip to content

Commit

Permalink
config: Allow more fields in forms
Browse files Browse the repository at this point in the history
We have prescriber organizations with more thant 250 members
Each memberships make 3 to 5 fields in the form, so we are over 1000
fields.
This is eaiser than refactoring the admin to mitigate the problem
  • Loading branch information
tonial committed Feb 12, 2025
1 parent 9cb4a26 commit 4ff8819
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,3 +749,7 @@

# Github
API_GITHUB_BASE_URL = "https://api.github.com"

# Allow more params in POST/GET
# We have prescriber organizations with more thant 250 members, so the admin form has too many params
DATA_UPLOAD_MAX_NUMBER_FIELDS = 1500

0 comments on commit 4ff8819

Please sign in to comment.