About Restricting a Feature under Development to Particular IPs
You can restrict a feature under development to particular IPs with django-ipware
and such a middleware:
app_x/middleware.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
settings.py
1 2 3 4 5 6 |
|
templates/index.html
1 2 3 4 5 6 7 |
|
Tips and Tricks Programming Django 4.2 Django 3.2 Django 2.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django GDPR Cookie Consent app
For Django websites that use cookies.