1

Many 'reusable apps' require django-sites. There is annoying field "publish on" in admin interface, which I can't exclude because it has no default parameter (so the entry will be published nowhere. I tried). The model is described in the 'reusable app' so I don't want to change it.

How can I get rid of this annoying field?

1 Answer 1

1

Catching the pre_save signal will allow you to inject a default value.

Sign up to request clarification or add additional context in comments.

1 Comment

oh! docs.djangoproject.com/en/dev/topics/db/models/… maybe even this will work. thanks!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.