X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e32f55e3ef50d9f7d3a291c2388c5220851a9b4..e9263ed76910227deccdce1469b4edda3b833be1:/doc/conf.py?ds=inline 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