There was an error while loading. Please reload this page.
To remove a post:
Run paster shell environment.ini where environment can be development, test, etc.
paster shell environment.ini
Import the Link model: from r2.models import Link
from r2.models import Link
Get the ID of the post from its URL - e.g. http://host/ea/1c6/something-something means the post ID is 1c6
Retrieve the Link object: link = Link._byID(int("1c6", 36))
link = Link._byID(int("1c6", 36))
Double-check you have the right Link object: link.title
link.title
Delete the link object: link._delete_from_db()
link._delete_from_db()