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

Commit

Permalink
Shorten verbose_name for NewsblogConfig to 'config', workaround for i…
Browse files Browse the repository at this point in the history
…ntegration tests
  • Loading branch information
Kirill Kniazev committed Sep 15, 2015
1 parent 1e1f5c7 commit fa07317
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aldryn_newsblog/cms_appconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ class NewsBlogConfig(TranslatableModel, AppHookConfig):
def get_app_title(self):
return getattr(self, 'app_title', _('untitled'))

class Meta:
verbose_name = 'config'
verbose_name_plural = 'configs'


class NewsBlogConfigForm(AppDataForm):
default_published = forms.BooleanField(
Expand Down

0 comments on commit fa07317

Please sign in to comment.