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!

PostgreSQL engine for Django that supports "ON DELETE CASCADE" at the database level

Project Description

This is a temporary workaround until Django’s ticket #21961 is fixed. It has been tested with Python 2.7, Django 1.6 and Psycopg2 2.6, but should work with other combinations.

To use it, you just have to:

  1. Install this distribution as a dependency. For example,

    pip install django-postgres-delete-cascade
    
  2. Replace the django.db.backends.postgresql_psycopg2 engine with django_postgres_delete_cascade. For example:

    DATABASES = {
        'default': {
            'ENGINE': 'django_postgres_delete_cascade',
            'NAME': 'mydatabase',
            'USER': 'mydatabaseuser',
            'PASSWORD': 'mypassword',
            'HOST': '127.0.0.1',
            'PORT': '5432',
            }
        }
    

Change log

Version 1.0 Release Candidate 3 (2015-10-12)

Fixed packaging issue.

Version 1.0 Release Candidate 2 (2015-10-12)

Initial release, in spite of the version (due to some problems with PYPI).

Release History

Release History

This version
History Node

2.0a1

History Node

1.0rc3

History Node

1.0rc2

History Node

1.0rc1

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
django_postgres_delete_cascade-2.0a1-py2-none-any.whl (6.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Sep 5, 2016
django-postgres-delete-cascade-2.0a1.tar.gz (2.7 kB) Copy SHA256 Checksum SHA256 Source Sep 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