mod: миграция filer и настройка DEFAULT_AUTO_FIELD в settings

Перевод миграции frontend на более раннюю миграцию filer (0018) и явное указание типа автоинкремента для совместимости.
This commit is contained in:
erjemin committed 2026-11-21 00:00:42 +03:00
1 parent 66c6134540
commit 0c92e2cf2b
3 files changed
+610 -668

No files matched your search

@@ -13,7 +13,7 @@ class Migration(migrations.Migration):
initial = True
dependencies = [
('filer', '0019_alter_clipboard_id_alter_clipboarditem_id_and_more'),
('filer', '0018_alter_file_options'),
migrations.swappable_dependency(settings.FILER_IMAGE_MODEL),
]
+2
View File
@@ -128,6 +128,8 @@ DATABASES = {
}
}
# Тип автоинкрементного поля по умолчанию (совпадает с тем, что у filer в релизе)
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
# Password validation
# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators