Update csv_export.py

This commit is contained in:
zandercymatics 2024-07-16 11:26:25 -06:00
parent 728a248d91
commit c5654abd7e
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -273,11 +273,6 @@ class DomainExport(BaseExport):
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
def model(cls):
# 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
"""
@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
def get_filter_conditions(cls, request=None):
"""
@ -568,7 +558,6 @@ class DomainDataTypeUser(DomainDataType):
return Q(id__in=domain_ids)
class DomainDataFull(DomainExport):
"""
Shows security contacts, filtered by state