-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/0.1.14' into main
- Loading branch information
Showing
2 changed files
with
104 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
include AUTHORS CHANGES LICENSE VERSION | ||
include MANIFEST.in | ||
include *.rst | ||
include */locale/*/LC_MESSAGES/*.mo |
103 changes: 103 additions & 0 deletions
103
edc_microbiology/migrations/0010_alter_microbiology_options_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,103 @@ | ||
# Generated by Django 4.2.5 on 2023-09-25 15:43 | ||
|
||
import _socket | ||
from django.db import migrations, models | ||
import django.db.models.manager | ||
import django_audit_fields.fields.hostname_modification_field | ||
import edc_sites.model_mixins | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("edc_microbiology", "0009_auto_20220711_1230"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name="microbiology", | ||
options={ | ||
"default_manager_name": "objects", | ||
"default_permissions": ( | ||
"add", | ||
"change", | ||
"delete", | ||
"view", | ||
"export", | ||
"import", | ||
), | ||
"get_latest_by": "modified", | ||
"ordering": ("-modified", "-created"), | ||
"verbose_name": "Microbiology", | ||
"verbose_name_plural": "Microbiology", | ||
}, | ||
), | ||
migrations.AlterModelManagers( | ||
name="microbiology", | ||
managers=[ | ||
("objects", django.db.models.manager.Manager()), | ||
("on_site", edc_sites.model_mixins.CurrentSiteManager()), | ||
], | ||
), | ||
migrations.AlterField( | ||
model_name="historicalmicrobiology", | ||
name="device_created", | ||
field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), | ||
), | ||
migrations.AlterField( | ||
model_name="historicalmicrobiology", | ||
name="device_modified", | ||
field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), | ||
), | ||
migrations.AlterField( | ||
model_name="historicalmicrobiology", | ||
name="hostname_created", | ||
field=models.CharField( | ||
blank=True, | ||
default=_socket.gethostname, | ||
help_text="System field. (modified on create only)", | ||
max_length=60, | ||
verbose_name="Hostname created", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="historicalmicrobiology", | ||
name="hostname_modified", | ||
field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( | ||
blank=True, | ||
help_text="System field. (modified on every save)", | ||
max_length=50, | ||
verbose_name="Hostname modified", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="microbiology", | ||
name="device_created", | ||
field=models.CharField(blank=True, max_length=10, verbose_name="Device created"), | ||
), | ||
migrations.AlterField( | ||
model_name="microbiology", | ||
name="device_modified", | ||
field=models.CharField(blank=True, max_length=10, verbose_name="Device modified"), | ||
), | ||
migrations.AlterField( | ||
model_name="microbiology", | ||
name="hostname_created", | ||
field=models.CharField( | ||
blank=True, | ||
default=_socket.gethostname, | ||
help_text="System field. (modified on create only)", | ||
max_length=60, | ||
verbose_name="Hostname created", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="microbiology", | ||
name="hostname_modified", | ||
field=django_audit_fields.fields.hostname_modification_field.HostnameModificationField( | ||
blank=True, | ||
help_text="System field. (modified on every save)", | ||
max_length=50, | ||
verbose_name="Hostname modified", | ||
), | ||
), | ||
] |