[Pkg-mailman-hackers] Bug#924330: Bug#924330: postinst function django_config_site() broken

Jonas Meurer jonas at freesources.org
Tue Mar 12 12:18:33 GMT 2019


Control: severity -1 grave

Jonas Meurer:
> the postinst function django_config_site() is broken, we need to
> rewrite it.
> 
> At the moment, it tries to read (and update) the default django site
> domain by using `Site.objects.all()[0]`, which seems to be wrong. If at
> all, then `Site.objects.last()` seems to be the default django site
> domain (i.e. first one that got created), but even that one seems
> error-prone.

Apparently, the error can even lead to a custom django site domain being
overwritten by debconf.

I'm raising the bug severity for that reason.

Cheers
 jonas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20190312/2f108171/attachment.sig>


More information about the Pkg-mailman-hackers mailing list