Commit ef759669 authored by Noah Zoschke's avatar Noah Zoschke

import re in settings patch

parent bd9a08b3
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# BEGIN HEROKU PYTHON/DJANGO LANGUAGE PACK # BEGIN HEROKU PYTHON/DJANGO LANGUAGE PACK
# Dynamically set DATABASES from ENV vars # Dynamically set DATABASES from ENV vars
import os, urlparse import os, re, urlparse
urlparse.uses_netloc.append("postgres") urlparse.uses_netloc.append("postgres")
key_re = re.compile(r"^(?P<name>[A-Z_]+)_URL$") key_re = re.compile(r"^(?P<name>[A-Z_]+)_URL$")
......
import os import os
import re
import unittest import unittest
BIN_DIR = os.path.dirname(__file__) BIN_DIR = os.path.dirname(__file__)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment