Skip to content

Commit bd8799f

Browse files
committed
Update csrf_protect_m import for Django 6.0
Django 6.0 removes contrib.auth.admin.csrf_protect_m: https://github.com/django/django/pull/18466/files
1 parent 8ca39b9 commit bd8799f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_typesense/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import logging
22

33
from django.contrib import admin
4-
from django.contrib.auth.admin import csrf_protect_m
4+
from django.contrib.admin.options import csrf_protect_m
55
from django.db.models import QuerySet
66
from django.forms import forms
77
from django.http import JsonResponse

0 commit comments

Comments
 (0)