pinax / pinax-blog

a blog app for Django
MIT License
465 stars 153 forks source link

Fixes an issue with post creation when certain ImageSet objects exist #118

Closed brendanwood closed 4 years ago

brendanwood commented 6 years ago

Fixed an issue that caused post creation to fail if there was an ImageSet with a null Post reference. To reproduce the issue before merging, create an ImageSet while leaving the Post field null. Then try creating a Post and you'll get an error like so:

ValidationError at /admin/blog/post/add/ {'image_set': ['This field cannot be null.']}

KatherineMichel commented 4 years ago

@brendanwood Sorry this was not dealt with within the timeframe. Pinax has been overrun with stale issues and PRs and we are just starting to get a handle on it now that the new release is done.