switch to base26 ids
This commit is contained in:
parent
addd1780f1
commit
bc118c67ee
9 changed files with 36 additions and 23 deletions
|
|
@ -291,7 +291,7 @@ class Item(models.Model):
|
|||
self.itemId = str(uuid.uuid1())
|
||||
super(Item, self).save(*args, **kwargs)
|
||||
if not settings.USE_IMDB:
|
||||
self.itemId = ox.to32(self.id)
|
||||
self.itemId = ox.to26(self.id)
|
||||
|
||||
oxdbId = self.oxdb_id()
|
||||
if oxdbId:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue