Changes between Version 7 and Version 8 of SlugifyUniquely


Ignore:
Timestamp:
Feb 28, 2012, 5:16:55 AM (13 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