make poster urls longer

This commit is contained in:
j 2009-07-14 19:06:03 +02:00
parent db7175cf26
commit dd7fd039e8

View file

@ -27,7 +27,7 @@ class PosterCache(models.Model):
modified = models.DateTimeField(auto_now=True) modified = models.DateTimeField(auto_now=True)
movie_id = models.ForeignKey(MovieId, related_name='postercache') movie_id = models.ForeignKey(MovieId, related_name='postercache')
url = models.CharField(max_length=255) url = models.CharField(max_length=1024)
service = models.CharField(max_length=255) service = models.CharField(max_length=255)
serviceId = models.CharField(max_length=42) serviceId = models.CharField(max_length=42)
image = models.ImageField(max_length=255, upload_to=poster_path) image = models.ImageField(max_length=255, upload_to=poster_path)