Skip to content

swing-collection/swing-cookie

 
 

Repository files navigation

Django Swing Logo

Swing Cookie

Django Swing Collection



Overview

Swing Cookie ...


Usage in a Django Project

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'),
]

Colophon

Made with ❤️ by Scape Agency

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your changes.

License

This project is licensed under the BSD-3-Clause license. See the LICENSE file for details.