ajdavis / motor-blog

Blog based on Tornado, MongoDB, and Motor. To be used with MarsEdit.
148 stars 40 forks source link

change the way to generate slug, fix delete category methods and category display. #40

Closed versionzhang closed 8 years ago

versionzhang commented 8 years ago

I changed the way to slug generator, only generate ascii chars support by unidecode package and use the code from http://flask.pocoo.org/snippets/5/. category cannot delete because the attribute 'db' can't find. just modify the piece of code.

ajdavis commented 8 years ago

Thanks!