protohaus / django-timescale

A test showing TimescaleDB integrated into a Django application
MIT License
15 stars 0 forks source link

Save #1

Open zned45 opened 3 years ago

zned45 commented 3 years ago

Thanks for this.

Have you faced any issues with this?

When I try to save object programatically they are not saved. If done by admin is all good.

Any sugggestion Regards.

moritz89 commented 3 years ago

Hey, until now I've only used admin users. However, I have test cases running over the code that do not indicate a problem: https://github.com/protohaus/sdg-server/blob/main/core/farms/tests/test_data_point_model.py#L43

zned45 commented 3 years ago

Made a few more tests. It works with bulk_create but not create. Which Django version are you using?

moritz89 commented 3 years ago

I'm currently using django==3.1.4. To see all version information, refer to the Pipfile.lock