You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this warning with Django 1.11.1
I'm guessing if nothing else we should set on_delete to CASCADE as they suggest
/site-packages/silk/migrations/0001_initial.py:63:
RemovedInDjango20Warning:
on_delete will be a required arg for OneToOneField in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
('request', models.OneToOneField(to='silk.Request', related_name='response')),
/site-packages/silk/migrations/0001_initial.py:75:
RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
('request', models.ForeignKey(to='silk.Request', blank=True, null=True, related_name='queries')),
The text was updated successfully, but these errors were encountered:
Getting this warning with Django 1.11.1
I'm guessing if nothing else we should set on_delete to CASCADE as they suggest
/site-packages/silk/migrations/0001_initial.py:63:
RemovedInDjango20Warning:
on_delete will be a required arg for OneToOneField in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
('request', models.OneToOneField(to='silk.Request', related_name='response')),
/site-packages/silk/migrations/0001_initial.py:75:
RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/fields/#django.db.models.ForeignKey.on_delete
('request', models.ForeignKey(to='silk.Request', blank=True, null=True, related_name='queries')),
The text was updated successfully, but these errors were encountered: