DATETIME columns?
tansentim opened this issue · comments
I notice that DATETIME columns do not work with this back-end. I was using django-pytds with DATETIME columns, but without the ability to write. I need to access a legacy database that has DATETIME columns that I cannot change. Is there a change that can be made to make these work with django-sqlserver?
Try using ado_sqlserver.fields.LegacyDateTimeField
in your model.
Or, you can try use_legacy_date_fields
setting: http://django-mssql.readthedocs.org/en/latest/settings.html#std:setting-use_legacy_date_fields
@tansentim did this work for you?
Thank you very much. All good now.
On 10 Dec 2014, at 11:20 am, denisenkom notifications@github.com wrote:
@tansentim did this work for you?
—
Reply to this email directly or view it on GitHub.