mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-18 11:49:56 +02:00
remove unused logger from staff.py
This commit is contained in:
@@ -90,7 +90,6 @@ import helpdesk.views.abstract_views as abstract_views
|
|||||||
from helpdesk.views.permissions import MustBeStaffMixin
|
from helpdesk.views.permissions import MustBeStaffMixin
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
import logging
|
|
||||||
from rest_framework import status
|
from rest_framework import status
|
||||||
from rest_framework.decorators import api_view
|
from rest_framework.decorators import api_view
|
||||||
import typing
|
import typing
|
||||||
@@ -100,8 +99,6 @@ from django.utils.timezone import now
|
|||||||
if helpdesk_settings.HELPDESK_KB_ENABLED:
|
if helpdesk_settings.HELPDESK_KB_ENABLED:
|
||||||
from helpdesk.models import KBItem
|
from helpdesk.models import KBItem
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
DATE_RE: re.Pattern = re.compile(
|
DATE_RE: re.Pattern = re.compile(
|
||||||
r"(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<year>\d{4})$"
|
r"(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<year>\d{4})$"
|
||||||
|
Reference in New Issue
Block a user