Skip to content

Commit

Permalink
Merge pull request #259 from wilsonc86/master
Browse files Browse the repository at this point in the history
wildlifelicensing data upload settings
  • Loading branch information
dbca-asi committed Feb 20, 2018
2 parents 51fb936 + 712fece commit 602cd85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wildlifelicensing/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@

# next setting is necessary to resolve absolute URL for the emails sent by the tasks running in cron.
DEFAULT_HOST = env('DEFAULT_HOST', "https://wildlifelicensing.dpaw.wa.gov.au")
DATA_UPLOAD_MAX_NUMBER_FIELDS = env('DATA_UPLOAD_MAX_NUMBER_FIELDS', None)
#set data_upload_max params, otherwise use django default values
DATA_UPLOAD_MAX_NUMBER_FIELDS = env('DATA_UPLOAD_MAX_NUMBER_FIELDS', 1000)
DATA_UPLOAD_MAX_MEMORY_SIZE = env('DATA_UPLOAD_MAX_MEMORY_SIZE', 2621440) #2.5 MB
WL_PDF_URL=env('WL_PDF_URL','https://wildlifelicensing.dpaw.wa.gov.au')

EMAIL_FROM = env('EMAIL_FROM', ADMINS[0])
Expand Down

0 comments on commit 602cd85

Please sign in to comment.