Skip to content

Commit b2cbf29

Browse files
committed
relax user constraint on AbstractApplication model
1 parent 167c6c3 commit b2cbf29

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
from __future__ import unicode_literals
3+
4+
from django.db import migrations, models
5+
from django.conf import settings
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('oauth2_provider', '0002_08_updates'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='application',
17+
name='user',
18+
field=models.ForeignKey(related_name='oauth2_provider_application', blank=True, to=settings.AUTH_USER_MODEL, null=True),
19+
),
20+
]

0 commit comments

Comments
 (0)