Commit 37cdb89a by David Ormsbee Committed by Kevin Falcone

Allow LtiConsumer.instance_guid to be blank.

The instructions say that this should be left blank until the
initial launch, but Django Admin kicks that out because blanks
are not allowed at the model level.
parent 06a20054
......@@ -26,7 +26,7 @@ class LtiConsumer(models.Model):
consumer_name = models.CharField(max_length=255, unique=True)
consumer_key = models.CharField(max_length=32, unique=True, db_index=True)
consumer_secret = models.CharField(max_length=32, unique=True)
instance_guid = models.CharField(max_length=255, null=True, unique=True)
instance_guid = models.CharField(max_length=255, blank=True, null=True, unique=True)
@staticmethod
def get_or_supplement(instance_guid, consumer_key):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment