> Figured out what went wrong. You now have to register your models > with the admin app, which will give you access. > > If anyone else that is completely awful at Django is running into the > same problem let me know and I'll go in to more depth.
Could you let me know what you did to fix this? My urls.py is very simple, and contains: -----8<------- from django.conf.urls.defaults import * from django.contrib import admin from os import path admin.autodiscover() urlpatterns = patterns('', # Uncomment this for admin: ('^admin/(.*)', admin.site.root), # Index page. (r'^/?$', 'vmanager.frontend.views.index'), ) -----8<------- My models.py file in my applicaion folder contains the following (I've snipped aprts of the model definition, as they're not relevant) -----8<------- from django.db import models from django.contrib import admin class Person(models.Model): """This models a person machine""" (details omitted here) -----8<------- I've tried alternating between using admin.autodiscover() in my urls.py, and manually registering my models using admin.site.register(Person), but I still get the permission error in the admin site. I've also tried flushing the database, but that doesn't seem to solve anything. FWIW, my user has is_superuser, is_staff and is_active all set to true in my database. The exact message I get in the admin site is "You don't have permission to edit anything". Any help would be much appreciated. --Jon --~--~---------~--~----~------------~-------~--~----~ 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 more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---