mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-09-05 01:15:04 +00:00
Forgot this in the migration op
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
from django.conf import settings
|
||||
from django.db import migrations
|
||||
from django.db import models
|
||||
|
||||
|
||||
def clear_implicit_ai_disabled(apps, schema_editor):
|
||||
if not settings.AI_ENABLED:
|
||||
return
|
||||
|
||||
application_configuration = apps.get_model(
|
||||
"paperless",
|
||||
"ApplicationConfiguration",
|
||||
|
||||
Reference in New Issue
Block a user