diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:51:46 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:51:46 -0700 |
commit | d03c8d2d2efaf848b01e96863c29f46ce3a0db21 (patch) | |
tree | 2c4ed69f5ad989074264c6dc66b14770664fa9cb /tagging/settings.py | |
parent | 3b9f21a55fed735652716e63fedabad87899be81 (diff) | |
download | python-django-tagging-d03c8d2d2efaf848b01e96863c29f46ce3a0db21.tar python-django-tagging-d03c8d2d2efaf848b01e96863c29f46ce3a0db21.tar.gz |
Imported Upstream version 0.2.1+svn147upstream/0.2.1+svn147
Diffstat (limited to 'tagging/settings.py')
-rw-r--r-- | tagging/settings.py | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tagging/settings.py b/tagging/settings.py index 78da3af..1d6224c 100644 --- a/tagging/settings.py +++ b/tagging/settings.py @@ -1,13 +1,13 @@ -"""
-Convenience module for access of custom tagging application settings,
-which enforces default settings when the main settings module does not
-contain the appropriate settings.
-"""
-from django.conf import settings
-
-# The maximum length of a tag's name.
-MAX_TAG_LENGTH = getattr(settings, 'MAX_TAG_LENGTH', 50)
-
-# Whether to force all tags to lowercase before they are saved to the
-# database.
-FORCE_LOWERCASE_TAGS = getattr(settings, 'FORCE_LOWERCASE_TAGS', False)
+""" +Convenience module for access of custom tagging application settings, +which enforces default settings when the main settings module does not +contain the appropriate settings. +""" +from django.conf import settings + +# The maximum length of a tag's name. +MAX_TAG_LENGTH = getattr(settings, 'MAX_TAG_LENGTH', 50) + +# Whether to force all tags to lowercase before they are saved to the +# database. +FORCE_LOWERCASE_TAGS = getattr(settings, 'FORCE_LOWERCASE_TAGS', False) |