hovel / imagestore

Django gallery solution.
BSD 3-Clause "New" or "Revised" License
164 stars 71 forks source link

Could you pls update to Django 1.10? #67

Closed TitanFighter closed 7 years ago

TitanFighter commented 8 years ago

When saving image, error appears:

Exception Value: Cannot force an update in save() with no primary key.
Exception Location: /home/simsim/www/testproject/lib/python3.5/site-packages/django/db/models/base.py in _save_table, line 880

With Django 1.9.9 everything is ok

Thank you.

lampslave commented 7 years ago

What version are you using? Try install it from current master branch.

TitanFighter commented 7 years ago

When I tried to use imagestore 6 months ago, I tried the master branch. As I can see, since that time nothing changed because the last commit was 9 months ago.

lampslave commented 7 years ago

Yes, but all tests passed with 1.10 https://travis-ci.org/hovel/imagestore/builds/216934436

TitanFighter commented 7 years ago

Strange. Initially I added Imagestore to my existing project which was based on Django 1.10. When I got the error above, If I remember correctly, I rechecked using fresh instalation of Django 1.10 and got the same error. Then I rechecked with fresh 1.9 and everything was ok.

lampslave commented 7 years ago

Maybe it was a bug in django? https://code.djangoproject.com/ticket/27419 Anyway I need more info to reproduce.

TitanFighter commented 7 years ago

I will check again later this week and inform you.

lampslave commented 7 years ago

Release 3.0.0 on pypi. 1.10 pass all tests. Feel free to reopen if need.