-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🗃️ [#3688] Remove objects config objecttype/version fields from admin
These fields are obsolete and scheduled for removal. Their values have been copied into the respective forms where they were not set explicitly yet.
- Loading branch information
1 parent
1298c76
commit aa4f2b4
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...rations/contrib/objects_api/migrations/0015_alter_objectsapiconfig_objecttype_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Generated by Django 4.2.11 on 2024-03-22 13:31 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
( | ||
"registrations_objects_api", | ||
"0014_remove_objectsapiregistrationdata_attachment_urls_and_more", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="objectsapiconfig", | ||
name="objecttype", | ||
field=models.URLField( | ||
blank=True, | ||
editable=False, | ||
help_text="Default URL of the ProductAanvraag OBJECTTYPE in the Objecttypes API. The objecttype should have the following three attributes: 1) submission_id; 2) type (the type of productaanvraag); 3) data (the submitted form data)", | ||
max_length=1000, | ||
verbose_name="objecttype", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="objectsapiconfig", | ||
name="objecttype_version", | ||
field=models.IntegerField( | ||
blank=True, | ||
editable=False, | ||
help_text="Default version of the OBJECTTYPE in the Objecttypes API", | ||
null=True, | ||
verbose_name="objecttype version", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters