Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bth: heroshot location

  • Loading branch information...
commit 1160ff1bf52373fb7eb3097b8dc8f3491f1bd846 1 parent 6e1a2c3
@benthuffine authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  apps/content/models.py
  2. +2 −2 apps/entity/models.py
View
2  apps/content/models.py
@@ -47,7 +47,7 @@ class Page(PageInfo):
pass
class Heroshot(models.Model):
- image = models.ImageField(upload_to='ext/heroshots')
+ image = models.ImageField(upload_to='ext/heroshots/content')
description = models.CharField(max_length=255, blank=True, null=True)
url = models.CharField(max_length=255,blank=True)
sort_order = models.PositiveIntegerField(null=True, blank=True)
View
4 apps/entity/models.py
@@ -22,8 +22,8 @@ class Entity(models.Model):
featurable = models.BooleanField(default=False)
readable_location = models.CharField(max_length=2046, null=True, blank=True)
record_owners = models.ManyToManyField(User, null=True, blank=True)
- heroshot_full = models.ImageField(upload_to='heroes', null=True, blank=True)
- heroshot_slim = models.ImageField(upload_to='heroes', null=True, blank=True)
+ heroshot_full = models.ImageField(upload_to='ext/heroshots/entity', null=True, blank=True)
+ heroshot_slim = models.ImageField(upload_to='ext/heroshots/entity', null=True, blank=True)
approved = models.BooleanField(default=False)
parent = models.ForeignKey('self', null=True, blank=True)
Please sign in to comment.
Something went wrong with that request. Please try again.