summaryrefslogtreecommitdiff
path: root/chimere/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/models.py')
-rw-r--r--chimere/models.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/chimere/models.py b/chimere/models.py
index b367f8c..ee4688d 100644
--- a/chimere/models.py
+++ b/chimere/models.py
@@ -426,7 +426,7 @@ class MultimediaFile(models.Model):
class PictureFile(models.Model):
name = models.CharField(_(u"Name"), max_length=150, blank=True, null=True)
- picture = models.ImageField(_(u"Image"), upload_to='upload',
+ picture = models.ImageField(_(u"Image"), upload_to='pictures',
height_field='height', width_field='width')
height = models.IntegerField(_(u"Height"))
width = models.IntegerField(_(u"Width"))
@@ -438,9 +438,9 @@ class PictureFile(models.Model):
class RouteFile(models.Model):
name = models.CharField(_(u"Name"), max_length=150)
- raw_file = models.FileField(_(u"Raw file (gpx or kml)"), upload_to='upload')
+ raw_file = models.FileField(_(u"Raw file (gpx or kml)"), upload_to='route_files')
simplified_file = models.FileField(_(u"Simplified file"),
- upload_to='upload', blank=True, null=True)
+ upload_to='route_files', blank=True, null=True)
TYPE = (('K', _(u'KML')), ('G', _(u'GPX')))
file_type = models.CharField(max_length=1, choices=TYPE)