Fixed mismatches in python versions

This commit is contained in:
Keannu Bernasol 2023-07-28 18:41:18 +08:00
parent e9d4090713
commit 4697bee70f
3 changed files with 13 additions and 5 deletions

View file

@ -16,8 +16,9 @@ psycopg2 = "*"
django-leaflet = "*"
django-extra-fields = "*"
drf-spectacular = {extras = ["sidecar"], version = "*"}
gdal = {path = "./packages/GDAL-3.4.3-cp311-cp311-win_amd64.whl"}
[dev-packages]
[requires]
python_version = "3.10"
python_version = "3.11"

13
Pipfile.lock generated
View file

@ -1,11 +1,11 @@
{
"_meta": {
"hash": {
"sha256": "a4f6715106c65a972a21b76a8e9f6ca4b79337de9f54f8012b47b146a41c2bfc"
"sha256": "b44f5667ccfa3143777521215b9fff2820e9dcd3c1d9bf4759184769d7142472"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.10"
"python_version": "3.11"
},
"sources": [
{
@ -344,6 +344,13 @@
],
"version": "==2023.7.1"
},
"gdal": {
"hashes": [
"sha256:f78861fb5115d5c2f8cf3c52a492ff548da9e1256dc84088947379f90e77e5b6"
],
"path": "./packages/GDAL-3.4.3-cp311-cp311-win_amd64.whl",
"version": "==3.4.3"
},
"hyperlink": {
"hashes": [
"sha256:427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b",
@ -731,7 +738,7 @@
"sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926",
"sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"
],
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2'",
"markers": "python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'",
"version": "==1.16.0"
},
"social-auth-app-django": {

View file

@ -28,7 +28,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = str(os.getenv('SECRET_KEY'))
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False
FRONTEND_DEBUG = False
ALLOWED_HOSTS = ['*']