pinax-models icon indicating copy to clipboard operation
pinax-models copied to clipboard

Provide Support for Logical Deletes on Models and in the Django Admin

Results 13 pinax-models issues
Sort by recently updated
recently updated
newest added

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...

enhancement

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)