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