This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Provides crosswalk between a Foreman-style .env file and your django local settings.

Installation & Usage

Add to your django project’s requirements.txt:

herokal-settings

Add herokal to INSTALLED_APPS

Install the heroku-config plugin:

heroku plugins:install git://github.com/ddolar/heroku-config.git

Run the management command to export your local_settings.py:

./manage.py exportenv

At the bottom of your settings.py, instead of:

from local_settings import *

Use herokal.settings:

from herokal.settings import *

Now, when you run ./manage.py runserver, your local_settings.py will be loaded, but when you run foreman start, your .env will be used.

Options

The exportenv command takes a few optional flags:

--settings-module           The name of the settings module to export.
                            Default is 'local_settings'

--include-databases         Whether or not to serialize database
                            connections into the .env file.
                            Default is false

--outfile                   The name of the file to export your
                            local settings to.
                            Default is '.env'

Changelog

0.0.1

  • Initial release
Release History

Release History

0.0.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
herokal_settings-0.0.1-py2.7.egg (7.1 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 4, 2013
herokal-settings-0.0.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Jun 4, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting