Commits

Johan Charpentier committed 16da052

Fix doc and tests if pytils installed on system.

Comments (0)

Files changed (2)

       # custom function, defined inline:
       AUTOSLUG_SLUGIFY_FUNCTION = lambda slug: 'can i haz %s?' % slug
 
-  Default value is 'django.template.defaultfilters.slugify'.
+  Default value is 'django.template.defaultfilters.slugify' or,
+  pytils.translit's slugify function if installed.
 """
 
 # use custom slugifying function if any
 
 settings.configure(
     INSTALLED_APPS=('autoslug',),
-    DATABASE_ENGINE='sqlite3'
+    DATABASE_ENGINE='sqlite3',
+    AUTOSLUG_SLUGIFY_FUNCTION='django.template.defaultfilters.slugify',
 )
 
 if __name__ == "__main__":