forked from 0x2620/pandora
switch to base26 ids
This commit is contained in:
parent
addd1780f1
commit
bc118c67ee
9 changed files with 36 additions and 23 deletions
|
|
@ -83,7 +83,7 @@ class Event(models.Model):
|
|||
super(Event, self).save(*args, **kwargs)
|
||||
|
||||
def get_id(self):
|
||||
return ox.to32(self.id)
|
||||
return ox.to26(self.id)
|
||||
|
||||
def json(self, user=None):
|
||||
j = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue