On Oct 3, 2:37 am, mathphreak <mathphr...@gmail.com> wrote: > I've got three different classes in models.py and register all three > in admin.py within my app. Viewing the admin page that I have, > however, gives mehttp://dpaste.com/252244/which doesn't look good. > Is this a Django bug, or do I need to rewrite my app? I think it's > highly unlikely that it's a Django bug. > > I'm trying to follow along with the tutorial given > onhttp://docs.djangoproject.com/en/dev/intro/tutorial01/, if it helps. > My admin.py code ishttp://dpaste.com/252254/and my models.py > ishttp://dpaste.com/hold/252256/.
You've presumably created your models, run ./manage.py syncdb, then changed your model code - in this case by adding the ForeignKey from SupportItem to Name. Django won't modify your models once you've created them, so you will need to drop the tables and re-run syncdb. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.