This release is a pre-release and may not be stable for production use.
Automatic Django configuration and utilities for Heroku
Quickstart
Simplify Django configuration in two easy steps:
Include django-herokuify and pylibmc packages in your requirements.txt file.
In the Django settings.py of your Heroku project add:
import herokuify from herokuify.common import * # Common settings, SSL proxy header from herokuify.aws import * # AWS access keys as configured in env from herokuify.mail.mailgun import * # Email settings for Mailgun add-on from herokuify.mail.sendgrid import * # ... or Sendgrid DATABASES = herokuify.get_db_config() # Database config CACHES = herokuify.get_cache_config() # Cache config for Memcache/MemCachier
Additionally, you can use storage backends that works well with Amazon S3 and Django Compressor:
DEFAULT_FILE_STORAGE = "herokuify.storage.S3MediaStorage" MEDIA_URL = "https://{0}.s3.amazonaws.com/media/".format(AWS_STORAGE_BUCKET_NAME) STATICFILES_STORAGE = "herokuify.storage.CachedS3StaticStorage" STATIC_URL = "https://{0}.s3.amazonaws.com/static/".format(AWS_STORAGE_BUCKET_NAME) COMPRESS_STORAGE = "herokuify.storage.CachedS3StaticStorage" COMPRESS_OFFLINE = True
Note: The pylibmc package entry in your project’s root requirements.txt file is necessary for Heroku Django buildpack to properly configure the libmemcached C dependency.
Documentation
See docs for more information: django-herokuify.readthedocs.org
Dependencies
django-herokuify installs the following dependencies by default:
Caching and cache configuration:
pylibmc>=1.2.3 django-pylibmc-sasl>=0.2.4 django-heroku-memcacheify>=0.3
DB configuration:
dj-database-url>=0.2.1 django-heroku-postgresify>=0.2
Storage backend:
django-storages>=1.1.5 boto>=2.6.0
License
django-herokuify is released under the BSD license.
Other Resources
GitHub repository - https://github.com/nigma/django-herokuify
PyPi Package site - http://pypi.python.org/pypi/django-herokuify
Metadata
Release files for django-herokuify 1.0.pre3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-herokuify-1.0.pre3.zip | 27.6 kB | Without provenance | Details for django-herokuify-1.0.pre3.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_herokuify-1.0.pre3-py2.7.egg | Legacy Egg format | - | - | Details for django_herokuify-1.0.pre3-py2.7.egg |
Total release size: 37.8 kB
Release files / django-herokuify-1.0.pre3.zip
| Download URL | django-herokuify-1.0.pre3.zip |
|---|---|
| Size | 27.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3c22be849bef13d82ddf71bcba2ff41c9f2dc6e6653760934f68b7e3f380938
|
|
BLAKE2b-256 checksum How to use checksums |
f37180fac103d985788e0dd85b7193c81ee8e47dae9c5a9306c95f8237fa337c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_herokuify-1.0.pre3-py2.7.egg
| Download URL | django_herokuify-1.0.pre3-py2.7.egg |
|---|---|
| Size | 10.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
0c96acfd169543ba537a3523227e73c13a0bfff0779f71c1fd096999200100ec
|
|
BLAKE2b-256 checksum How to use checksums |
9ee3b4358a984973e8ce153a3bc97d2adb7ebe6e132343c0665855510c7a680f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-herokuify 1.0.pre3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.