# -*- coding: utf-8 -*- def slug2id(slug): return long(slug) - 110909 def id2slug(id): return id + 110909