Re: Delete users from sql, auth_user

2012-12-18 Thread Eric Johnson
Hi Ben, I've resorted to a similar approach to automatically updating the database with users. However, unlike you,it appears, I take a more conservative approach, and never *delete* users. Rather, I mark them as inactive. That way, you don't have to worry about foreign key constraints.

Re: Delete users from sql, auth_user

2012-10-25 Thread David Trowbridge
Can you clarify why you want to do this? As you've noted, review board really isn't designed to have users be deleted entirely. As an aside, it's going to be much, much easier to write these sorts of scripts as django management commands than to try to do it operating directly on the database.

Re: Delete users from sql, auth_user

2012-10-25 Thread Eric Johnson
I'd add that it is unlikely that you really want to delete all traces of a user in ReviewBoard history. If you need to deactivate an account, why not just do that? Eric Sent from my iPad On Oct 25, 2012, at 1:28 PM, David Trowbridge trowb...@gmail.com wrote: Can you clarify why you want to