merge transportation
This commit is contained in:
parent
6d873d66a2
commit
c3717ecfd9
14
apps/establishment/migrations/0020_merge_20190917_1415.py
Normal file
14
apps/establishment/migrations/0020_merge_20190917_1415.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Generated by Django 2.2.4 on 2019-09-17 14:15
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('establishment', '0019_establishment_is_publish'),
|
||||
('establishment', '0019_establishment_transportation'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
]
|
||||
|
|
@ -23,7 +23,7 @@ class CityAdmin(admin.ModelAdmin):
|
|||
class AddressAdmin(admin.OSMGeoAdmin):
|
||||
"""Address admin."""
|
||||
list_display = ('__str__', 'geo_lon', 'geo_lat')
|
||||
readonly_fields = ['geo_lon', 'geo_lat',]
|
||||
readonly_fields = ['geo_lon', 'geo_lat', ]
|
||||
fieldsets = (
|
||||
(_('Main'), {
|
||||
'fields': ['street_name_1', 'street_name_2', 'number']
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user