Jan Dittberner
6cebd80c89
This commit is a rough port to Django 2.1, Python 3 and a Docker based local development setup. Tests fail/error but migrations and the web frontend are already runnable. Task queue functionality is untested and translations seem to have trouble.
23 lines
620 B
Python
23 lines
620 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
from django.conf import settings
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
('osusers', '0002_auto_20141226_1456'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='user',
|
|
name='customer',
|
|
field=models.ForeignKey(
|
|
default=1, to=settings.AUTH_USER_MODEL,
|
|
on_delete=models.CASCADE),
|
|
preserve_default=False,
|
|
),
|
|
]
|