Skip to content

Commit ad6faa6

Browse files
authored
Add PostgreSQL 16, remove Postgres 10 and 11 (#4935)
Add support for PostgreSQL 16 and remove support for version 10 & 11
1 parent 5741636 commit ad6faa6

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ _These features can be enabled during initial project setup._
5151
## Constraints
5252

5353
- Only maintained 3rd party libraries are used.
54-
- Uses PostgreSQL everywhere: 10 - 15 ([MySQL fork](https://github.com/mabdullahadeel/cookiecutter-django-mysql) also available).
54+
- Uses PostgreSQL everywhere: 12 - 16 ([MySQL fork](https://github.com/mabdullahadeel/cookiecutter-django-mysql) also available).
5555
- Environment variables for configuration (This won't work with Apache/mod_wsgi).
5656

5757
## Support this Project!
@@ -133,12 +133,11 @@ Answer the prompts with your own desired [options](http://cookiecutter-django.re
133133
Choose from 1, 2, 3 [1]: 1
134134
use_docker [n]: n
135135
Select postgresql_version:
136-
1 - 15
137-
2 - 14
138-
3 - 13
139-
4 - 12
140-
5 - 11
141-
6 - 10
136+
1 - 16
137+
2 - 15
138+
3 - 14
139+
4 - 13
140+
5 - 12
142141
Choose from 1, 2, 3, 4, 5 [1]: 1
143142
Select cloud_provider:
144143
1 - AWS

cookiecutter.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"windows": "n",
1919
"editor": ["None", "PyCharm", "VS Code"],
2020
"use_docker": "n",
21-
"postgresql_version": ["15", "14", "13", "12", "11", "10"],
21+
"postgresql_version": ["16", "15", "14", "13", "12"],
2222
"cloud_provider": ["AWS", "GCP", "Azure", "None"],
2323
"mail_service": [
2424
"Mailgun",

docs/project-generation-options.rst

+5-6
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,11 @@ use_docker:
6666
postgresql_version:
6767
Select a PostgreSQL_ version to use. The choices are:
6868

69-
1. 15
70-
2. 14
71-
3. 13
72-
4. 12
73-
5. 11
74-
6. 10
69+
1. 16
70+
2. 15
71+
3. 14
72+
4. 13
73+
5. 12
7574

7675
cloud_provider:
7776
Select a cloud provider for static & media files. The choices are:

tests/test_cookiecutter_generation.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,11 @@ def context():
5757
{"editor": "VS Code"},
5858
{"use_docker": "y"},
5959
{"use_docker": "n"},
60+
{"postgresql_version": "16"},
6061
{"postgresql_version": "15"},
6162
{"postgresql_version": "14"},
6263
{"postgresql_version": "13"},
6364
{"postgresql_version": "12"},
64-
{"postgresql_version": "11"},
65-
{"postgresql_version": "10"},
6665
{"cloud_provider": "AWS", "use_whitenoise": "y"},
6766
{"cloud_provider": "AWS", "use_whitenoise": "n"},
6867
{"cloud_provider": "GCP", "use_whitenoise": "y"},

0 commit comments

Comments
 (0)