upload avatars (nonfunctional)
This commit is contained in:
parent
dae9b5c023
commit
5080de9c6b
8 changed files with 49 additions and 6 deletions
|
@ -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)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue