Aggiornato con i contenuti del remoto al 07/03/2024
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import models, migrations
|
||||
|
||||
import colorfield.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = []
|
||||
|
||||
operations = [
|
||||
@@ -24,202 +18,237 @@ class Migration(migrations.Migration):
|
||||
primary_key=True,
|
||||
),
|
||||
),
|
||||
("name", models.CharField(default=b"Django", max_length=50)),
|
||||
("active", models.BooleanField(default=True)),
|
||||
(
|
||||
"name",
|
||||
models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
),
|
||||
),
|
||||
(
|
||||
"active",
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"title",
|
||||
models.CharField(
|
||||
default=b"Django administration", max_length=50, blank=True
|
||||
default="Django administration",
|
||||
max_length=50,
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"title_visible",
|
||||
models.BooleanField(default=True, verbose_name=b"visible"),
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
(
|
||||
"logo",
|
||||
models.FileField(upload_to=b"admin-interface/logo/", blank=True),
|
||||
models.FileField(
|
||||
upload_to="admin-interface/logo/",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"logo_visible",
|
||||
models.BooleanField(default=True, verbose_name=b"visible"),
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#0C4B33",
|
||||
help_text=b"#0C4B33",
|
||||
default="#0C4B33",
|
||||
help_text="#0C4B33",
|
||||
max_length=10,
|
||||
verbose_name=b"background color",
|
||||
verbose_name="background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_title_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#F5DD5D",
|
||||
help_text=b"#F5DD5D",
|
||||
default="#F5DD5D",
|
||||
help_text="#F5DD5D",
|
||||
max_length=10,
|
||||
verbose_name=b"title color",
|
||||
verbose_name="title color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#44B78B",
|
||||
help_text=b"#44B78B",
|
||||
default="#44B78B",
|
||||
help_text="#44B78B",
|
||||
max_length=10,
|
||||
verbose_name=b"text color",
|
||||
verbose_name="text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name=b"link color",
|
||||
verbose_name="link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_header_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#C9F0DD",
|
||||
help_text=b"#C9F0DD",
|
||||
default="#C9F0DD",
|
||||
help_text="#C9F0DD",
|
||||
max_length=10,
|
||||
verbose_name=b"link hover color",
|
||||
verbose_name="link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#44B78B",
|
||||
help_text=b"#44B78B",
|
||||
default="#44B78B",
|
||||
help_text="#44B78B",
|
||||
max_length=10,
|
||||
verbose_name=b"background color",
|
||||
verbose_name="background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name=b"text color",
|
||||
verbose_name="text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name=b"link color",
|
||||
verbose_name="link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#C9F0DD",
|
||||
help_text=b"#C9F0DD",
|
||||
default="#C9F0DD",
|
||||
help_text="#C9F0DD",
|
||||
max_length=10,
|
||||
verbose_name=b"link hover color",
|
||||
verbose_name="link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_module_rounded_corners",
|
||||
models.BooleanField(default=True, verbose_name=b"rounded corners"),
|
||||
models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_generic_link_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#0C3C26",
|
||||
help_text=b"#0C3C26",
|
||||
default="#0C3C26",
|
||||
help_text="#0C3C26",
|
||||
max_length=10,
|
||||
verbose_name=b"link color",
|
||||
verbose_name="link color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_generic_link_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#156641",
|
||||
help_text=b"#156641",
|
||||
default="#156641",
|
||||
help_text="#156641",
|
||||
max_length=10,
|
||||
verbose_name=b"link hover color",
|
||||
verbose_name="link hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#0C4B33",
|
||||
help_text=b"#0C4B33",
|
||||
default="#0C4B33",
|
||||
help_text="#0C4B33",
|
||||
max_length=10,
|
||||
verbose_name=b"background color",
|
||||
verbose_name="background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_background_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#0C3C26",
|
||||
help_text=b"#0C3C26",
|
||||
default="#0C3C26",
|
||||
help_text="#0C3C26",
|
||||
max_length=10,
|
||||
verbose_name=b"background hover color",
|
||||
verbose_name="background hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_save_button_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name=b"text color",
|
||||
verbose_name="text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_background_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#BA2121",
|
||||
help_text=b"#BA2121",
|
||||
default="#BA2121",
|
||||
help_text="#BA2121",
|
||||
max_length=10,
|
||||
verbose_name=b"background color",
|
||||
verbose_name="background color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_background_hover_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#A41515",
|
||||
help_text=b"#A41515",
|
||||
default="#A41515",
|
||||
help_text="#A41515",
|
||||
max_length=10,
|
||||
verbose_name=b"background hover color",
|
||||
verbose_name="background hover color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"css_delete_button_text_color",
|
||||
colorfield.fields.ColorField(
|
||||
default=b"#FFFFFF",
|
||||
help_text=b"#FFFFFF",
|
||||
default="#FFFFFF",
|
||||
help_text="#FFFFFF",
|
||||
max_length=10,
|
||||
verbose_name=b"text color",
|
||||
verbose_name="text color",
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
("css", models.TextField(blank=True)),
|
||||
("list_filter_dropdown", models.BooleanField(default=False)),
|
||||
(
|
||||
"css",
|
||||
models.TextField(
|
||||
blank=True,
|
||||
),
|
||||
),
|
||||
(
|
||||
"list_filter_dropdown",
|
||||
models.BooleanField(
|
||||
default=False,
|
||||
),
|
||||
),
|
||||
],
|
||||
options={
|
||||
"verbose_name": "Theme",
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
import colorfield.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0001_initial"),
|
||||
]
|
||||
@@ -17,22 +11,28 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(default=False, verbose_name=b"use dropdown"),
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_active",
|
||||
field=models.BooleanField(default=True, verbose_name=b"active"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_background_color",
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default=b"#000000",
|
||||
help_text=b"#000000",
|
||||
default="#000000",
|
||||
help_text="#000000",
|
||||
max_length=10,
|
||||
verbose_name=b"background color",
|
||||
verbose_name="background color",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
@@ -40,24 +40,27 @@ class Migration(migrations.Migration):
|
||||
name="related_modal_background_opacity",
|
||||
field=models.FloatField(
|
||||
choices=[
|
||||
(0.1, b"10%"),
|
||||
(0.2, b"20%"),
|
||||
(0.3, b"30%"),
|
||||
(0.4, b"40%"),
|
||||
(0.5, b"50%"),
|
||||
(0.6, b"60%"),
|
||||
(0.7, b"70%"),
|
||||
(0.8, b"80%"),
|
||||
(0.9, b"90%"),
|
||||
(0.1, "10%"),
|
||||
(0.2, "20%"),
|
||||
(0.3, "30%"),
|
||||
(0.4, "40%"),
|
||||
(0.5, "50%"),
|
||||
(0.6, "60%"),
|
||||
(0.7, "70%"),
|
||||
(0.8, "80%"),
|
||||
(0.9, "90%"),
|
||||
],
|
||||
default=0.2,
|
||||
help_text=b"20%",
|
||||
verbose_name=b"background opacity",
|
||||
help_text="20%",
|
||||
verbose_name="background opacity",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="related_modal_rounded_corners",
|
||||
field=models.BooleanField(default=True, verbose_name=b"rounded corners"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0002_add_related_modal"),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0003_add_logo_color"),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0004_rename_title_color"),
|
||||
]
|
||||
@@ -15,6 +10,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="recent_actions_visible",
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0005_add_recent_actions_visible"),
|
||||
]
|
||||
@@ -149,7 +143,10 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="css_module_rounded_corners",
|
||||
field=models.BooleanField(default=True, verbose_name="rounded corners"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
@@ -198,22 +195,34 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(default=False, verbose_name="use dropdown"),
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="logo_visible",
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(default="Django", max_length=50),
|
||||
field=models.CharField(
|
||||
default="Django",
|
||||
max_length=50,
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="related_modal_active",
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
@@ -249,13 +258,18 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="related_modal_rounded_corners",
|
||||
field=models.BooleanField(default=True, verbose_name="rounded corners"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="rounded corners",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="title",
|
||||
field=models.CharField(
|
||||
blank=True, default="Django administration", max_length=50
|
||||
blank=True,
|
||||
default="Django administration",
|
||||
max_length=50,
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
@@ -272,6 +286,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="title_visible",
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0006_bytes_to_str"),
|
||||
]
|
||||
|
||||
@@ -1,19 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0007_add_favicon"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name="theme", name="related_modal_background_opacity"
|
||||
model_name="theme",
|
||||
name="related_modal_background_opacity",
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0008_change_related_modal_background_opacity_type"),
|
||||
]
|
||||
@@ -30,6 +25,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="env_visible",
|
||||
field=models.BooleanField(default=True, verbose_name="visible"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="visible",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0009_add_enviroment"),
|
||||
]
|
||||
@@ -15,12 +10,18 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="active",
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="css",
|
||||
field=models.TextField(blank=True, verbose_name="text color"),
|
||||
field=models.TextField(
|
||||
blank=True,
|
||||
verbose_name="text color",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
@@ -51,7 +52,9 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(
|
||||
default="Django", max_length=50, verbose_name="name"
|
||||
default="Django",
|
||||
max_length=50,
|
||||
verbose_name="name",
|
||||
),
|
||||
),
|
||||
migrations.AlterField(
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0010_add_localization"),
|
||||
]
|
||||
@@ -22,7 +16,11 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="env_name",
|
||||
field=models.CharField(blank=True, max_length=50, verbose_name="name"),
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
max_length=50,
|
||||
verbose_name="name",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
@@ -30,7 +28,10 @@ class Migration(migrations.Migration):
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#E74C3C",
|
||||
help_text="(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, green: #2ECC71, blue: #3498DB)",
|
||||
help_text=(
|
||||
"(red: #E74C3C, orange: #E67E22, yellow: #F1C40F, "
|
||||
"green: #2ECC71, blue: #3498DB)"
|
||||
),
|
||||
max_length=10,
|
||||
verbose_name="color",
|
||||
),
|
||||
@@ -44,14 +45,16 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="env_visible_in_header",
|
||||
field=models.BooleanField(
|
||||
default=True, verbose_name="visible in header (marker and name)"
|
||||
default=True,
|
||||
verbose_name="visible in header (marker and name)",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="env_visible_in_favicon",
|
||||
field=models.BooleanField(
|
||||
default=True, verbose_name="visible in favicon (marker)"
|
||||
default=True,
|
||||
verbose_name="visible in favicon (marker)",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0011_add_environment_options"),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0012_update_verbose_names"),
|
||||
]
|
||||
@@ -16,7 +11,8 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="related_modal_close_button_visible",
|
||||
field=models.BooleanField(
|
||||
default=True, verbose_name="close button visible"
|
||||
default=True,
|
||||
verbose_name="close button visible",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0013_add_related_modal_close_button"),
|
||||
]
|
||||
@@ -16,7 +11,10 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="name",
|
||||
field=models.CharField(
|
||||
default="Django", max_length=50, unique=True, verbose_name="name"
|
||||
default="Django",
|
||||
max_length=50,
|
||||
unique=True,
|
||||
verbose_name="name",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0014_name_unique"),
|
||||
]
|
||||
@@ -15,6 +10,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="language_chooser_active",
|
||||
field=models.BooleanField(default=True, verbose_name="active"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="active",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0015_add_language_chooser_active"),
|
||||
]
|
||||
@@ -16,7 +11,10 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="language_chooser_display",
|
||||
field=models.CharField(
|
||||
choices=[("code", "code"), ("name", "name")],
|
||||
choices=[
|
||||
("code", "code"),
|
||||
("name", "name"),
|
||||
],
|
||||
default="code",
|
||||
max_length=10,
|
||||
verbose_name="display",
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0016_add_language_chooser_display"),
|
||||
]
|
||||
@@ -15,6 +10,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AlterField(
|
||||
model_name="theme",
|
||||
name="list_filter_dropdown",
|
||||
field=models.BooleanField(default=True, verbose_name="use dropdown"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="use dropdown",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0017_change_list_filter_dropdown"),
|
||||
]
|
||||
@@ -15,6 +10,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_sticky",
|
||||
field=models.BooleanField(default=True, verbose_name="sticky position"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="sticky position",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0018_theme_list_filter_sticky"),
|
||||
]
|
||||
@@ -15,11 +10,17 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="form_pagination_sticky",
|
||||
field=models.BooleanField(default=False, verbose_name="sticky pagination"),
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="sticky pagination",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="form_submit_sticky",
|
||||
field=models.BooleanField(default=False, verbose_name="sticky submit"),
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="sticky submit",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import colorfield.fields
|
||||
from django.db import migrations
|
||||
from django.db.models import F
|
||||
|
||||
import colorfield.fields
|
||||
|
||||
|
||||
def default_link_selected(apps, schema_editor):
|
||||
Theme = apps.get_model("admin_interface", "Theme")
|
||||
@@ -17,7 +12,6 @@ def default_link_selected(apps, schema_editor):
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0019_add_form_sticky"),
|
||||
]
|
||||
@@ -45,5 +39,5 @@ class Migration(migrations.Migration):
|
||||
verbose_name="link selected color",
|
||||
),
|
||||
),
|
||||
migrations.RunPython(default_link_selected,migrations.RunPython.noop),
|
||||
migrations.RunPython(default_link_selected),
|
||||
]
|
||||
|
||||
@@ -1,14 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from admin_interface.compat import FileExtensionValidator
|
||||
|
||||
from django.core.validators import FileExtensionValidator
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0020_module_selected_colors"),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0021_file_extension_validator"),
|
||||
]
|
||||
@@ -16,14 +11,18 @@ class Migration(migrations.Migration):
|
||||
model_name="theme",
|
||||
name="logo_max_height",
|
||||
field=models.PositiveSmallIntegerField(
|
||||
blank=True, default=100, verbose_name="max height"
|
||||
blank=True,
|
||||
default=100,
|
||||
verbose_name="max height",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="logo_max_width",
|
||||
field=models.PositiveSmallIntegerField(
|
||||
blank=True, default=400, verbose_name="max width"
|
||||
blank=True,
|
||||
default=400,
|
||||
verbose_name="max width",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0022_add_logo_max_width_and_height"),
|
||||
]
|
||||
@@ -15,6 +10,9 @@ class Migration(migrations.Migration):
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="foldable_apps",
|
||||
field=models.BooleanField(default=True, verbose_name="foldable apps"),
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="foldable apps",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0023_theme_foldable_apps"),
|
||||
]
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0024_remove_theme_css"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="language_chooser_control",
|
||||
field=models.CharField(
|
||||
choices=[
|
||||
("default-select", "Default Select"),
|
||||
("minimal-select", "Minimal Select"),
|
||||
],
|
||||
default="default-select",
|
||||
max_length=20,
|
||||
verbose_name="control",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0025_theme_language_chooser_control"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_highlight",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="highlight active",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0026_theme_list_filter_highlight"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="list_filter_removal_links",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="quick remove links for active filters at top of sidebar",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0027_theme_list_filter_removal_links"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_fieldsets_as_tabs",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="fieldsets as tabs",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_inlines_as_tabs",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="inlines as tabs",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
import colorfield.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0028_theme_show_fieldsets_as_tabs_and_more"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="css_generic_link_active_color",
|
||||
field=colorfield.fields.ColorField(
|
||||
blank=True,
|
||||
default="#29B864",
|
||||
help_text="#29B864",
|
||||
image_field=None,
|
||||
max_length=10,
|
||||
samples=None,
|
||||
verbose_name="link active color",
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,42 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("admin_interface", "0029_theme_css_generic_link_active_color"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_stacked_inlines",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="collapsible stacked inlines",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_stacked_inlines_collapsed",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="collapsible stacked inlines collapsed",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_tabular_inlines",
|
||||
field=models.BooleanField(
|
||||
default=False,
|
||||
verbose_name="collapsible tabular inlines",
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="collapsible_tabular_inlines_collapsed",
|
||||
field=models.BooleanField(
|
||||
default=True,
|
||||
verbose_name="collapsible tabular inlines collapsed",
|
||||
),
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -8,7 +8,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0024_remove_theme_css"),
|
||||
("admin_interface", "0030_theme_default"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
+1
-1
@@ -8,7 +8,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0025_add_demo_option"),
|
||||
("admin_interface", "0031_add_demo_option"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
+1
-1
@@ -9,7 +9,7 @@ class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('admin_interface', '0026_add_user_option'),
|
||||
('admin_interface', '0032_add_user_option'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
+1
-1
@@ -6,7 +6,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0027_usertheme_m2m'),
|
||||
('admin_interface', '0033_usertheme_m2m'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
+1
-1
@@ -19,7 +19,7 @@ def reverse(apps, schema_editor):
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0028_alter_theme_demo'),
|
||||
('admin_interface', '0034_alter_theme_demo'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
+1
-1
@@ -6,7 +6,7 @@ from django.db import migrations, models
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('admin_interface', '0029_auto_20221025_1559'),
|
||||
('admin_interface', '0035_auto_20221025_1559'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
Reference in New Issue
Block a user