Only for specific region

17 views
Skip to first unread message

Sebastian Jung

unread,
Jul 29, 2019, 9:07:07 PM7/29/19
to Django users
Hello,

I want that my Website only German user can Open it and another User from Others Region a template Show, that they Not live in Germany.

Regards

Aldian Fazrihady

unread,
Jul 29, 2019, 10:03:22 PM7/29/19
to django...@googlegroups.com
Huge app such as Netflix tries to do that, and people always can find workaround. Why do you also want such feature?  Licensing limitation such as Netflix?

--
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 django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3191e21a-4b74-415a-ba1f-8c5dee0ed606%40googlegroups.com.


--
Regards,

Andrew C.

unread,
Jul 29, 2019, 11:39:47 PM7/29/19
to django...@googlegroups.com
Try just searching up “Django ip restrict” or “django ip restriction” or “django ip block”

There are plenty of options out there. As for why this might be needed, you can blame China with all these bot attacks on websites :P It can also be for other reasons.

Sam W

unread,
Jul 30, 2019, 10:43:19 AM7/30/19
to Django users

Use IP2LOCATION to detect the location of the user IP address then you can show pages based on it

Reply all
Reply to author
Forward
0 new messages