diff --git a/djangoldp_profile/migrations/0003_auto_20200416_1157.py b/djangoldp_profile/migrations/0003_auto_20200416_1157.py new file mode 100644 index 0000000000000000000000000000000000000000..a48b7cb30330603a937ee5c923478a9c05a259cd --- /dev/null +++ b/djangoldp_profile/migrations/0003_auto_20200416_1157.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11.29 on 2020-04-16 11:57 +from __future__ import unicode_literals + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('djangoldp_profile', '0002_auto_20190917_1141'), + ] + + operations = [ + migrations.RenameField( + model_name='profile', + old_name='bio', + new_name='job', + ), + ] diff --git a/djangoldp_profile/models.py b/djangoldp_profile/models.py index d2f331de52a10af627446fbe3127bb1f999a2ea5..0ccee297f0fbfe6dd64ecece4b8d76d04c5a6bfc 100644 --- a/djangoldp_profile/models.py +++ b/djangoldp_profile/models.py @@ -11,7 +11,7 @@ class Profile(Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE, related_name="profile") slug = models.SlugField(unique=True) available = models.NullBooleanField(blank=True) - bio = models.CharField(max_length=150, blank=True) + job = models.CharField(max_length=150, blank=True) city = models.CharField(max_length=255, blank=True) phone = models.CharField(max_length=255, blank=True) website = models.URLField(blank=True)