Closed wolfg1969 closed 6 years ago
Seems like that is a matter of implementing the get_contents
method on the mobile loader. See here: https://github.com/django/django/blob/master/django/template/loaders/base.py#L104
I think I won't get to that soonish.
@wolfg1969 would you like to create a pull request to solve this issue?
ok, I'll try it.
I have customizedd admin page by extending 'admin/base_site.html' template. The admin page is broken after add 'django_mobile.loader.Loader' to loaders of TEMPLATES settings. The error is 'ExtendsError: Cannot extend templates recursively when using non-recursive template loaders'.
My TEMPLATES Settings is below: