2018-07-10 23:02:25 -04:00
|
|
|
# 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"),
|
2018-07-10 23:02:25 -04:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="profile",
|
|
|
|
name="display_name",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="profile",
|
|
|
|
name="username",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="avatar",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="email_md5",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="email_sha256",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="last_name",
|
2018-07-10 23:02:25 -04:00
|
|
|
field=models.CharField(
|
2023-08-10 02:52:37 -04:00
|
|
|
blank=True, max_length=150, verbose_name="last name"
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="note",
|
2018-07-10 23:02:25 -04:00
|
|
|
field=models.TextField(
|
2023-08-10 02:52:37 -04:00
|
|
|
blank=True, help_text="a bio or short description provided by the user"
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
migrations.AlterField(
|
2023-08-10 02:52:37 -04:00
|
|
|
model_name="user",
|
|
|
|
name="xmpp",
|
2018-07-10 23:02:25 -04:00
|
|
|
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,
|
|
|
|
),
|
2018-07-10 23:02:25 -04:00
|
|
|
),
|
|
|
|
]
|