Comments (3)
Hi pigletto - it sounds like you haven't run the south migrations. Storage is no longer a separate table.
If you're using mysql though, I think the migrations are screwed up. You'll want to follow issue 45 if that's the case.
from easy-thumbnails.
I did a fresh install of easy_thumbnails. I did both syncd and migrate and I use PostgreSQL.
After running syncdb and migrate (no errors) I have these tables in database: easy_thumnbails_source, easy_thumnbails_storage and easy_thumbnails_thumbnail. The storage_id (integer not null) column exists in easy_thumbnails_source.
You say that there is no longer separate table for storage, but from migration files it seems to me that:
- migration 0003 creates table storage_new
- migration 0009 deletes table storage
- migration 0010 renames storage_new to storage
so there still exists storage table.
I've looked into issue 45 and checked code for migration: 0010_rename_storage.py.
Seems to me that foreign key to storage is only removed for mysql now.
from easy-thumbnails.
Thanks for your investigations. It does seem like I lost a very important migration somewhere along the way :-/
In any case, I've just pushed a change (35d1d3f) which adds in migration 0013 that should get the definitions to where they should be.
from easy-thumbnails.
Related Issues (20)
- Reportlab dependency causes security warning HOT 9
- Cant install easy-thumbnails with Poetry and Django 4 HOT 4
- Template fails to render due to ZeroDivisionError when input is corrupted
- ContentFile without a name breaks easy_thumbnails
- ANTIALIAS is deprecated and will be removed in Pillow 10
- svglib dependency is missing HOT 9
- Imoprt error
- Django 4.1 template tag 'thumbnail' conflict with sorl-thumbnails
- Saving TIFF image raises Value error HOT 2
- How to force a single field to convert the thumbails to JPG even if PNG with alpha was provided
- DeprecationWarning from get_storage_class HOT 1
- Lots of duplicated queries HOT 1
- Support for pillow >= 10.0.0.0 HOT 1
- SVG File.width - This backend doesn't support absolute paths. HOT 2
- ZeroDivisionError when thumbnail is passed a 0x0 SVG HOT 1
- Increase File name field length HOT 1
- Allow use of new Django4.2 STORAGE config
- animated gifs - preserve animation, as PIL/Pillow supports it HOT 3
- up to date docs?
- Data too long on serving thumbnails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy-thumbnails.