Add missing `on_delete` argument

This commit is contained in:
Mikkel Munch Mortensen 2018-06-23 15:00:50 +02:00
parent bd04b00c6d
commit 9ea4b827f4
Signed by untrusted user: decibyte
GPG Key ID: 261C257C74AA764B
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@ from django.db import models
class Profile(models.Model):
user = models.OneToOneField('auth.User')
user = models.OneToOneField('auth.User', on_delete=models.CASCADE)