Swing Cookie ...
After installing the package, you can add swing_cookie to your INSTALLED_APPS and include the views in your project’s URLs.
# settings.py
INSTALLED_APPS = [
...
'swing_cookie',
...
]
# urls.py
from django.urls import path
from swing_cookie.views import cookie_consent_view
urlpatterns = [
path('cookie-consent/', cookie_consent_view, name='cookie_consent'),
]
Made with ❤️ by Scape Agency
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the BSD-3-Clause license. See the LICENSE file for details.