فهرست منبع

appVersion
传值

chenjunkai 6 سال پیش
والد
کامیت
6cf704fe37
3فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 2 1
      Ansjer/formal_settings.py
  2. 2 1
      Ansjer/local_settings.py
  3. 2 1
      Ansjer/test_settings.py

+ 2 - 1
Ansjer/formal_settings.py

@@ -55,7 +55,8 @@ APPEND_SLASH = False
 TEMPLATES = [
     {
         'BACKEND': 'django.template.backends.django.DjangoTemplates',
-        'DIRS': [BASE_DIR + '/static/templates', ],
+        # 'DIRS': [BASE_DIR + '/static/templates', ],
+        'DIRS': [BASE_DIR + '/templates', ],
         'APP_DIRS': True,
         'OPTIONS': {
             'context_processors': [

+ 2 - 1
Ansjer/local_settings.py

@@ -56,7 +56,8 @@ APPEND_SLASH = False
 TEMPLATES = [
     {
         'BACKEND': 'django.template.backends.django.DjangoTemplates',
-        'DIRS': [BASE_DIR + '/static/templates', ],
+        # 'DIRS': [BASE_DIR + '/static/templates', ],
+        'DIRS': [BASE_DIR + '/templates', ],
         'APP_DIRS': True,
         'OPTIONS': {
             'context_processors': [

+ 2 - 1
Ansjer/test_settings.py

@@ -56,7 +56,8 @@ APPEND_SLASH = False
 TEMPLATES = [
     {
         'BACKEND': 'django.template.backends.django.DjangoTemplates',
-        'DIRS': [BASE_DIR + '/static/templates', ],
+        # 'DIRS': [BASE_DIR + '/static/templates', ],
+        'DIRS': [BASE_DIR + '/templates', ],
         'APP_DIRS': True,
         'OPTIONS': {
             'context_processors': [