mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 02:06:03 +02:00
Update csv_export.py
This commit is contained in:
parent
e9d0a54251
commit
5f5ca0b780
1 changed files with 13 additions and 1 deletions
|
@ -1097,6 +1097,12 @@ class DomainDataFull(DomainExport):
|
||||||
# pulling the wrong data.
|
# pulling the wrong data.
|
||||||
# For example, the portfolio name, rather than the suborganization name.
|
# For example, the portfolio name, rather than the suborganization name.
|
||||||
# This can be removed after that gets fixed.
|
# This can be removed after that gets fixed.
|
||||||
|
# The following fields are changed from DomainExport:
|
||||||
|
# converted_organization_name => organization_name
|
||||||
|
# converted_city => city
|
||||||
|
# converted_state_territory => state_territory
|
||||||
|
# converted_so_name => so_name
|
||||||
|
# converted_so_email => senior_official__email
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_fields(cls, model):
|
def get_fields(cls, model):
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
|
@ -1207,10 +1213,16 @@ class DomainDataFederal(DomainExport):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# NOTE - this override is temporary.
|
# NOTE - this override is temporary.
|
||||||
# We are running into a problem where DomainDataFederal is
|
# We are running into a problem where DomainDataFull is
|
||||||
# pulling the wrong data.
|
# pulling the wrong data.
|
||||||
# For example, the portfolio name, rather than the suborganization name.
|
# For example, the portfolio name, rather than the suborganization name.
|
||||||
# This can be removed after that gets fixed.
|
# This can be removed after that gets fixed.
|
||||||
|
# The following fields are changed from DomainExport:
|
||||||
|
# converted_organization_name => organization_name
|
||||||
|
# converted_city => city
|
||||||
|
# converted_state_territory => state_territory
|
||||||
|
# converted_so_name => so_name
|
||||||
|
# converted_so_email => senior_official__email
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_fields(cls, model):
|
def get_fields(cls, model):
|
||||||
FIELDS = {
|
FIELDS = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue