some1ataplace

Results 96 comments of some1ataplace

Did not test this but maybe it can help someone make a PR. 1. Create a custom cache class that inherits from cache.RedisCache and overrides the add() and set() methods...

The docs should be updated stating that this is a requirement by law to have some sort of logging being done on user acceptance/decline of cookies, whether that be at...

I think we have to implement something and/or provide guidance on logging no matter what, whether we like it or not. The major players in the cookie consent business (CookieYes,...

The cookiebar.js file in django-cookie-consent is responsible for displaying a cookie consent message to website visitors. This message informs users that the website uses cookies and requests their consent to...

A signed cookie is a type of cookie that is signed using a secret key to ensure that the cookie has not been tampered with. In web applications, cookies are...

https://github.com/openwisp/django-swappable-models To create swappable models for the Django Cookie Consent app, you can follow these steps: 1. Create a new Django app in your project called cookie_consent_custom or something similar....

@sergei-maertens What if the user needed more than 1 JSON Field? It may take a beginner a lot longer trying to figure out what you said to do in your...

cookie_consent_tags.py: ``` from cookie_consent.models import CookieGroup @register.simple_tag() def only_required_cookie_groups_exists(): if CookieGroup.objects.filter(is_required=False).count() == 0 and CookieGroup.objects.filter(is_required=True).count() > 0: return True else: return False ``` test_page.html: `{% only_required_cookie_groups_exists %}` Util.py not_accepted_or_declined_cookie_groups: get_cookie_groups()...

Create a new model in your models.py file extending the robots.models.Rule class. Apply the required ordering logic by adding the ordering option in the Meta class. ``` from django.db import...

To allow multiple TINYMCE_DEFAULT_CONFIG settings in django-tinymce and also provide an option to replace the default config entirely instead of merging its keys with the default, you can modify the...