mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
import re in settings patch
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
# BEGIN HEROKU PYTHON/DJANGO LANGUAGE PACK
|
||||
# Dynamically set DATABASES from ENV vars
|
||||
|
||||
import os, urlparse
|
||||
import os, re, urlparse
|
||||
urlparse.uses_netloc.append("postgres")
|
||||
key_re = re.compile(r"^(?P<name>[A-Z_]+)_URL$")
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
import re
|
||||
import unittest
|
||||
|
||||
BIN_DIR = os.path.dirname(__file__)
|
||||
|
||||
Reference in New Issue
Block a user