2
0
mirror of https://github.com/jfmcbrayer/brutaldon synced 2024-12-25 06:50:54 +01:00
brutaldon-interfaccia-web-m.../brutaldon/migrations/0002_account.py
Jason McBrayer 73e105517c Log in to an instance and display a home timeline.
Only supports single user, lots of display elements not supported yet.
But it actually has something to show.

Actually display a home timeline.

Still only single user, doesn't correctly handle boosts, CWs, and
probably a lot of other things.
2018-04-23 20:01:40 -04:00

26 lines
854 B
Python

# Generated by Django 2.0.1 on 2018-04-23 21:34
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('brutaldon', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Account',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('username', models.CharField(max_length=80)),
('access_token', models.TextField(blank=True, null=True)),
('django_user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
],
),
]