Make images ImageFields and not strings with some magic #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The image field for Content here is defined as a CharField: https://code.with.camp/CAMP/camp/src/master/content/models.py#L79
This should be changed to an ImageField and data migrations performed appropriately.
Are there other instances where image fields have the wrong type defined in the models?
think its only that one case, all access to the field should already go via image_url https://code.with.camp/CAMP/camp/src/master/content/models.py#L124