On Sun, 2007-11-11 at 04:05 -0600, James Bennett wrote: > On Nov 11, 2007 3:57 AM, Patrick Ohearn <[EMAIL PROTECTED]> wrote: > > I have tried adding the following lines to by models.py. > > > > author = models.ForeignKey(User) > > author = models.ForeignKey(django.contrib.auth.models.User) > > > > Both to no avail, thank you for your help so far :) > > > In order to use a class, function or any other piece of data defined > in a different Python file, you must use Python's import mechanism. > Perhaps you should pause and read a good Python tutorial before > proceeding, as it will help you to understand what's going on when you > use Django. > > Thank you, I know the basics of python and should have picked up on this, its just been a long day :) -- Email: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] Site: http://ge3k.net PGP Key: 66A612C6
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---