Permalink
Browse files

made title and description optional

  • Loading branch information...
1 parent 914b086 commit 5257db35faeae835dcebbaf47042f14a27c77717 @paltman paltman committed Feb 22, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mimesis/models.py
View
@@ -13,8 +13,8 @@
class MediaUpload(models.Model):
- title = models.CharField(max_length=150)
- description = models.TextField()
+ title = models.CharField(max_length=150, blank=True)
+ description = models.TextField(blank=True)
media = models.FileField(upload_to="mimesis")
creator = models.ForeignKey(User)
created = models.DateTimeField(default=datetime.datetime.now)

0 comments on commit 5257db3

Please sign in to comment.