mirror of
https://github.com/jazzband/dj-database-url.git
synced 2026-03-16 22:20:24 +00:00
Removes py2.7 urlparse import (#168)
* Fixes #167 - Removes py2.7 urlparse import * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
b9cc1e47b7
commit
aba6a67d51
1 changed files with 1 additions and 5 deletions
|
|
@ -1,11 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
try:
|
||||
import urlparse
|
||||
except ImportError:
|
||||
import urllib.parse as urlparse
|
||||
import urllib.parse as urlparse
|
||||
|
||||
try:
|
||||
from django import VERSION as DJANGO_VERSION
|
||||
|
|
|
|||
Loading…
Reference in a new issue