Browse Source

django: Fix template directory setting.

INADA Naoki 11 years ago
parent
commit
55309fa52f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      django/hello/hello/settings.py

+ 1 - 1
django/hello/hello/settings.py

@@ -111,7 +111,7 @@ TEMPLATE_DIRS = (
     # 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.
-    "/home/hyoung/FrameworkBenchmarks/django/hello/templates",
+    os.path.expanduser("~/FrameworkBenchmarks/django/hello/templates"),
 )
 
 INSTALLED_APPS = (