About Domain for Local Website
You can set a domain for your local Django website in the /etc/hosts
:
1 |
|
Then run the Django development server with that domain:
1 |
|
That's useful for distinguishing cookies between local projects.
Tips and Tricks Dev Ops Development 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.