Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions bsyncviewer/migrations/0015_auto_20251009_1840.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# 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"
),
),
]
3 changes: 3 additions & 0 deletions bsyncviewer/settings/dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions bsyncviewer/settings/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions bsyncviewer/settings/gh_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/about.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}About{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/adopters.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Adopters{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/auditors.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %} For Auditors{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/base.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load bootstrap4 %}

{% load navtags %}
{% load staticfiles %}
{% load static %}

{% block bootstrap_extra_head %}
{# Load CSS and JavaScript #}
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/base2.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load bootstrap4 %}

{% load staticfiles %}
{% load static %}

<!DOCTYPE html>
<!--[if lt IE 7]>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}
{% load bootstrap4 %}
{% load staticfiles %}
{% load static %}


{% block title %}Delete Use Case{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/bsyncviewer/usecase_form.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}
{% load bootstrap4 %}
{% load staticfiles %}
{% load static %}

{% block title %}Add Use Case{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/case_study.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Case Study{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/collaborators.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Collaborators{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/contact.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Contact{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/dictionary.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block extra_head %}
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jstree/3.3.5/themes/default/style.min.css"/>
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/enumerations.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}
{% if enumerations_type == 'data_dictionary' %}
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/faq.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}FAQ{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/implementers.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %} For Implementers{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}


{% block nav %}
Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/mlod.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Modeling Level of Detail{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/onboarding.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Onboarding{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/practitioners.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %} For Building and City Practitioners{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/references.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}References{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/releases.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends 'base2.html' %}


{% load staticfiles %}
{% load static %}

{% block title %}Releases{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/technical_resources.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Technical Resources{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/tools.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Tools{% endblock %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/use_cases.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}

{% load staticfiles %}
{% load static %}

{% block title %}Use Cases{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/validator.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}
{% load bootstrap4 %}
{% load staticfiles %}
{% load static %}

{% block title %}Use Case Validator{% endblock title %}

Expand Down
2 changes: 1 addition & 1 deletion bsyncviewer/templates/validator_results.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends 'base2.html' %}
{% load bootstrap4 %}
{% load staticfiles %}
{% load static %}

{% block title %}Validation Results{% endblock %}

Expand Down
14 changes: 8 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
Django==2.2.28
django-bootstrap4==2.3.1
djangorestframework==3.11.2
djangorestframework-xml==1.0.1
Django==3.2.25
django-bootstrap4==3.0.1
djangorestframework==3.12.4
djangorestframework-xml==2.0.0

psycopg2-binary==2.9.10
# Do not upgrade to 2.9.10, which has a build issue with
# newer setup tools. BUT versions > 2.9.10 might work?
psycopg2-binary==2.9.7

semantic-version==2.10.0
stopit==1.1.2
Expand All @@ -18,4 +20,4 @@ jellyfish==1.2.0
testsuite==0.1.5

# production deployment
uWSGI==2.0.30
uWSGI==2.0.30; sys_platform != "win32"