The problem was blank space mismatch. Choose your IDE wisely...
On Feb 3, 9:10 pm, SeanFromIT <[EMAIL PROTECTED]> wrote:
> class Report(models.Model):
> ID = models.AutoField(primary_key=True)
> Abstract = models.CharField(blank=True, maxlength=60)
> def __str__(self):
> return self.Abstract
> class Meta:
> db_table = 'Report'
>
> Invalid syntax error on first letter of def __str__(self). Any ideas?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---