Changes between Version 7 and Version 8 of SlugifyUniquely


Ignore:
Timestamp:
02/28/2012 05:16:55 AM (4 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SlugifyUniquely

    v7 v8  
    3232                        potential = "-".join([base, str(suffix)])
    3333               
    34                 # doesn't this return 0, not false?
    3534                if not model.objects.filter(**{slugfield: potential}).count():
    3635                        return potential
Back to Top