diff --git a/pootle/settings/90-dev-local.conf.sample b/pootle/settings/90-dev-local.conf.sample index a4d2bc4db7e..4117eb8f2d8 100644 --- a/pootle/settings/90-dev-local.conf.sample +++ b/pootle/settings/90-dev-local.conf.sample @@ -180,4 +180,5 @@ SILENCED_SYSTEM_CHECKS = [ 'pootle.W005', # DEBUG = True 'pootle.W010', # DEFAULT_FROM_EMAIL has default setting 'pootle.W011', # POOTLE_CONTACT_EMAIL has default setting + 'fields.W342', # pootle_store.UnitSource.unit: doesn't use OneToOneField ] diff --git a/pootle/settings/90-local.conf.template b/pootle/settings/90-local.conf.template index 715eace514e..0d564aca264 100644 --- a/pootle/settings/90-local.conf.template +++ b/pootle/settings/90-local.conf.template @@ -245,3 +245,7 @@ POOTLE_MT_BACKENDS = [ TEMPLATES[0]['DIRS'] = [ # working_path(os.path.join('custom', 'templates')), ] + +SILENCED_SYSTEM_CHECKS = [ + 'fields.W342', # pootle_store.UnitSource.unit: doesn't use OneToOneField +]