Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix format of age tables in models #5355

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions specifyweb/specify/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -7617,7 +7617,7 @@ class Meta:

save = partialmethod(custom_save)

class AbsoluteAge(models.Model):
class Absoluteage(models.Model):
specify_model = datamodel.get_table('absoluteage')

# ID Field
Expand Down Expand Up @@ -7656,7 +7656,7 @@ class Meta:

save = partialmethod(custom_save)

class RelativeAge(models.Model):
class Relativeage(models.Model):
specify_model = datamodel.get_table('relativeage')

# ID Field
Expand Down Expand Up @@ -7700,7 +7700,7 @@ class Meta:

save = partialmethod(custom_save)

class AbsoluteAgeAttachment(models.Model):
class Absoluteageattachment(models.Model):
specify_model = datamodel.get_table('absoluteageattachment')

# ID Field
Expand All @@ -7726,7 +7726,7 @@ class Meta:

save = partialmethod(custom_save)

class RelativeAgeAttachment(models.Model):
class Relativeageattachment(models.Model):
specify_model = datamodel.get_table('relativeageattachment')

# ID Field
Expand All @@ -7752,7 +7752,7 @@ class Meta:

save = partialmethod(custom_save)

class AbsoluteAgeCitation(models.Model):
class Absoluteagecitation(models.Model):
specify_model = datamodel.get_table('absoluteagecitation')

# ID Field
Expand Down Expand Up @@ -7781,7 +7781,7 @@ class Meta:

save = partialmethod(custom_save)

class RelativeAgeCitation(models.Model):
class Relativeagecitation(models.Model):
specify_model = datamodel.get_table('relativeagecitation')

# ID Field
Expand Down
24 changes: 12 additions & 12 deletions specifyweb/specify/models_by_table_id.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@
1016: 'Collectionobjectgroup',
1017: 'Collectionobjectgroupjoin',
1018: 'Collectionobjectgrouptype',
1019: 'AbsoluteAge',
1020: 'RelativeAge',
1021: 'AbsoluteAgeAttachment',
1022: 'RelativeAgeAttachment',
1023: 'AbsoluteAgeCitation',
1024: 'RelativeAgeCitation',
1019: 'Absoluteage',
1020: 'Relativeage',
1021: 'Absoluteageattachment',
1022: 'Relativeageattachment',
1023: 'Absoluteagecitation',
1024: 'Relativeagecitation',
1025: 'Tectonicunittreedef',
1026: 'Tectonicunittreedefitem',
1027: 'Tectonicunit',
Expand Down Expand Up @@ -436,12 +436,12 @@
'Collectionobjectgroup',
'Collectionobjectgroupjoin',
'Collectionobjectgrouptype',
'AbsoluteAge',
'RelativeAge',
'AbsoluteAgeAttachment',
'RelativeAgeAttachment',
'AbsoluteAgeCitation',
'RelativeAgeCitation',
'Absoluteage',
'Relativeage',
'Absoluteageattachment',
'Relativeageattachment',
'Absoluteagecitation',
'Relativeagecitation',
'Tectonicunittreedef',
'Tectonicunittreedefitem',
'Tectonicunit',
Expand Down
Loading