sphinx_django/settings.py
changeset 3 de4a2ed2f34b
parent 2 f5e18f8ed036
--- a/sphinx_django/settings.py	Fri Oct 15 15:59:28 2010 +0530
+++ b/sphinx_django/settings.py	Wed Oct 27 13:59:11 2010 +0530
@@ -1,4 +1,5 @@
 # Django settings for sphinx_django project.
+import os
 
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
@@ -66,16 +67,17 @@
 ROOT_URLCONF = 'sphinx_django.urls'
 
 
-
+templates=os.path.join(os.getcwd(),'templates')
 
 TEMPLATE_DIRS = (
-    "/home/amit/review/sphinx_django/templates/"
+   templates
     
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
 )
-
+# Path of your sphinx static files 
+SPHINX_PROJECT = '/home/amit/review/sttp_com/_build/html'
 INSTALLED_APPS = (
     'django.contrib.admin',
     'django.contrib.auth',