projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9b43f
)
Add config for DEFAULT_AUTO_FIELD in preparation for 3.2 upgrade
author
Magnus Hagander
<magnus@hagander.net>
Sun, 7 Nov 2021 14:59:09 +0000
(15:59 +0100)
committer
Magnus Hagander
<magnus@hagander.net>
Thu, 18 Nov 2021 13:21:42 +0000
(14:21 +0100)
pgweb/settings.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/settings.py
b/pgweb/settings.py
index 6c1cb24ed7678a9eae39c3739510472ed25b4dcb..4775f3231c1f7699c0e84cafd4d41b5b6d98bc87 100644
(file)
--- a/
pgweb/settings.py
+++ b/
pgweb/settings.py
@@
-18,6
+18,8
@@
DATABASES = {
}
}
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
+
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.