From dc7442cfb6b640dc07f3b05a43a4d14558c620f2 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Wed, 11 Jul 2018 13:02:25 +1000 Subject: [PATCH] Add a migration which just sets help text on users.User fields --- users/migrations/0014_auto_20180711_1248.py | 63 +++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 users/migrations/0014_auto_20180711_1248.py diff --git a/users/migrations/0014_auto_20180711_1248.py b/users/migrations/0014_auto_20180711_1248.py new file mode 100644 index 0000000..2975e47 --- /dev/null +++ b/users/migrations/0014_auto_20180711_1248.py @@ -0,0 +1,63 @@ +# Generated by Django 2.0.7 on 2018-07-11 02:48 + +import computed_property.fields +from django.db import migrations, models +import users.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0013_auto_20180323_1200'), + ] + + operations = [ + migrations.AlterField( + model_name='profile', + name='display_name', + field=models.CharField( + blank=True, help_text='overrides the username for display - useful for sites that use ugly IDs', max_length=100), + ), + migrations.AlterField( + model_name='profile', + name='username', + field=models.CharField( + help_text="the user's actual handle or ID on the remote site", max_length=100), + ), + migrations.AlterField( + model_name='user', + name='avatar', + field=models.ImageField( + help_text='an avatar or photo that represents this user', upload_to=users.models.avatar_path), + ), + migrations.AlterField( + model_name='user', + name='email_md5', + field=computed_property.fields.ComputedCharField( + compute_from='calc_email_md5', editable=False, help_text="MD5 hash of the user's email, used for Libravatar", max_length=32, unique=True), + ), + migrations.AlterField( + model_name='user', + name='email_sha256', + field=computed_property.fields.ComputedCharField( + compute_from='calc_email_sha256', editable=False, help_text="SHA-256 hash of the user's email, used for Libravatar", max_length=64, unique=True), + ), + migrations.AlterField( + model_name='user', + name='last_name', + field=models.CharField( + blank=True, max_length=150, verbose_name='last name'), + ), + migrations.AlterField( + model_name='user', + name='note', + field=models.TextField( + blank=True, help_text='a bio or short description provided by the user'), + ), + migrations.AlterField( + model_name='user', + name='xmpp', + field=models.EmailField( + blank=True, help_text='an XMPP address through which the user may be reached', max_length=254), + ), + ]