gregmuellegger / django-mobile

Detect mobile browsers and serve different template flavours to them.
http://pypi.python.org/pypi/django-mobile
BSD 3-Clause "New" or "Revised" License
560 stars 170 forks source link

CachedLoader is broken on Django 1.7 #50

Closed igalarzab closed 9 years ago

igalarzab commented 10 years ago

Django has changed the way it finds templates [1] in Django 1.7 and now it's necessary to overwrite find_template to recreate the key, prepending the flavour as in load_template.

[1] https://github.com/django/django/blob/master/django/template/loaders/cached.py#L36

gregmuellegger commented 9 years ago

Ok I see. I'm not really using it at the moment so I won't have the time fixing it. Would you like to make up a pull request for this?

igalarzab commented 9 years ago

I submitted the PR #51 fixing this issue in a compatible way with older versions of django

connorgorman commented 9 years ago

Was this ever merged?

gregmuellegger commented 9 years ago

It was just merged :) Sorry for the long wait.