IX Django
=========
[](https://travis-ci.org/infoxchange/ixdjango)
[](https://pypi.python.org/pypi/IXDjango)
Management commands for Django application deployments.
Commands provided
-----------------
`deploy`
========
Executes a list of commands declared in `IX_DEPLOY_CMDS` variable in the
application settings file
`loadixfixtures`
================
Loads fixtures declared in `IX_FIXTURES` variable in the application settings
file
`clear_app`
===========
Clear specified app's models of data
`newrelic_notify_deploy`
========================
Uses the settings `NEW_RELIC_CONFIG`, `NEW_RELIC_ENV` and `NEW_RELIC_API_KEY`
to inform New Relic of an application deployment.
Docker Settings
---------------
`ixdjango.docker_settings` provides Django settings module that presets
variables exposed by the Docker environment into your Django application.
Use it as follows:
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# Docker container defaults
# pylint:disable=unused-wildcard-import,import-error,no-name-in-module
from ixdjango.docker_settings import *
# pylint:enable=unused-wildcard-import,import-error,no-name-in-module
Provides the following configuration variables:
* `DEBUG`, `TEMPLATE_DEBUG`, `TASTYPIE_FULL_DEBUG`
* `DATABASES['default']`
* `X_FORWARDED_HOST`, `SECURE_PROXY_SSL_HEADER`
* `MY_SITE_DOMAIN`, `ALLOWED_HOSTS`, `SITE_URL`
* `EMAIL_HOST`, `EMAIL_PORT`, `DEFAULT_FROM_EMAIL`
* `LOGGING`
* `STORAGE_DIR`, `NGINX_STATIC_DIR` (Docker storage locations)
* `STATIC_ROOT`, `MEDIA_ROOT`
Dependencies
------------
* Django: Depends on Django 1.8 or above
* Python: 2.7, but Python 3.3 support is being added
* pep8 and pylint: Not required for functionality but we like QC before
committing any code changes so these tools need to be available. Note that
if you'd like to contribute, any code you write must give a clean output with
pep8 and score 10/10 with pylint using the configuration file
conf/pylint.conf in the package
Metadata
Release files for IXDjango 1.0.3
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 |
|---|---|---|---|---|
| IXDjango-1.0.3.tar.gz | 10.1 kB | Without provenance | Details for IXDjango-1.0.3.tar.gz |
Release files / IXDjango-1.0.3.tar.gz
| Download URL | IXDjango-1.0.3.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d1e5884572bc33cae6a301159d710cd8d6812ca318cdb939ba85d552fa314d5f
|
|
BLAKE2b-256 checksum How to use checksums |
44de7d4840e2d428cb795c8d78d243a00787bc42e68cc09418e710c495237545
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for IXDjango 1.0.3
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.