mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-08 08:06:20 +01:00
Add required on_delete parameters for Dj2.0 compatibility
This commit is contained in:
@@ -2,7 +2,7 @@ from django.db import models
|
||||
|
||||
|
||||
class MumbleUser(models.Model):
|
||||
user = models.OneToOneField('auth.User', related_name='mumble', null=True)
|
||||
user = models.OneToOneField('auth.User', related_name='mumble', null=True, on_delete=models.CASCADE)
|
||||
username = models.CharField(max_length=254, unique=True)
|
||||
pwhash = models.CharField(max_length=80)
|
||||
hashfn = models.CharField(max_length=20, default='sha1')
|
||||
|
||||
Reference in New Issue
Block a user