forked from expo/troggle
merge
This commit is contained in:
parent
7e1aa80551
commit
4e27c90f77
@ -10,7 +10,7 @@ from django.db.models import Min, Max
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from decimal import Decimal, getcontext
|
from decimal import Decimal, getcontext
|
||||||
from django.core.urlresolvers import reverse
|
from django.core.urlresolvers import reverse
|
||||||
from imagekit.models import ImageModel
|
from imagekit.models import ProcessedImageField #ImageModel
|
||||||
from django.template import Context, loader
|
from django.template import Context, loader
|
||||||
import settings
|
import settings
|
||||||
getcontext().prec=2 #use 2 significant figures for decimal calculations
|
getcontext().prec=2 #use 2 significant figures for decimal calculations
|
||||||
@ -57,7 +57,7 @@ class TroggleModel(models.Model):
|
|||||||
class Meta:
|
class Meta:
|
||||||
abstract = True
|
abstract = True
|
||||||
|
|
||||||
class TroggleImageModel(ImageModel):
|
class TroggleImageModel(models.Model):
|
||||||
new_since_parsing = models.BooleanField(default=False, editable=False)
|
new_since_parsing = models.BooleanField(default=False, editable=False)
|
||||||
|
|
||||||
def object_name(self):
|
def object_name(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user