Skip to content

Commit

Permalink
Fixed bug in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkmoors committed May 22, 2015
1 parent 5764593 commit 264d307
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oauth2_provider/migrations/0002_auto_20150522_1231.py
Expand Up @@ -2,7 +2,7 @@
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings
from oauth2_provider.settings import oauth2_settings


class Migration(migrations.Migration):
Expand All @@ -15,6 +15,6 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='refreshtoken',
name='access_token',
field=models.OneToOneField(to=settings.OAUTH2_PROVIDER_ACCESS_TOKEN_MODEL, related_name='refresh_token'),
field=models.OneToOneField(to=oauth2_settings.ACCESS_TOKEN_MODEL, related_name='refresh_token'),
),
]

0 comments on commit 264d307

Please sign in to comment.