upload avatars (nonfunctional)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.0.2 on 2020-01-28 04:47
|
||||
# Generated by Django 3.0.2 on 2020-01-28 06:21
|
||||
|
||||
from django.conf import settings
|
||||
import django.contrib.auth.models
|
||||
@@ -38,6 +38,7 @@ class Migration(migrations.Migration):
|
||||
('actor', models.CharField(max_length=255)),
|
||||
('local', models.BooleanField(default=True)),
|
||||
('localname', models.CharField(blank=True, max_length=255, null=True, unique=True)),
|
||||
('avatar', models.ImageField(blank=True, null=True, upload_to='uploads/')),
|
||||
('created_date', models.DateTimeField(auto_now_add=True)),
|
||||
('updated_date', models.DateTimeField(auto_now=True)),
|
||||
('followers', models.ManyToManyField(to=settings.AUTH_USER_MODEL)),
|
||||
|
Reference in New Issue
Block a user