Skip to content

Commit

Permalink
feat(models): add BSyncr sample data example
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenliz22 committed Jun 2, 2021
1 parent 1fad991 commit f719af9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions seed/tests/data/property_sample_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@
"state": "Oregon",
"postal_code": 80401,
"year_built": 1975,
"latitude": 45.4441146,
"longitude": -122.383320,
"site_eui": 82.3,
"gross_floor_area": 296432,
"owner": "Econohomes",
Expand Down
2 changes: 1 addition & 1 deletion seed/views/v3/organizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,7 @@ def insert_sample_data(self, request, pk=None):
import_record = ImportRecord.objects.create(name='Auto-Populate', super_organization=org)

# Interval Data
filename = 'example-pm-monthly-meter-usage.xlsx'
filename = 'PM Meter Data 12.xlsx'
filepath = f"{Path(__file__).parent.absolute()}/data/{filename}"

import_meterdata = ImportFile.objects.create(
Expand Down

0 comments on commit f719af9

Please sign in to comment.