Skip to content

Commit

Permalink
* Remove the editable=False from the User model so that the uuid fiel…
Browse files Browse the repository at this point in the history
…d can be saved from an external source.
  • Loading branch information
bgroff committed Mar 17, 2017
1 parent c80ecee commit 772f64c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_kala/accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


class User(AbstractUser):
uuid = models.UUIDField(unique=True, db_index=True, editable=False, default=uuid4)
uuid = models.UUIDField(unique=True, db_index=True, default=uuid4)
title = models.CharField(max_length=255, null=True, blank=True)
companies = models.ManyToManyField('companies.Company')
timezone = TimeZoneField(default=settings.TIME_ZONE, blank=True)
Expand Down

0 comments on commit 772f64c

Please sign in to comment.