mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-28 09:58:56 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
759d03133b | ||
|
|
d5ed3ced40 |
@@ -56,7 +56,9 @@ class LocalizedModel(models.Model):
|
|||||||
# field class... we can also not only catch exceptions
|
# field class... we can also not only catch exceptions
|
||||||
# that apply to slug fields... so yea.. this is as
|
# that apply to slug fields... so yea.. this is as
|
||||||
# retarded as it gets... i am sorry :(
|
# retarded as it gets... i am sorry :(
|
||||||
if 'slug' in str(ex):
|
if 'slug' not in str(ex):
|
||||||
|
raise ex
|
||||||
|
|
||||||
if self.retries >= max_retries:
|
if self.retries >= max_retries:
|
||||||
raise ex
|
raise ex
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -7,7 +7,7 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='django-localized-fields',
|
name='django-localized-fields',
|
||||||
version='2.4',
|
version='2.5',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
license='MIT License',
|
license='MIT License',
|
||||||
|
|||||||
Reference in New Issue
Block a user