Re: please help ForeignKey('Class')

2008-03-08 Thread Evert Rol
> thanks that did work! > > I did have max_length but it didn't like it > > must update django?? No, probably not yet then. I'm just using 0.97pre, where the warning showed up. Probably doesn't in 0.96, but keep it in mind in case you do update. (Unless of course you're still at 0.95.) --

Re: please help ForeignKey('Class')

2008-03-08 Thread nik
hello thanks that did work! I did have max_length but it didn't like it must update django?? --~--~-~--~~~---~--~~ 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@g

Re: please help ForeignKey('Class')

2008-03-08 Thread Evert Rol
> Hi there > I am having a problem with ForeignKey(Class) in my models.py > if the Class it comes before the class then it says I should put it in > quotes. > > ForeignKey('Class') > > put when i run python manage.py validate to check its ok it doesn't > like it You didn't give the error from m

please help ForeignKey('Class')

2008-03-08 Thread nik
Hi there I am having a problem with ForeignKey(Class) in my models.py if the Class it comes before the class then it says I should put it in quotes. ForeignKey('Class') put when i run python manage.py validate to check its ok it doesn't like it here is my models.py: from django.db import mod