Browse Source

appVersion
传值

chenjunkai 6 năm trước cách đây
mục cha
commit
6cf704fe37
3 tập tin đã thay đổi với 6 bổ sung3 xóa
  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': [