Skip to content

Commit

Permalink
* Update the URL length for document url and avatar url.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Apr 15, 2017
1 parent e8810bc commit 225531d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_kala/accounts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class User(AbstractUser):

last_updated = models.DateTimeField(auto_now=True)
removed = models.DateField(null=True)
avatar_url = models.URLField()
avatar_url = models.URLField(max_length=1200)

objects = UserManager()

Expand Down
2 changes: 1 addition & 1 deletion django_kala/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class DocumentVersion(models.Model):
uuid = models.UUIDField(primary_key=True, default=uuid4, editable=False)
document = models.ForeignKey('Document', null=True)
file = models.FileField(null=True)
url = models.URLField()
url = models.URLField(max_length=3000)
size = models.IntegerField()
description = models.TextField(null=True)
created = models.DateTimeField() # Update save method
Expand Down

0 comments on commit 225531d

Please sign in to comment.