forked from 0x2620/pandora
funky annotation ids
This commit is contained in:
parent
d897cb13bd
commit
f228a4a5e5
3 changed files with 6 additions and 3 deletions
|
|
@ -101,7 +101,7 @@ class Annotation(models.Model):
|
|||
return self.value
|
||||
|
||||
def get_id(self):
|
||||
return ox.to32(self.id)
|
||||
return '%s/%s' % (self.item.itemId, ox.to32(self.id))
|
||||
|
||||
def json(self, layer=False, keys=None):
|
||||
j = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue