diff options
| author | Bobby <[email protected]> | 2022-12-28 05:33:27 -0500 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-12-28 05:33:27 -0500 |
| commit | b1043b02117fb0b6a09d99fc1b11ac727d404921 (patch) | |
| tree | fbc7105d492ff5360752bde69bb00d2b65d40ace /users | |
| parent | 5c69caca0f9c12c98a1bd710af46299a9ef219d6 (diff) | |
| download | thatcomputerscientist-b1043b02117fb0b6a09d99fc1b11ac727d404921.tar.xz thatcomputerscientist-b1043b02117fb0b6a09d99fc1b11ac727d404921.zip | |
Added Avatars
Diffstat (limited to 'users')
| -rw-r--r-- | users/migrations/0008_remove_userprofile_gravatar_email_and_more.py | 22 | ||||
| -rw-r--r-- | users/models.py | 2 |
2 files changed, 23 insertions, 1 deletions
diff --git a/users/migrations/0008_remove_userprofile_gravatar_email_and_more.py b/users/migrations/0008_remove_userprofile_gravatar_email_and_more.py new file mode 100644 index 00000000..07f33320 --- /dev/null +++ b/users/migrations/0008_remove_userprofile_gravatar_email_and_more.py @@ -0,0 +1,22 @@ +# Generated by Django 4.0.6 on 2022-12-28 10:05 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('users', '0007_captchastore'), + ] + + operations = [ + migrations.RemoveField( + model_name='userprofile', + name='gravatar_email', + ), + migrations.AddField( + model_name='userprofile', + name='avatar_url', + field=models.TextField(blank=True), + ), + ] diff --git a/users/models.py b/users/models.py index 65840495..746814ef 100644 --- a/users/models.py +++ b/users/models.py @@ -9,7 +9,7 @@ class UserProfile(models.Model): ) location = models.CharField(max_length=50, blank=True) bio = models.TextField(blank=True) - gravatar_email = models.EmailField(blank=True) + avatar_url = models.TextField(blank=True) is_public = models.BooleanField(default=False) email_public = models.BooleanField(default=False) email_verified = models.BooleanField(default=False) |
