From: Radek Czajka Date: Tue, 12 Mar 2019 13:05:54 +0000 (+0100) Subject: Merge branch 'master' of https://github.com/ryanbagwell/django-cas-provider into... X-Git-Tag: 22.4~4 X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/commitdiff_plain/53145befaa401c776854ac95f63e3d3bbd72fb89?ds=sidebyside;hp=-c Merge branch 'master' of https://github.com/ryanbagwell/django-cas-provider into ryanbagwell-master --- 53145befaa401c776854ac95f63e3d3bbd72fb89 diff --combined cas_provider/migrations/0002_auto_20140920_1644.py index 6f3781c,5e50aef..244d5ae --- a/cas_provider/migrations/0002_auto_20140920_1644.py +++ b/cas_provider/migrations/0002_auto_20140920_1644.py @@@ -20,7 -20,7 +20,7 @@@ class Migration(migrations.Migration) migrations.AddField( model_name='proxygrantingticket', name='pgt', - field=models.ForeignKey(to='cas_provider.ProxyGrantingTicket', null=True), + field=models.ForeignKey(to='cas_provider.ProxyGrantingTicket', null=True, on_delete=models.CASCADE), preserve_default=True, ), migrations.AddField( @@@ -32,7 -32,7 +32,7 @@@ migrations.AddField( model_name='proxygrantingticket', name='user', - field=models.ForeignKey(default=0, verbose_name='user', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE), - field=models.ForeignKey(verbose_name='user', to=settings.AUTH_USER_MODEL), ++ field=models.ForeignKey(verbose_name='user', to=settings.AUTH_USER_MODEL, on_delete=models.CASCADE), preserve_default=False, ), ]