Include something like this:
https://browser-update.org/

It'll add a warning on your site that says that they should upgrade their
browser to get the best experience.

Regards,

Andréas

2018-01-06 6:11 GMT+01:00 Ruchit Bhatt <[email protected]>:

> In my new Django project, i am planning to use CSS Grid for template
> layout. To make site responsive without using bootstrap.
>
> So here i want to know how can i block or force to upgrade those browser
> which doesn't support CSS grid ??
>
>
> For testing purpose i tried this in *settings.py* but nothing works
>
>
> DISALLOWED_USER_AGENTS = (re.compile(r'IE\s[0-9]+', re.IGNORECASE), )
>
>
> is there any better way to do this ? where i can force user to upgrade
> their browser
>
>
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/ff9aad10-52ad-43c3-b0ed-eb313fc20b28%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ff9aad10-52ad-43c3-b0ed-eb313fc20b28%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCcoVcQgeR-qxq4XtR6Ufp7OMhmWoWiU2pC%2BAjrU_piM3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to