Skip to content

Instantly share code, notes, and snippets.

@conniec
Created July 10, 2012 00:07
Show Gist options
  • Save conniec/3079954 to your computer and use it in GitHub Desktop.
Save conniec/3079954 to your computer and use it in GitHub Desktop.
village voice delete conv
from lfcore.conv.api import ConvAPI
def delete_conv(conv_id):
c = Conv.objects.get(pk=conv_id)
ConvAPI.delete_conv(c, c.owner, mangle=True)
delete_conv(12213921)
delete_conv(12220145)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment