mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
User profile nav directs to create new Person for user if there is not one currently associated resolves issue #4
21 lines
553 B
Python
21 lines
553 B
Python
# Generated by Django 2.2.10 on 2020-02-18 15:44
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('people', '0003_fix_people_plural'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='person',
|
|
name='user',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='person', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
]
|