lemoncurry/users/migrations/0014_auto_20180711_1248.py

85 lines
2.6 KiB
Python
Raw Permalink Normal View History

# 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 = [
2023-08-10 02:52:37 -04:00
("users", "0013_auto_20180323_1200"),
]
operations = [
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="profile",
name="display_name",
field=models.CharField(
2023-08-10 02:52:37 -04:00
blank=True,
help_text="overrides the username for display - useful for sites that use ugly IDs",
max_length=100,
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="profile",
name="username",
field=models.CharField(
2023-08-10 02:52:37 -04:00
help_text="the user's actual handle or ID on the remote site",
max_length=100,
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="user",
name="avatar",
field=models.ImageField(
2023-08-10 02:52:37 -04:00
help_text="an avatar or photo that represents this user",
upload_to=users.models.avatar_path,
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="user",
name="email_md5",
field=computed_property.fields.ComputedCharField(
2023-08-10 02:52:37 -04:00
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(
2023-08-10 02:52:37 -04:00
model_name="user",
name="email_sha256",
field=computed_property.fields.ComputedCharField(
2023-08-10 02:52:37 -04:00
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(
2023-08-10 02:52:37 -04:00
model_name="user",
name="last_name",
field=models.CharField(
2023-08-10 02:52:37 -04:00
blank=True, max_length=150, verbose_name="last name"
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="user",
name="note",
field=models.TextField(
2023-08-10 02:52:37 -04:00
blank=True, help_text="a bio or short description provided by the user"
),
),
migrations.AlterField(
2023-08-10 02:52:37 -04:00
model_name="user",
name="xmpp",
field=models.EmailField(
2023-08-10 02:52:37 -04:00
blank=True,
help_text="an XMPP address through which the user may be reached",
max_length=254,
),
),
]