sphinx_django/settings.py
changeset 3 de4a2ed2f34b
parent 2 f5e18f8ed036
equal deleted inserted replaced
2:f5e18f8ed036 3:de4a2ed2f34b
     1 # Django settings for sphinx_django project.
     1 # Django settings for sphinx_django project.
       
     2 import os
     2 
     3 
     3 DEBUG = True
     4 DEBUG = True
     4 TEMPLATE_DEBUG = DEBUG
     5 TEMPLATE_DEBUG = DEBUG
     5 
     6 
     6 ADMINS = (
     7 ADMINS = (
    64 )
    65 )
    65 
    66 
    66 ROOT_URLCONF = 'sphinx_django.urls'
    67 ROOT_URLCONF = 'sphinx_django.urls'
    67 
    68 
    68 
    69 
    69 
    70 templates=os.path.join(os.getcwd(),'templates')
    70 
    71 
    71 TEMPLATE_DIRS = (
    72 TEMPLATE_DIRS = (
    72     "/home/amit/review/sphinx_django/templates/"
    73    templates
    73     
    74     
    74     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    75     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
    75     # Always use forward slashes, even on Windows.
    76     # Always use forward slashes, even on Windows.
    76     # Don't forget to use absolute paths, not relative paths.
    77     # Don't forget to use absolute paths, not relative paths.
    77 )
    78 )
    78 
    79 # Path of your sphinx static files 
       
    80 SPHINX_PROJECT = '/home/amit/review/sttp_com/_build/html'
    79 INSTALLED_APPS = (
    81 INSTALLED_APPS = (
    80     'django.contrib.admin',
    82     'django.contrib.admin',
    81     'django.contrib.auth',
    83     'django.contrib.auth',
    82     'django.contrib.contenttypes',
    84     'django.contrib.contenttypes',
    83     'django.contrib.sessions',
    85     'django.contrib.sessions',