diff --git a/plain-cache/plain/cache/migrations/0001_initial.py b/plain-cache/plain/cache/migrations/0001_initial.py index 89c4542ff9..7cfde297af 100644 --- a/plain-cache/plain/cache/migrations/0001_initial.py +++ b/plain-cache/plain/cache/migrations/0001_initial.py @@ -18,7 +18,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ("key", models.CharField(max_length=255, unique=True)), diff --git a/plain-flags/plain/flags/migrations/0001_initial.py b/plain-flags/plain/flags/migrations/0001_initial.py index 301bb15c4b..3813cbfd67 100644 --- a/plain-flags/plain/flags/migrations/0001_initial.py +++ b/plain-flags/plain/flags/migrations/0001_initial.py @@ -22,7 +22,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ( @@ -52,7 +51,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ( diff --git a/plain-models/plain/models/fields/__init__.py b/plain-models/plain/models/fields/__init__.py index eba629615d..0e1b1aaf23 100644 --- a/plain-models/plain/models/fields/__init__.py +++ b/plain-models/plain/models/fields/__init__.py @@ -175,7 +175,6 @@ def __init__( rel=None, default=NOT_PROVIDED, editable=True, - serialize=True, choices=None, db_column=None, db_tablespace=None, @@ -192,7 +191,6 @@ def __init__( self.is_relation = self.remote_field is not None self.default = default self.editable = editable - self.serialize = serialize if isinstance(choices, ChoicesMeta): choices = choices.choices if isinstance(choices, collections.abc.Iterator): @@ -530,7 +528,6 @@ def deconstruct(self): "db_index": False, "default": NOT_PROVIDED, "editable": True, - "serialize": True, "choices": None, "db_column": None, "db_comment": None, diff --git a/plain-models/plain/models/options.py b/plain-models/plain/models/options.py index e5b2a260b0..30bf2fc602 100644 --- a/plain-models/plain/models/options.py +++ b/plain-models/plain/models/options.py @@ -305,7 +305,6 @@ def add_field(self, field, private=False): def setup_pk(self, field): if not self.pk and field.primary_key: self.pk = field - field.serialize = False def __repr__(self): return "" % self.object_name diff --git a/plain-oauth/plain/oauth/migrations/0001_initial.py b/plain-oauth/plain/oauth/migrations/0001_initial.py index c8aeb25f97..0a28dcfa83 100644 --- a/plain-oauth/plain/oauth/migrations/0001_initial.py +++ b/plain-oauth/plain/oauth/migrations/0001_initial.py @@ -22,7 +22,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ("created_at", models.DateTimeField(auto_now_add=True)), diff --git a/plain-sessions/plain/sessions/migrations/0001_initial.py b/plain-sessions/plain/sessions/migrations/0001_initial.py index 77b968c8f7..2e91d242d6 100644 --- a/plain-sessions/plain/sessions/migrations/0001_initial.py +++ b/plain-sessions/plain/sessions/migrations/0001_initial.py @@ -14,7 +14,6 @@ class Migration(migrations.Migration): "session_key", models.CharField( max_length=40, - serialize=False, primary_key=True, ), ), diff --git a/plain-sessions/plain/sessions/migrations/0002_alter_session_options_alter_session_expire_date_and_more.py b/plain-sessions/plain/sessions/migrations/0002_alter_session_options_alter_session_expire_date_and_more.py index c88013f083..6b815072e5 100644 --- a/plain-sessions/plain/sessions/migrations/0002_alter_session_options_alter_session_expire_date_and_more.py +++ b/plain-sessions/plain/sessions/migrations/0002_alter_session_options_alter_session_expire_date_and_more.py @@ -27,6 +27,6 @@ class Migration(migrations.Migration): migrations.AlterField( model_name="session", name="session_key", - field=models.CharField(max_length=40, primary_key=True, serialize=False), + field=models.CharField(max_length=40, primary_key=True), ), ] diff --git a/plain-worker/plain/worker/migrations/0001_initial.py b/plain-worker/plain/worker/migrations/0001_initial.py index cb16b9f685..9d15459cf5 100644 --- a/plain-worker/plain/worker/migrations/0001_initial.py +++ b/plain-worker/plain/worker/migrations/0001_initial.py @@ -20,7 +20,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ( diff --git a/plain-worker/plain/worker/migrations/0002_jobresult_remove_jobrequest_completed_at_and_more.py b/plain-worker/plain/worker/migrations/0002_jobresult_remove_jobrequest_completed_at_and_more.py index 85defe5d1d..adf18c0aff 100644 --- a/plain-worker/plain/worker/migrations/0002_jobresult_remove_jobrequest_completed_at_and_more.py +++ b/plain-worker/plain/worker/migrations/0002_jobresult_remove_jobrequest_completed_at_and_more.py @@ -20,7 +20,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), ( diff --git a/plain-worker/plain/worker/migrations/0012_job_jobresult_job_uuid_alter_jobresult_status.py b/plain-worker/plain/worker/migrations/0012_job_jobresult_job_uuid_alter_jobresult_status.py index 1d570d6ab3..17b123806a 100644 --- a/plain-worker/plain/worker/migrations/0012_job_jobresult_job_uuid_alter_jobresult_status.py +++ b/plain-worker/plain/worker/migrations/0012_job_jobresult_job_uuid_alter_jobresult_status.py @@ -20,7 +20,6 @@ class Migration(migrations.Migration): models.BigAutoField( auto_created=True, primary_key=True, - serialize=False, ), ), (