Closed mgax closed 10 months ago
@ghwood - Do we have a requirement to be able to post an authorless blog article?
Do we have a requirement to be able to post an authorless blog article?
To be clear, it's still possible to have no authors attached to the blog post. This change only means that, when adding an author relationship, it must point to an actual author (i.e. the author field of the relationship may not be NULL).
We need to be able to have posts that appear like this: https://www.ietf.org/blog/chairs-training-2023/ where no authors are specified :
Right - and Alex confirms that's possible.
Fixes https://github.com/ietf-tools/wagtail_website/issues/238
There are currently no
NULL
values forBlogPageAuthor.author
in the database. I've made theauthor
field required, as there seems to be no point in having an author entry with no author.