From beea98e00603de11c9327012d9e90cab478638ef Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sat, 10 Oct 2020 12:06:10 -0500 Subject: [PATCH] Allow primary location to be blank --- GeoffreyApp/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeoffreyApp/models.py b/GeoffreyApp/models.py index f046d81..9d72c59 100644 --- a/GeoffreyApp/models.py +++ b/GeoffreyApp/models.py @@ -83,7 +83,7 @@ class Player(models.Model): Discord UUID """ - primary_location = models.OneToOneField("Location", on_delete=models.DO_NOTHING, null=True) + primary_location = models.OneToOneField("Location", on_delete=models.DO_NOTHING, blank=True, null=True) """ User's primary location """