Compare commits
3 Commits
c483ed000a
...
6715924065
Author | SHA1 | Date |
---|---|---|
PCoder | 6715924065 | |
PCoder | 0e5a7fb2c8 | |
PCoder | 461ceb9573 |
|
@ -209,7 +209,8 @@ class OrganizationAdmin(admin.ModelAdmin):
|
|||
'fields': (
|
||||
'org_num1',
|
||||
('acronym', 'category', 'subject'),
|
||||
'organisation_english',
|
||||
'country',
|
||||
('organisation_english','tel', 'email', 'url',),
|
||||
('organisation_2', 'organisation_3'),
|
||||
'organisation_original',
|
||||
)
|
||||
|
@ -218,13 +219,12 @@ class OrganizationAdmin(admin.ModelAdmin):
|
|||
'classes': ('collapse',),
|
||||
'fields': (
|
||||
('street', 'postcode', 'city'),
|
||||
('po_box', 'country', 'lat_long'),
|
||||
('po_box', 'lat_long'),
|
||||
)
|
||||
}),
|
||||
('Other details', {
|
||||
'classes': ('collapse',),
|
||||
'fields': (('tel', 'email'),
|
||||
'url',
|
||||
'fields': (
|
||||
'tags',
|
||||
),
|
||||
})
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
# Generated by Django 4.0.1 on 2022-01-17 18:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('app', '0056_alter_mountainrange_range_alternate_id'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='person',
|
||||
name='mr_mrs',
|
||||
field=models.TextField(blank=True, choices=[('', ''), ('Ms', 'Ms'), ('Mr', 'Mr')], null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='resource',
|
||||
name='type',
|
||||
field=models.TextField(blank=True, choices=[('', ''), ('Atlas', 'Atlas'), ('Book', 'Book'), ('Book chapter', 'Book chapter'), ('Case study', 'Case study'), ('Conservation project', 'Conservation project'), ('Dataset', 'Dataset'), ('Development project', 'Development project'), ('Journal article', 'Journal article'), ('LTER', 'LTER'), ('Map', 'Map'), ('Network', 'Network'), ('PEGASuS', 'PEGASuS'), ('Presentation', 'Presentation'), ('Report', 'Report'), ('Research project', 'Research project'), ('Research Site', 'Research Site'), ('Thesis', 'Thesis'), ('Video', 'Video'), ('Website', 'Website'), ('Working Group', 'Working Group')], null=True),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue