diff --git a/core/migrations/0004_auto_20170328_1417.py b/core/migrations/0004_auto_20170328_1417.py new file mode 100644 index 0000000000000000000000000000000000000000..d0801ce1a56c20e3b9cafdd68f07a61b01fb6e17 --- /dev/null +++ b/core/migrations/0004_auto_20170328_1417.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.5 on 2017-03-28 07:17 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0003_auto_20170328_1400'), + ] + + operations = [ + migrations.RenameField( + model_name='company', + old_name='alamat', + new_name='address', + ), + ] diff --git a/core/models/accounts.py b/core/models/accounts.py index 8adf9adb08872e7fbaca29c681556dea24dd0940..e94c7f0404cb60e31ec3e66eb026860da306ec82 100644 --- a/core/models/accounts.py +++ b/core/models/accounts.py @@ -69,7 +69,7 @@ class Company(models.Model): description = models.TextField() verified = models.BooleanField(default=False) logo = models.FileField(upload_to=get_company_logo_file_path, null=True, blank=True) - alamat = models.CharField(max_length=1000, blank=True, null=True) + address = models.CharField(max_length=1000, blank=True, null=True) @property def name(self):