On Wed, Jan 15, 2014 at 8:44 PM, Jonathan Pentecost
wrote:
> Does it have anything to do with the related name of animal being `+`? I
> can't test this out just yet, but I don't THINK you can have a related_name
> as just `+`, I believe it needs to be a valid
Does it have anything to do with the related name of animal being `+`? I
can't test this out just yet, but I don't THINK you can have a related_name
as just `+`, I believe it needs to be a valid identifier.
On Wednesday, 15 January 2014 03:26:12 UTC+11, Drew Ferguson wrote:
>
> Hi
>
> Django
Hi
Django 1.5
I have a model which includes a ForeignKey field defined likes this
class Document(models.Model):
name = models.CharField(max_length=25, unique=True,
null=False,blank=False)
target = models.CharField(max_length=12,
choices=TARGETS,default='report')
content
3 matches
Mail list logo