X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0bd51a33b9ffe994541ccd02fc850d47ac82ccec..0e9ce396fab5cdfc2f1806bae43f05de77cb1e21:/doc/conf.py diff --git a/doc/conf.py b/doc/conf.py index edbc49f6e..65632658d 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -18,15 +18,13 @@ import sys, os # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) sys.path += [ - os.path.abspath('../wolnelektury'), + os.path.abspath('..'), os.path.abspath('../apps'), os.path.abspath('../lib'), os.path.abspath('../lib/librarian'), ] -from django.core.management import setup_environ -import settings -setup_environ(settings) +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "wolnelektury.settings") @@ -53,7 +51,7 @@ master_doc = 'index' # General information about the project. project = u'Wolne Lektury' -copyright = u'2007-2012, Fundacja Nowoczesna Polska' +copyright = u'2007-2014, Fundacja Nowoczesna Polska' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the