mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 17:01:56 +02:00
Merge pull request #2576 from cisagov/rjm/2539-automated-export-bug
Issue #2539: Fix reference to csv export functions in auto export command file
This commit is contained in:
commit
f5295be6b5
1 changed files with 3 additions and 3 deletions
|
@ -58,17 +58,17 @@ class Command(BaseCommand):
|
|||
reports = {
|
||||
"Domain report": {
|
||||
"report_filename": f"domain-metadata-{self.current_date}.csv",
|
||||
"report_function": csv_export.export_data_type_to_csv,
|
||||
"report_function": csv_export.DomainDataType.export_data_to_csv,
|
||||
},
|
||||
"Domain request report": {
|
||||
"report_filename": f"domain-request-metadata-{self.current_date}.csv",
|
||||
"report_function": csv_export.DomainRequestExport.export_full_domain_request_report,
|
||||
"report_function": csv_export.DomainRequestDataFull.export_data_to_csv,
|
||||
},
|
||||
}
|
||||
|
||||
# Set the password equal to our content in SECRET_ENCRYPT_METADATA.
|
||||
# For local development, this will be "devpwd" unless otherwise set.
|
||||
# Uncomment these lines if you want to use this:
|
||||
# Uncomment these lines (and comment out the line after) if you want to use this:
|
||||
# override = settings.SECRET_ENCRYPT_METADATA is None and not settings.IS_PRODUCTION
|
||||
# password = "devpwd" if override else settings.SECRET_ENCRYPT_METADATA
|
||||
password = settings.SECRET_ENCRYPT_METADATA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue