Skip to content

Commit

Permalink
Configure a data upload max
Browse files Browse the repository at this point in the history
  • Loading branch information
tudoramariei committed Feb 19, 2024
1 parent b76049c commit 3a160e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/redirectioneaza/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
# Django settings
DEBUG=(bool, False),
ENVIRONMENT=(str, "production"),
DATA_UPLOAD_MAX_NUMBER_FIELDS=(int, 1000),
# db settings
DATABASE_ENGINE=(str, "sqlite3"),
DATABASE_NAME=(str, "default"),
Expand Down Expand Up @@ -117,6 +118,8 @@
DEBUG = env.bool("DEBUG")
ENVIRONMENT = env.str("ENVIRONMENT")

DATA_UPLOAD_MAX_NUMBER_FIELDS = env.int("DATA_UPLOAD_MAX_NUMBER_FIELDS")

# superuser/admin seed data
DJANGO_ADMIN_PASSWORD = env.str("DJANGO_ADMIN_PASSWORD", None)
DJANGO_ADMIN_EMAIL = env.str("DJANGO_ADMIN_EMAIL", None)
Expand Down

0 comments on commit 3a160e4

Please sign in to comment.