10112/mountain-range-form-change #4
2 changed files with 5 additions and 2 deletions
|
@ -162,7 +162,7 @@ class RangeAdmin(admin.ModelAdmin):
|
|||
('range_name_ascii', 'GMBA_v1_id'),
|
||||
('latitude', 'longitude'),
|
||||
('mother_range', 'wiki_data_id', 'wiki_data_url', 'area'),
|
||||
('feature', 'range_alternate_id'),
|
||||
'feature',
|
||||
'source',
|
||||
'id',
|
||||
)
|
||||
|
@ -181,6 +181,9 @@ class RangeAdmin(admin.ModelAdmin):
|
|||
('Comments', {
|
||||
'classes': ('collapse',),
|
||||
'fields': ('comments',),
|
||||
}),
|
||||
('Others', {
|
||||
'fields': ('range_alternate_id', )
|
||||
})
|
||||
)
|
||||
list_display = ['range_name', 'mother_range', 'countries']
|
||||
|
|
|
@ -113,7 +113,7 @@ class MountainRange(models.Model):
|
|||
comments = models.TextField(blank=True, null=True)
|
||||
checked = models.BooleanField(default=False)
|
||||
source = models.TextField(blank=True, null=True)
|
||||
range_alternate_id = models.TextField(blank=True, null=True)
|
||||
range_alternate_id = models.CharField(blank=True, null=True, max_length=128)
|
||||
geologic_region = models.TextField(blank=True, null=True)
|
||||
gmba_v2_id = models.PositiveIntegerField(blank=True, null=True)
|
||||
gmba_v2_id_str = models.TextField(blank=True, null=True)
|
||||
|
|
Loading…
Reference in a new issue