mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-21 16:51:08 +02:00
Update csv_export.py
This commit is contained in:
parent
728a248d91
commit
c5654abd7e
1 changed files with 0 additions and 11 deletions
|
@ -273,11 +273,6 @@ class DomainExport(BaseExport):
|
||||||
Second class in an inheritance tree of 3.
|
Second class in an inheritance tree of 3.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def export_data_to_csv(cls, csv_file, start_date=None, end_date=None):
|
|
||||||
"""Pass in the start_date and end_date variables to the report"""
|
|
||||||
super().export_data_to_csv(csv_file, start_date=start_date, end_date=end_date)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def model(cls):
|
def model(cls):
|
||||||
# Return the model class that this export handles
|
# Return the model class that this export handles
|
||||||
|
@ -553,11 +548,6 @@ class DomainDataTypeUser(DomainDataType):
|
||||||
The DomainDataType report, but sliced on the current request user
|
The DomainDataType report, but sliced on the current request user
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@classmethod
|
|
||||||
def export_data_to_csv(cls, csv_file, request=None):
|
|
||||||
"""Pass in the start_date and end_date variables to the report"""
|
|
||||||
super().export_data_to_csv(csv_file, request=request)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_filter_conditions(cls, request=None):
|
def get_filter_conditions(cls, request=None):
|
||||||
"""
|
"""
|
||||||
|
@ -568,7 +558,6 @@ class DomainDataTypeUser(DomainDataType):
|
||||||
return Q(id__in=domain_ids)
|
return Q(id__in=domain_ids)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class DomainDataFull(DomainExport):
|
class DomainDataFull(DomainExport):
|
||||||
"""
|
"""
|
||||||
Shows security contacts, filtered by state
|
Shows security contacts, filtered by state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue