Commits

Andy Mikhailenko committed f7fee60

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

Comments (0)

Files changed (2)

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'

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:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.