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:
Install this distribution as a dependency. For example,
pip install django-postgres-delete-cascade
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-postgres-delete-cascade-1.0rc3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2a4f9405ea844d845bc0713c8e78d9b76fd872432fed49326ca3c94818283c6 |
|
MD5 | 6d2a095af9a3ca1ab1aa369580bfc23a |
|
BLAKE2b-256 | cdc4175995c3757c6fa4f6660b8c32e61a22b3dba36cab7508bc6c422008a3f9 |
Close
Hashes for django_postgres_delete_cascade-1.0rc3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247d4592f7a4e9b9ac9717b482c67254d1370a2d3f438fd7c83ab4484a7642cc |
|
MD5 | 8054edf13c4b76fee4ff3124c9b6609e |
|
BLAKE2b-256 | 2e167d805087e4e3b22cc001cd6295cf915cbb53b81daa7fb05570690b5478e5 |