<commit_before>from __future__ import absolute_import
import os
import urlparse
from .base import *

# Store files on S3
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'

# Pull the various config info from Heroku.

# Make sure urlparse understands custom config schemes.
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('redis')

# Grab database info
#db_url = urlparse.urlparse(os.environ['DATABASE_URL'])
db_url = urlparse.urlparse(os.environ['HEROKU_POSTGRESQL_BLACK_URL'])
DATABASES = {<commit_msg>Switch from heroku PG dev -> basic plan<commit_after>from __future__ import absolute_import
import os
import urlparse
from .base import *

# Store files on S3
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage'

# Pull the various config info from Heroku.

# Make sure urlparse understands custom config schemes.
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('redis')

# Grab database info
#db_url = urlparse.urlparse(os.environ['DATABASE_URL'])
db_url = urlparse.urlparse(os.environ['HEROKU_POSTGRESQL_YELLOW_URL'])
DATABASES = {
{'fraction_non_alphanumeric': 0.09264305177111716, 'fraction_numerical': 0.005449591280653951, 'mean_word_length': 6.6, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3600460', 'n_tokens_mistral': 372, 'n_tokens_neox': 374, 'n_words': 88}