pinax-models
pinax-models copied to clipboard
Provide Support for Logical Deletes on Models and in the Django Admin
When a queryset is created from model A, but references model B, deleted instances of model B should be ignored. Instead, they are included. For example, `Parent.objects.filter(child__name='foo')` will still return...
This will hopefully fix https://github.com/pinax/pinax-models/issues/13 regarding some related objects that should not be deleted. Some more testing feedback would be appreciated to ensure this works properly ;)
`RemovedInDjango18Warning: `LogicalDeleteModelAdmin.queryset` method should be renamed `get_queryset`.` [django.contrib.admin.ModelAdmin.get_queryset](https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_queryset)