First time here? Check out the FAQ!

Revision history  [back]

edit: fixed in the repo, will be available in 0.7.48.

Filed an issue http://bugs.askbot.org/issues/155 - we might not be able to allow deleting users from the admin interface, instead we might try to block that possibility and implement the user deletion in some other way.

The main problem is that in django when you delete content - all related records - will be automatically deleted as well. This is not always what you want.

Apparently in the automatic deletion of related content there is a glitch - when relation is generic - that is it is recorded via use of numeric id's instead of foreign keys - those relations are not cleaned up. That explains the error that you found.

For now - don't use admin interface to delete records in askbot, but for some edits admin is fine. We should probably just forbid deletion of records via admin until we have cleanup procedures for the generic relations.

edit: fixed in the repo, will be available in 0.7.48.

Filed an issue http://bugs.askbot.org/issues/155 - we might not be able to allow deleting users from the admin interface, instead we might try to block that possibility and implement the user deletion in some other way.

The main problem is that in django when you delete content - all related records - will be automatically deleted as well. This is not always what you want.

Apparently in the automatic deletion of related content there is a glitch - when relation is generic - that is it is recorded via use of numeric id's instead of foreign keys - those relations are not cleaned up. That explains the error that you found.

For now - don't use admin interface to delete records in askbot, but for some edits admin is fine. We should probably just forbid deletion of records via admin until we have cleanup procedures for the generic relations.

Filed an issue http://bugs.askbot.org/issues/155 http://bugs.askbot.org/issues/155/ - we might not be able to allow deleting users from the admin interface, instead we might try to block that possibility and implement the user deletion in some other way.

The main problem is that in django when you delete content - all related records - will be automatically deleted as well. This is not always what you want.

Apparently in the automatic deletion of related content there is a glitch - when relation is generic - that is it is recorded via use of numeric id's instead of foreign keys - those relations are not cleaned up. That explains the error that you found.

For now - don't use admin interface to delete records in askbot, but for some edits admin is fine. We should probably just forbid deletion of records via admin until we have cleanup procedures for the generic relations.

Filed an issue http://bugs.askbot.org/issues/155/ - http://bugs.askbot.org/issues/155/, we might not be able to allow deleting users from the admin interface, instead we might try to block that possibility and implement the user deletion in some other way.

The main problem is that in django when you delete content - all related records - will be automatically deleted as well. This is not always what you want.

Apparently in the automatic deletion of related content there is a glitch - when relation is generic - that is it is recorded via use of numeric id's instead of foreign keys - those relations are not cleaned up. That explains the error that you found.

For now - don't use admin interface to delete records in askbot, but for some edits admin is fine. We should probably just forbid deletion of records via admin until we have cleanup procedures for the generic relations.

Filed an issue http://bugs.askbot.org/issues/155/, http://bugs.askbot.org/issues/155, we might not be able to allow deleting users from the admin interface, instead we might try to block that possibility and implement the user deletion in some other way.

The main problem is that in django when you delete content - all related records - will be automatically deleted as well. This is not always what you want.

Apparently in the automatic deletion of related content there is a glitch - when relation is generic - that is it is recorded via use of numeric id's instead of foreign keys - those relations are not cleaned up. That explains the error that you found.

For now - don't use admin interface to delete records in askbot, but for some edits admin is fine. We should probably just forbid deletion of records via admin until we have cleanup procedures for the generic relations.