Skip to content

Instantly share code, notes, and snippets.

@defbyte
Created January 30, 2014 18:10
Show Gist options
  • Save defbyte/8714921 to your computer and use it in GitHub Desktop.
Save defbyte/8714921 to your computer and use it in GitHub Desktop.
Delete Django Content Types
from django.contrib.contenttypes.models import ContentType
ContentType.objects.filter(app_label='YOUR_DEAD_AND_BURIED_APP').delete()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment