mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
parent
b9715d2264
commit
ccbcc8f93d
3 changed files with 4 additions and 9 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -9,12 +9,6 @@ jobs:
|
|||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
||||
django-version: ["3.2", "4.0", "4.1"]
|
||||
exclude:
|
||||
# Python 3.6 is not compatible with 4.0
|
||||
- python-version: "3.6"
|
||||
django-version: "4.0"
|
||||
# Python 3.6 is not compatible with 4.1
|
||||
- python-version: "3.6"
|
||||
django-version: "4.1"
|
||||
# Python 3.7 is not compatible with 4.0
|
||||
- python-version: "3.7"
|
||||
django-version: "4.0"
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ def parse(url, engine=None, conn_max_age=0, ssl_require=False):
|
|||
port = (
|
||||
str(url.port)
|
||||
if url.port
|
||||
and engine in [SCHEMES["oracle"], SCHEMES["mssql"], SCHEMES["mssqlms"]]
|
||||
and engine in (SCHEMES["oracle"], SCHEMES["mssql"], SCHEMES["mssqlms"])
|
||||
else url.port
|
||||
)
|
||||
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -1,7 +1,8 @@
|
|||
from pathlib import Path
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
with open("README.rst") as readme_rst:
|
||||
readme = readme_rst.read()
|
||||
readme = Path("README.rst").read_text()
|
||||
|
||||
setup(
|
||||
name="dj-database-url",
|
||||
|
|
|
|||
Loading…
Reference in a new issue