Browse Source

Downgrade Django due to changes breaking other plugins. And changed depricated translation funtcions

master
Joshua Rubingh 4 months ago
parent
commit
89f7a9fd99
  1. 2
      VRE/VRE/settings.py
  2. 2
      VRE/apps/api/apps.py
  3. 2
      VRE/apps/dropoff/apps.py
  4. 2
      VRE/apps/invitation/apps.py
  5. 2
      VRE/apps/researcher/apps.py
  6. 2
      VRE/apps/storage/apps.py
  7. 2
      VRE/apps/study/apps.py
  8. 2
      VRE/apps/university/apps.py
  9. 2
      VRE/apps/virtual_machine/apps.py
  10. 2
      VRE/apps/virtual_machine/providers/openstack/apps.py
  11. 2
      VRE/apps/virtual_machine/providers/vrw/apps.py
  12. 2
      VRE/apps/vre_apps/apps.py
  13. 2
      VRE/requirements.txt

2
VRE/VRE/settings.py

@ -16,7 +16,7 @@ from pathlib import Path @@ -16,7 +16,7 @@ from pathlib import Path
import sentry_sdk
from decouple import config, Csv
from dj_database_url import parse as db_url
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from redis import ConnectionPool
from sentry_sdk.integrations.django import DjangoIntegration

2
VRE/apps/api/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from django.conf import settings

2
VRE/apps/dropoff/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class DropoffConfig(AppConfig):

2
VRE/apps/invitation/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class InvitationConfig(AppConfig):

2
VRE/apps/researcher/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class ResearcherConfig(AppConfig):

2
VRE/apps/storage/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class StorageConfig(AppConfig):

2
VRE/apps/study/apps.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class StudyConfig(AppConfig):

2
VRE/apps/university/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class UniversityConfig(AppConfig):

2
VRE/apps/virtual_machine/apps.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class VirtualMachineConfig(AppConfig):

2
VRE/apps/virtual_machine/providers/openstack/apps.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from datetime import timedelta

2
VRE/apps/virtual_machine/providers/vrw/apps.py

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
from django.apps import AppConfig
from django.conf import settings
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
from datetime import timedelta

2
VRE/apps/vre_apps/apps.py

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import gettext_lazy as _
class VRE_AppsConfig(AppConfig):

2
VRE/requirements.txt

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
# Core packages
Django==4.0.1
Django==3.2.11
wheel==0.37.1
gunicorn==20.1.0
Pillow==9.0.0

Loading…
Cancel
Save