filter annnotations

This commit is contained in:
j 2011-06-17 09:44:45 +02:00
commit adbe21b570
4 changed files with 168 additions and 3 deletions

View file

@ -7,6 +7,7 @@ from django.contrib.auth.models import User
import ox
import utils
import managers
def load_layers(layers):
@ -70,6 +71,7 @@ class Layer(models.Model):
class Annotation(models.Model):
objects = managers.AnnotationManager()
#FIXME: here having a item,start index would be good
created = models.DateTimeField(auto_now_add=True)