Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Management commands for deploying Django projects.

Project Description
=========
IX Django
=========

[![Build Status](https://travis-ci.org/infoxchange/ixdjango.svg?branch=master)](https://travis-ci.org/infoxchange/ixdjango)
[![PyPI](https://img.shields.io/pypi/v/ixdjango.svg?maxAge=2592000)](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
Release History

Release History

This version
History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.2.1

History Node

0.2.0

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
IXDjango-1.0.3.tar.gz (10.1 kB) Copy SHA256 Checksum SHA256 Source Oct 5, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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