Avraham Serour writes:
> you don't need songid = models.Integerfield()
... and the ForeignKey should not specify a db_column.
>
> On Tue, Jul 23, 2013 at 6:04 AM, Brian Millham wrote:
>
> I have the following models:
>
> class Requestlist(models.Model):
> id = models.Int
you don't need songid = models.Integerfield()
On Tue, Jul 23, 2013 at 6:04 AM, Brian Millham wrote:
> I have the following models:
>
> class Requestlist(models.Model):
>>id = models.IntegerField(primary_key=True)
>>songid = models.Integerfield()
>>song = ForeignKey('Song', db_column
2 matches
Mail list logo