Skip to content
Snippets Groups Projects
Commit 685594a6 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Upgrade to Django 3.2

parent 96c1ecf6
No related branches found
No related tags found
1 merge request!10Upgrade 4.1
......@@ -92,13 +92,13 @@ DATABASES = {
}
# Caching with memcached
#CACHES = {
# 'default': {
# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
# 'LOCATION': 'unix:/tmp/memcached.sock',
# 'LOCATION': '127.0.0.1:11211',
# }
#}
# https://docs.djangoproject.com/en/3.2/topics/cache/
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211',
}
}
# Site name - appears in header of all pages. HTML is allowed
SITE_NAME = "Example site title"
......
......@@ -31,6 +31,9 @@ LOCALE_PATHS = (
os.path.join(SITE_ROOT, 'locale'),
)
# New in Django 3.2
# https://docs.djangoproject.com/en/4.1/releases/3.2/#what-s-new-in-django-3-2
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
SITE_ID = 1
......
#
# Copyright (c) 2016 NIBIO <http://www.nibio.no/>.
# Copyright (c) 2023 NIBIO <http://www.nibio.no/>.
#
# This file is part of VIPSWeb.
# VIPSWeb is free software: you can redistribute it and/or modify
......@@ -18,11 +18,12 @@
# Please add requirements here
# Read docs for how this works: http://www.pip-installer.org/en/latest/cookbook.html
Django==3.1.3
Django==3.2.16
Pillow
requests==2.25.0
django-tinymce==2.8.0
python-dateutil==2.8.1
django-extensions
selenium
python-memcached
#python-memcached
pymemcache
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment