> Yours,
> Russ Magee %-)
>
>
>
>
> On Sun, Jul 6, 2014 at 10:51 AM, Dean >
> wrote:
>
>> I think there is a restriction in using 'date' in MySQL as a field name
>> as it's some sort of inbuilt function.
>>
>> On Friday,
I am trying to create a queryset for getting the values of a DateTimeField
which is DATETIME in the DB.
The class in models.py:
class ChangeMetrics(models.Model):
id = models.IntegerField(primary_key=True)
file_id = models.ForeignKey(File, db_column = 'file_id')
version_id = models
2 matches
Mail list logo