Mercurial > public > sg101
diff downloads/management/commands/dlwgetcat.py @ 685:a75554eb6bae
For Django 1.5: slugify is now available at django.utils.text.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 Aug 2013 19:40:01 -0500 |
parents | 161b56849114 |
children | b59c154d0163 |
line wrap: on
line diff
--- a/downloads/management/commands/dlwgetcat.py Fri Aug 23 19:17:40 2013 -0500 +++ b/downloads/management/commands/dlwgetcat.py Fri Aug 23 19:40:01 2013 -0500 @@ -7,7 +7,7 @@ from django.core.management.base import LabelCommand, CommandError from django.template.loader import render_to_string -from django.template.defaultfilters import slugify +from django.utils.text import slugify from django.contrib.sites.models import Site from django.conf import settings