Commits

Andy Mikhailenko committed f7fee60

Immediate bugfix after 1.0: the surgeon has forgotten his scalpel inside the patient's breast...

  • Participants
  • Parent commits 9dc62c9
  • Tags 1.0.1

Comments (0)

Files changed (2)

File autoslug/__init__.py

 
 __author__  = 'Andy Mikhailenko'
 __license__ = 'GNU Lesser General Public License (GPL), Version 3'
-__url__     = 'http://bitbucket.org/neithere/django-autoslugfield/'
-__version__ = '1.0'
+__url__     = 'http://bitbucket.org/neithere/django-autoslug/'
+__version__ = '1.0.1'

File autoslug/fields.py

     def __init__(self, *args, **kwargs):
         kwargs['max_length'] = kwargs.get('max_length', 50)
 
-        if kwargs['unique'] and kwargs['unique_with']:
-            #raise KeyError, 'AutoSlugField cannot
-
         # autopopulated slug is not editable unless told so
         self.populate_from = kwargs.pop('populate_from', None)
         if self.populate_from: