Admin 404s on users

2006-12-04 Thread [EMAIL PROTECTED]
I just know there's a simple explanation for this, but my brain is fried. My admin area decided today it was going to start throwing a 404 error for every user. When I go to the admin, under "Auth" and click "users" all is well. I'm presented with a list of users. When I try to click one of th

Re: Admin 404s on users

2006-12-04 Thread Adrian Holovaty
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > When I go to the admin, under "Auth" and click "users" all is well. I'm > presented with a list of users. > > When I try to click one of the users - any of the users - it 404s. Even > if I click on my own user name. Try setting DEBUG=True

Re: Admin 404s on users

2006-12-04 Thread [EMAIL PROTECTED]
It doesn't give me anything to go on: Page not found (404) Request Method: GET Request URL:http://gretschpages.com/admin/auth/user/1/ You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page

Re: Admin 404s on users

2006-12-04 Thread MerMer
I had a similar problem the other day. I had made a mistake on one of my fields of another model, which was edited inline via the User Model. MerMer [EMAIL PROTECTED] wrote: > I just know there's a simple explanation for this, but my brain is > fried. > > My admin area decided today it was g

Re: Admin 404s on users

2006-12-04 Thread [EMAIL PROTECTED]
Are you saying you broke your model? Mine validate. Or am I misunderstanding? --~--~-~--~~~---~--~~ 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.c

Re: Admin 404s on users

2006-12-04 Thread Adrian Holovaty
On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It doesn't give me anything to go on: > > Page not found (404) > Request Method: GET > Request URL:http://gretschpages.com/admin/auth/user/1/ > > You're seeing this error because you have DEBUG = True in your Django > settings

Re: Admin 404s on users

2006-12-05 Thread MerMer
Yes, I broke the model that was being edited by the USER model. From memory mine also validated OK, because the problem lay with some of the data in the DB - not the actual structure of the model. That's why I was able to see a complete USER list and only got the error when I clicked on the i

Re: Admin 404s on users

2006-12-05 Thread [EMAIL PROTECTED]
Syncdb didn't appear to do anything. Adrian, I think you're right about ObjectDoesNotExist, and I think something in my database is off... any Ideas how to track it down? Adrian Holovaty wrote: > On 12/4/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > It doesn't give me anything to go on:

Re: Admin 404s on users

2006-12-05 Thread [EMAIL PROTECTED]
Grasping at straws here, but I've been running lots of comparison sql statements looking for any disparities or oddities, things like: Select user_id from auth_user_groups where user_id not in (select id from auth_user) and I notice that user 1 (admin, superuser, me) isn't in auth_user_groups. Tha

Re: Admin 404s on users

2006-12-06 Thread [EMAIL PROTECTED]
Also, I commented out all apps in settings.py except the "default" django ones, and it still happened. Anyone got any more ideas? I kind of need user admin! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Admin 404s on users

2006-12-07 Thread Adrian Holovaty
On 12/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Also, I commented out all apps in settings.py except the "default" > django ones, and it still happened. > > Anyone got any more ideas? I kind of need user admin! Hey Tim, "svn update" your code, assuming you're using the Django developm

Re: Admin 404s on users

2006-12-07 Thread [EMAIL PROTECTED]
Ah ha! DoesNotExist at /admin/auth/user/1/ ContentType matching query does not exist. Request Method: GET Request URL:http://gretschpages.com/admin/auth/user/1/ Exception Type: DoesNotExist Exception Value:ContentType matching query does not exist. Exception Location:

Re: Admin 404s on users

2006-12-07 Thread [EMAIL PROTECTED]
Still no go... what the hell is it looking for? --~--~-~--~~~---~--~~ 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 grou

Re: Admin 404s on users

2006-12-07 Thread Adrian Holovaty
On 12/7/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ContentType matching query does not exist. > [...] > I'm not exactly sure what it means, but it's DEFINITELY more helpful. > Perhaps I should look at my content-type table? Run this code: """ from django.contrib.contenttypes.management i

Re: Admin 404s on users

2006-12-07 Thread [EMAIL PROTECTED]
I got it! I had a mismatch between content_types and permissions. Not sure how it happened, but it's fixed! Thanks to everyone, espeically Adrian, for your help. I feel like I can actually use the admin again! --~--~-~--~~~---~--~~ You received this message bec

Admin 404s on users and dumpdata error: ContentType matching query does not exist

2008-02-25 Thread diN0bot
yo, I'd like to update the "Admin 404s on users" and dumpdata error: ContentType matching query does not exist" for people who, like me, are searching the web for answers. >From the Admin 404s on users discussion (which I cannot seem to reply to, he