高橋と申します。

1.8からテンプレートの設定が変更になりましたが、

https://docs.djangoproject.com/en/1.8/ref/templates/upgrading/

を見て、設定ファイルに下記の様に書き込みました。
loaders部分にデフォルト値を設定しました。

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(PROJECT_DIR, "lib", "templates"),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'loaders': [
                'django.template.loaders.filesystem.Loader',
                'django.template.loaders.app_directories.Loader'
            ],
        'debug': True,
        'string_if_invalid': "*** INVALID VALUE ***",
        },
    },
]

すると、

app_dirs must not be set when loaders is defined.

とエラーになりました。

ソースを読んだのですが、ちゃんとチェックされていない気がします。
とは言え、Djangoの動作を熟知しているわけではないのでお知恵を拝借したいと思い、投稿しました。

django-mobileを使用する関係でloadersに追記したいと思っています。

よろしくお願いします。

-- 
Dai Takahashi <dai.takahashi...@gmail.com>

-- 
-- 
-----------------                       http://djangoproject.jp/                
         -----------------
You received this message because you are subscribed to the Google Groups 
"django-ja" group.
To post to this group, send email to django-ja@googlegroups.com
To unsubscribe from this group, send email to 
django-ja-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/django-ja
--- 
このメールは Google グループのグループ「django-ja」の登録者に送られています。
このグループから退会し、グループからのメールの配信を停止するには django-ja+unsubscr...@googlegroups.com 
にメールを送信してください。
その他のオプションについては、https://groups.google.com/d/optout にアクセスしてください。

メールによる返信