ADD_DEFAULT_SITE not working (despite tests passing)
jnns opened this issue · 1 comments
jnns commented
The current site is added correctly via the post_save
signal and the tests are working fine for Template creation and updating via the shell, but when saved via a ModelForm (for example through the Django admin), instance.sites
gets cleared shortly after again in form.save_m2m
.
This behaviour is analogous to what's described in Django Ticket 14649.
mpasternak commented
Hi, is the problem still applicable? I don't exactly understand what is wrong here, would you mind submitting a minimal non-working code example?