From 9b1b89cc21659967ba3da74de71a91b4d625c4ef Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 22 Oct 2014 01:00:29 -0400 Subject: [PATCH] Remove remaining code/docs about the removed COMMON_DEFAULT_PAPER_SIZE and COMMON_DEFAULT_PAGE_ORIENTATION configuration settings --- docs/topics/settings.rst | 14 -------------- mayan/apps/common/settings.py | 10 ---------- 2 files changed, 24 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 8f002de789..88777a055b 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -339,20 +339,6 @@ and temporary files. If none is specified, one will be created using tempfile.mkdtemp() -.. setting:: COMMON_DEFAULT_PAPER_SIZE - -**COMMON_DEFAULT_PAPER_SIZE** - -Default: ``Letter`` - - -.. setting:: COMMON_DEFAULT_PAGE_ORIENTATION - -**COMMON_DEFAULT_PAGE_ORIENTATION** - -Default: ``Portrait`` - - .. setting:: COMMON_AUTO_CREATE_ADMIN **COMMON_AUTO_CREATE_ADMIN** diff --git a/mayan/apps/common/settings.py b/mayan/apps/common/settings.py index 56ffc63c94..90d71e9d3c 100644 --- a/mayan/apps/common/settings.py +++ b/mayan/apps/common/settings.py @@ -5,8 +5,6 @@ from django.contrib.auth.models import User from smart_settings.api import register_setting -from common.literals import PAGE_ORIENTATION_PORTRAIT - TEMPORARY_DIRECTORY = register_setting( namespace=u'common', module=u'common.settings', @@ -17,14 +15,6 @@ TEMPORARY_DIRECTORY = register_setting( exists=True ) -DEFAULT_PAGE_ORIENTATION = register_setting( - namespace=u'common', - module=u'common.settings', - name=u'DEFAULT_PAGE_ORIENTATION', - global_name=u'COMMON_DEFAULT_PAGE_ORIENTATION', - default=PAGE_ORIENTATION_PORTRAIT, -) - register_setting( namespace=u'common', module=u'common.settings',