Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #358 from aldryn/fix/appconfig-publish
Browse files Browse the repository at this point in the history
appconfig: also set publish-default to False
  • Loading branch information
Chive committed Feb 12, 2016
2 parents 3f4aaa1 + cb9588b commit 1614eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aldryn_newsblog/cms_appconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,5 +127,5 @@ class Meta:
class NewsBlogConfigForm(AppDataForm):
default_published = forms.BooleanField(
label=_(u'Post published by default'), required=False,
initial=getattr(settings, 'ALDRYN_NEWSBLOG_DEFAULT_PUBLISHED', True))
initial=getattr(settings, 'ALDRYN_NEWSBLOG_DEFAULT_PUBLISHED', False))
setup_config(NewsBlogConfigForm, NewsBlogConfig)

0 comments on commit 1614eb6

Please sign in to comment.