mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
18 lines
522 B
Python
18 lines
522 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class HelpdeskConfig(AppConfig):
|
|
name = 'helpdesk'
|
|
verbose_name = "Helpdesk"
|
|
# for Django 3.2 support:
|
|
# see:
|
|
# https://docs.djangoproject.com/en/3.2/ref/applications/#django.apps.AppConfig.default_auto_field
|
|
default_auto_field = 'django.db.models.AutoField'
|
|
|
|
def ready(self):
|
|
from . import webhooks # noqa: F401
|
|
|
|
from django.db.models.fields import Field
|
|
from helpdesk.orm_operators import NotIn
|
|
Field.register_lookup(NotIn)
|