Commits

mitsuhiko  committed 62b9c0b

Reverted a change that caused slugs to be prefixed with zeros.

  • Participants
  • Parent commits 5881ab0

Comments (0)

Files changed (1)

File zine/models.py

         prefix = get_application().cfg['blog_url_prefix'].lstrip('/')
         if prefix:
             prefix += '/'
-        full_slug = u'%s%04d/%02d/%02d/%s' % (
+        full_slug = u'%s%04d/%d/%d/%s' % (
             prefix,
             self.pub_date.year,
             self.pub_date.month,