Alter location field
This commit is contained in:
parent
1794de6d15
commit
a544810cac
18
apps/location/migrations/0039_auto_20200131_1610.py
Normal file
18
apps/location/migrations/0039_auto_20200131_1610.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 2.2.7 on 2020-01-31 16:10
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('location', '0038_country_calling_code'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='address',
|
||||
name='district_name',
|
||||
field=models.CharField(blank=True, default='', max_length=500, null=True, verbose_name='District name'),
|
||||
),
|
||||
]
|
||||
|
|
@ -244,7 +244,7 @@ class Address(models.Model):
|
|||
coordinates = models.PointField(
|
||||
_('Coordinates'), blank=True, null=True, default=None)
|
||||
district_name = models.CharField(
|
||||
_('District name'), max_length=500, blank=True, default='')
|
||||
_('District name'), max_length=500, blank=True, default='', null=True)
|
||||
old_id = models.IntegerField(null=True, blank=True, default=None)
|
||||
|
||||
class Meta:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user