From 93a404fcbd57cacbe741240ce4f377a4852200c8 Mon Sep 17 00:00:00 2001 From: kflemin <2205659+kflemin@users.noreply.github.com> Date: Thu, 2 Oct 2025 09:10:47 -0600 Subject: [PATCH 1/4] language update --- bsyncviewer/templates/case_study.html | 4 ++-- bsyncviewer/templates/index.html | 2 +- bsyncviewer/templates/onboarding_content.html | 4 ---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/bsyncviewer/templates/case_study.html b/bsyncviewer/templates/case_study.html index 1100f38..922172b 100644 --- a/bsyncviewer/templates/case_study.html +++ b/bsyncviewer/templates/case_study.html @@ -19,8 +19,8 @@

Overview

What is BETTER?

BETTER is a web-based analysis application for identifying cost-saving - energy and emissions reductions in buildings and portfolios. The tool identifies immediate, - cost-saving operational measures and technology upgrades to reduce energy and emissions while + energy reductions in buildings and portfolios. The tool identifies immediate, + cost-saving operational measures and technology upgrades to reduce energy while prioritizing facilities for more in-depth audits and analysis.

Use Cases
Reviews
-

"At Audette we build roadmaps for large property portfolios to get to carbon neutral. Our analytics are trained +

"At Audette we build roadmaps for large property portfolios ... Our analytics are trained on historic energy, equipment, and audit data. In order to get this data into a usable format we apply the BuildingSync schema. It has helped us to get insights faster, and with more accuracy."

diff --git a/bsyncviewer/templates/onboarding_content.html b/bsyncviewer/templates/onboarding_content.html index 1f63108..8966914 100644 --- a/bsyncviewer/templates/onboarding_content.html +++ b/bsyncviewer/templates/onboarding_content.html @@ -41,10 +41,6 @@

BuildingSync Use Cases

Building EQ Use cases for the ASHRAE’s Building EQ Portal - -GHG Emissions -Use cases for emissions audits - L000 OpenStudio Pre-Simulation Level 000 OpenStudio Pre-Simulation Use Case. In alignment with ASHRAE Standard 211 From 4c3c406299ab4c98fc7d9f646652660c2c260a8a Mon Sep 17 00:00:00 2001 From: kflemin <2205659+kflemin@users.noreply.github.com> Date: Thu, 9 Oct 2025 15:15:24 -0600 Subject: [PATCH 2/4] update to django 3 --- .../migrations/0015_auto_20251009_1840.py | 63 +++++++++++++++++++ bsyncviewer/settings/dev.py | 3 + bsyncviewer/settings/docker.py | 3 + bsyncviewer/settings/gh_actions.py | 3 + bsyncviewer/templates/about.html | 2 +- bsyncviewer/templates/adopters.html | 2 +- bsyncviewer/templates/auditors.html | 2 +- bsyncviewer/templates/base.html | 2 +- bsyncviewer/templates/base2.html | 2 +- .../bsyncviewer/usecase_confirm_delete.html | 2 +- .../templates/bsyncviewer/usecase_form.html | 2 +- bsyncviewer/templates/case_study.html | 2 +- bsyncviewer/templates/collaborators.html | 2 +- bsyncviewer/templates/contact.html | 2 +- bsyncviewer/templates/dictionary.html | 2 +- bsyncviewer/templates/enumerations.html | 2 +- bsyncviewer/templates/faq.html | 2 +- bsyncviewer/templates/implementers.html | 2 +- bsyncviewer/templates/index.html | 2 +- bsyncviewer/templates/mlod.html | 2 +- bsyncviewer/templates/onboarding.html | 2 +- bsyncviewer/templates/practitioners.html | 2 +- bsyncviewer/templates/references.html | 2 +- bsyncviewer/templates/releases.html | 2 +- .../templates/technical_resources.html | 2 +- bsyncviewer/templates/tools.html | 2 +- bsyncviewer/templates/use_cases.html | 2 +- bsyncviewer/templates/validator.html | 2 +- bsyncviewer/templates/validator_results.html | 2 +- requirements.txt | 10 +-- 30 files changed, 102 insertions(+), 30 deletions(-) create mode 100644 bsyncviewer/migrations/0015_auto_20251009_1840.py diff --git a/bsyncviewer/migrations/0015_auto_20251009_1840.py b/bsyncviewer/migrations/0015_auto_20251009_1840.py new file mode 100644 index 0000000..bdeee27 --- /dev/null +++ b/bsyncviewer/migrations/0015_auto_20251009_1840.py @@ -0,0 +1,63 @@ +# Generated by Django 3.2.25 on 2025-10-09 18:40 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bsyncviewer', '0014_attribute_description'), + ] + + operations = [ + migrations.AlterField( + model_name='attribute', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='attributeenumerationclass', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='bedesenumeration', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='bedesenumerationmapping', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='bedesmapping', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='bedesterm', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='enumeration', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='enumerationclass', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='schema', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='usecase', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/bsyncviewer/settings/dev.py b/bsyncviewer/settings/dev.py index 035ec5d..5a69045 100644 --- a/bsyncviewer/settings/dev.py +++ b/bsyncviewer/settings/dev.py @@ -136,6 +136,9 @@ DEFAULT_SCHEMA_VERSION = "2.7.0" +# Default primary key field type for Django 3.2+ +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + with open( os.path.join(os.path.dirname(os.path.dirname(__file__)), "../app_version.txt") ) as v_file: diff --git a/bsyncviewer/settings/docker.py b/bsyncviewer/settings/docker.py index cbd640f..e1dfb29 100644 --- a/bsyncviewer/settings/docker.py +++ b/bsyncviewer/settings/docker.py @@ -151,6 +151,9 @@ DEFAULT_SCHEMA_VERSION = "2.7.0" +# Default primary key field type for Django 3.2+ +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + with open( os.path.join(os.path.dirname(os.path.dirname(__file__)), "../app_version.txt") ) as v_file: diff --git a/bsyncviewer/settings/gh_actions.py b/bsyncviewer/settings/gh_actions.py index 696ed82..cf249b7 100644 --- a/bsyncviewer/settings/gh_actions.py +++ b/bsyncviewer/settings/gh_actions.py @@ -42,6 +42,9 @@ DEFAULT_SCHEMA_VERSION = "2.7.0" +# Default primary key field type for Django 3.2+ +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + with open( os.path.join(os.path.dirname(os.path.dirname(__file__)), "../app_version.txt") ) as v_file: diff --git a/bsyncviewer/templates/about.html b/bsyncviewer/templates/about.html index 8a9519f..48ab84f 100644 --- a/bsyncviewer/templates/about.html +++ b/bsyncviewer/templates/about.html @@ -1,6 +1,6 @@ {% extends 'base2.html' %} -{% load staticfiles %} +{% load static %} {% block title %}About{% endblock title %} diff --git a/bsyncviewer/templates/adopters.html b/bsyncviewer/templates/adopters.html index d496469..0a6bcba 100644 --- a/bsyncviewer/templates/adopters.html +++ b/bsyncviewer/templates/adopters.html @@ -1,6 +1,6 @@ {% extends 'base2.html' %} -{% load staticfiles %} +{% load static %} {% block title %}Adopters{% endblock title %} diff --git a/bsyncviewer/templates/auditors.html b/bsyncviewer/templates/auditors.html index d7d8acd..bd2bba7 100644 --- a/bsyncviewer/templates/auditors.html +++ b/bsyncviewer/templates/auditors.html @@ -1,6 +1,6 @@ {% extends 'base2.html' %} -{% load staticfiles %} +{% load static %} {% block title %} For Auditors{% endblock title %} diff --git a/bsyncviewer/templates/base.html b/bsyncviewer/templates/base.html index 0117513..df8fdef 100644 --- a/bsyncviewer/templates/base.html +++ b/bsyncviewer/templates/base.html @@ -1,7 +1,7 @@ {% load bootstrap4 %} {% load navtags %} -{% load staticfiles %} +{% load static %} {% block bootstrap_extra_head %} {# Load CSS and JavaScript #} diff --git a/bsyncviewer/templates/base2.html b/bsyncviewer/templates/base2.html index 43954f1..f53a6fc 100644 --- a/bsyncviewer/templates/base2.html +++ b/bsyncviewer/templates/base2.html @@ -1,6 +1,6 @@ {% load bootstrap4 %} -{% load staticfiles %} +{% load static %}