Hello,
I have a problem that DateField or DateTime fields are `str` instead of
datetime objects after the model has been instantiated/created.
But when the model is returned from the database it is a correct object.
How can I prevent this?
given:
```
class My(models.Model):
dt_obj = mode
Hi Django users,
I'm looking for examples of Django + Neo4j projects. Any examples /
projects / blog posts from the past ~5 years anyone might remember would be
appreciated.
Here's an incomplete list of what I have found so far
Description of https://cementjob.com/
https://medium.com/@webch
I think he's asking for help in using Django as an ORM tool, not a web
framework.
If that's the case: do a Google search for 'standalone django' or use
sqlalchemy.
Best regards,
Stijn Verholen
On Sat, 28 Aug 2021, 22:49 Kasper Laudrup, wrote:
> On 28/08/2021 01.55, Thuan Nguyen Thi Bích wrote:
Hello,
I think this behaviour is absolut normal. When you create on a
databasesystem a datefield and make a insert with this field with string
'2021-08-21' then databasesystem convert this string automatical into
date...
So i think this has nothing to do with python/django and this behaviour i
wo
4 matches
Mail list logo