Re: Uh-oh, I've messed up now... HELP!

2007-01-18 Thread [EMAIL PROTECTED]
Still having trouble... what does this mean? File "/home2/baxter/lib/python2.4/django/core/handlers/base.py", line 74, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/home2/baxter/webapps/django/gretschpages/user_details/views.py", line 19, in edit_pr

Re: Uh-oh, I've messed up now... HELP!

2007-01-18 Thread [EMAIL PROTECTED]
Got it... the errant app had put entries into auth_permissions that conflicted with the real gp_user permissions. Gotta remember, if you mess with the content-type table, you gotta look at permissions, too. Second time that's caught me out. --~--~-~--~~~---~--~~

Re: Uh-oh, I've messed up now... HELP!

2007-01-18 Thread [EMAIL PROTECTED]
Some headway... I manually recreated an index on user_details_gpuser, and now I've got that back, both in the admin and in the public section. However, attempting to edit in auth_user still throws an error: ContentType matching query does not exist --~--~-~--~~~---~

Re: Uh-oh, I've messed up now... HELP!

2007-01-18 Thread [EMAIL PROTECTED]
If it's any help, I think an index on user_details_gpuser was destroyed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To u

Re: Uh-oh, I've messed up now... HELP!

2007-01-18 Thread [EMAIL PROTECTED]
I don't think I was clear... I've removed the second model altogether, and removed any trace of it from the database. But I think something from my real GpUser class got removed or altered, too, probably something in contenttypes. --~--~-~--~~~---~--~~ You receiv

Re: Uh-oh, I've messed up now... HELP!

2007-01-17 Thread oggie rob
You have several options: Easiest way: Rename the second model (not the one that extends User). I'm not sure if you can syncdb but you can copy the SQL manually (table/indexes, permissions & content type entries). I don't think you should delete the gpusers table but you might need to remove some

Re: Uh-oh, I've messed up now... HELP!

2007-01-17 Thread [EMAIL PROTECTED]
Please? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For m