diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 7c45d2cb..4731fdc5 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -15,4 +15,4 @@ jobs: - name: Black Code Formatter uses: lgeiger/black-action@v1.0.1 with: - args: --check --target-version py36 --line-length 120 --skip-string-normalization --exclude '(migrations|urls\.py)' stregsystem stregreport kiosk + args: --check --target-version py311 --line-length 120 --skip-string-normalization --exclude '(migrations|urls\.py)' stregsystem stregreport kiosk diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index 53a3fcfe..8b6641da 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -14,7 +14,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.6.9", "3.7.17", "3.11.5"] # 3.6.9 is what is running on prod + python-version: ["3.10.14", "3.11.9"] # 3.11.9 is what is running on prod steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index be826a7c..264d3824 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Python Environment For windows using Anaconda and virtual environments: 1. Download and install Anaconda 2. In a shell: - - `conda create -n stregsystem python=3.6` + - `conda create -n stregsystem python=3.11` - `activate stregsystem` - `pip install -r requirements.txt` 3. ??? diff --git a/requirements.txt b/requirements.txt index 734276b8..957513ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -Django==2.2.28 -Pillow==8.3.2 -Coverage==4.4.1 -pytz==2021.3 -freezegun==0.3.15 -Django-Select2==5.11.1 -django-debug-toolbar==1.11.1 -requests==2.24.0 -qrcode==6.1 +Django==4.2.13 +Pillow==10.3.0 +Coverage==7.5.1 +pytz==2024.1 +freezegun==1.5.1 +Django-Select2==8.1.2 +django-debug-toolbar==4.3.0 +requests==2.31.0 +qrcode==7.4.2 diff --git a/stregsystem/templates/admin/index.html b/stregsystem/templates/admin/index.html index b6f957c4..2f56a48e 100644 --- a/stregsystem/templates/admin/index.html +++ b/stregsystem/templates/admin/index.html @@ -1,6 +1,6 @@ {% extends "admin/base_site.html" %} {% load i18n %} -{% load admin_static %} +{% load static %} {% block extrastyle %}{{ block.super }}{% endblock %} diff --git a/stregsystem/templates/admin/stregsystem/batch_payment.html b/stregsystem/templates/admin/stregsystem/batch_payment.html index f2265765..0744a1d8 100644 --- a/stregsystem/templates/admin/stregsystem/batch_payment.html +++ b/stregsystem/templates/admin/stregsystem/batch_payment.html @@ -13,7 +13,7 @@ {% endblock %} {% block content %} -{% load admin_static %} +{% load static %}