mod: миграция filer и настройка DEFAULT_AUTO_FIELD в settings
Перевод миграции frontend на более раннюю миграцию filer (0018) и явное указание типа автоинкремента для совместимости.
This commit is contained in:
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
|
initial = True
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('filer', '0019_alter_clipboard_id_alter_clipboarditem_id_and_more'),
|
('filer', '0018_alter_file_options'),
|
||||||
migrations.swappable_dependency(settings.FILER_IMAGE_MODEL),
|
migrations.swappable_dependency(settings.FILER_IMAGE_MODEL),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,8 @@ DATABASES = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Тип автоинкрементного поля по умолчанию (совпадает с тем, что у filer в релизе)
|
||||||
|
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
|
||||||
|
|
||||||
# Password validation
|
# Password validation
|
||||||
# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators
|
# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators
|
||||||
|
|||||||
Generated
+607
-667
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user