From: Ryan Bagwell Date: Tue, 6 Oct 2015 14:38:21 +0000 (-0400) Subject: removing default for foreign key field because it throws an error with mysql. X-Git-Tag: 22.4~4^2 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/fea0e7bc58a970ddb5894105616be97925b2b91c removing default for foreign key field because it throws an error with mysql. --- diff --git a/cas_provider/migrations/0002_auto_20140920_1644.py b/cas_provider/migrations/0002_auto_20140920_1644.py index 5948a66..5e50aef 100644 --- a/cas_provider/migrations/0002_auto_20140920_1644.py +++ b/cas_provider/migrations/0002_auto_20140920_1644.py @@ -32,7 +32,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='proxygrantingticket', name='user', - field=models.ForeignKey(default=0, verbose_name='user', to=settings.AUTH_USER_MODEL), + field=models.ForeignKey(verbose_name='user', to=settings.AUTH_USER_MODEL), preserve_default=False, ), ]