Skip to content

Commit

Permalink
🎨 Remove Django 3.2 compatibility layer
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed May 1, 2024
1 parent 177bbc3 commit 084240c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions cookie_consent/compat.py

This file was deleted.

2 changes: 1 addition & 1 deletion cookie_consent/views.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
from django.contrib.auth.views import RedirectURLMixin
from django.core.exceptions import SuspiciousOperation
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect, JsonResponse
from django.middleware.csrf import get_token as get_csrf_token
from django.urls import reverse
from django.utils.http import url_has_allowed_host_and_scheme
from django.views.generic import ListView, View

from .compat import RedirectURLMixin
from .models import CookieGroup
from .util import (
accept_cookies,
Expand Down

0 comments on commit 084240c

Please sign in to comment.