Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django 2.0 TemplateDoesNotExist: grappelli:admin/base.html #14

Open
RecNes opened this issue Mar 30, 2018 · 0 comments
Open

Django 2.0 TemplateDoesNotExist: grappelli:admin/base.html #14

RecNes opened this issue Mar 30, 2018 · 0 comments

Comments

@RecNes
Copy link

RecNes commented Mar 30, 2018

Order of INSTALLED_APPS:

'grappelli_extensions',
'grappelli',
'django.contrib.admin',
...

'APP_DIRS': True, available in TEMPLATES in settings.py

TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ os.path.join(BASE_DIR, 'templates'), ], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', ] }, }, ]

I also tried to disabled 'APP_DIRS' and added the 'apptemplates.Loader' to 'loaders' in 'TEMPLATES' setting.

'loaders': [ 'apptemplates.Loader', ]

But no luck to use grappelli-extensions with Django 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant