Update migration to make vat_number non mandatory
This commit is contained in:
parent
6eb4b03afe
commit
e48ae6a39d
2 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2019-12-21 03:19
|
||||
# Generated by Django 1.9.4 on 2019-12-25 03:00
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
@ -16,12 +16,12 @@ class Migration(migrations.Migration):
|
|||
migrations.AddField(
|
||||
model_name='billingaddress',
|
||||
name='vat_number',
|
||||
field=models.CharField(default='', max_length=100),
|
||||
field=models.CharField(blank=True, default='', max_length=100),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='userbillingaddress',
|
||||
name='vat_number',
|
||||
field=models.CharField(default='', max_length=100),
|
||||
field=models.CharField(blank=True, default='', max_length=100),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='billingaddress',
|
|
@ -13,7 +13,7 @@ class BaseBillingAddress(models.Model):
|
|||
city = models.CharField(max_length=50)
|
||||
postal_code = models.CharField(max_length=50)
|
||||
country = CountryField()
|
||||
vat_number = models.CharField(max_length=100, default="")
|
||||
vat_number = models.CharField(max_length=100, default="", blank=True)
|
||||
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
|
Loading…
Reference in a new issue