-
Notifications
You must be signed in to change notification settings - Fork 169
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
Adding smart watch flavour ? #65
Comments
What have you tried so far? I think it's just adding another name to the # in settings.py
FLAVOURS = ('full', 'mobile', 'tablet') |
Hmm, just like that? I am all lost. |
@sunjoomoon look at the example for tablet detection https://github.com/gregmuellegger/django-mobile/blob/master/examples/middleware.py You should investigate how to detect smart watch browsers (by user-agent or another header), write custom rule and add new flavour to |
Thanks, sorry for long absence. Yes, now it makes sense. |
I am trying out things and wondered how I can add another flavour, from the doc it seems it could be implemented rather easy. Any clue as to how I could do this?
The text was updated successfully, but these errors were encountered: