Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADD_DEFAULT_SITE not working (despite tests passing) #49

Open
jnns opened this issue Mar 25, 2014 · 1 comment
Open

ADD_DEFAULT_SITE not working (despite tests passing) #49

jnns opened this issue Mar 25, 2014 · 1 comment

Comments

@jnns
Copy link
Contributor

jnns commented Mar 25, 2014

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
Copy link
Contributor

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants