WorldMaker.netCodeWM > Patches > 2008 > March > 31 > Flickr: Fix slugify in integrate > Annotate

Annotate: Flickr: Fix slugify in integrate

[Flickr: Fix slugify in integrate
Max Battcher <me@worldmaker.net>**20080331193446] hunk ./wm/flickr/integrate.py 4
-from django.templates.defaultfilters import slugify[_^M_][_$_]
+from django.template.defaultfilters import slugify[_^M_][_$_]
hunk ./wm/flickr/integrate.py 46
-                p.slug = slugify(p.title, 50)[_^M_][_$_]
-                p.labels = ' '.join(slugify(str(tag("raw")) \[_^M_][_$_]
-                    for tag in photo.tags))[_^M_][_$_]
+                p.slug = slugify(p.title)[_^M_][_$_]
+                p.labels = ' '.join(slugify(str(tag("raw"))) \[_^M_][_$_]
+                    for tag in photo.tags)[_^M_][_$_]

WM is licensed under the Microsoft Reciprocal License.

This Patch

WM

Code.WorldMaker.net

Colophon Copyright © 1999-2008 Max Battcher / WorldMaker. Some Rights Reserved.