trying to show where ^ goes: haviing problems: i'm hoping this shows it at the last quote mark: > File "/home/chrissmith/Dcode/rrws/rrs/models.py", line 36 > upload_doc = models.FileField(upload_to 'documents') > > ^. >SyntaxError: invalid syntax
Idon't know why i'm getting this error, or what i'm doing wrong On Jan 25, 3:54 pm, Krondaj <c.d.smi...@gmail.com> wrote: > in my model i'm using: > > from django.db import models, datetime, MEDIA_ROOT > > class RrsForm(models.Model): > #.... > > upload_doc = models.FileField(upload_to 'documents') > > I get this error when I run (before running syncdb): > > python manage.py sql rrs > > I get: > > File "/home/chrissmith/Dcode/rrws/rrs/models.py", line 36 > upload_doc = models.FileField(upload_to 'documents') > > ^ > SyntaxError: invalid syntax > > any idea's what's up? -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.