udata 9.0.1.dev29541__py2.py3-none-any.whl → 9.0.1.dev29562__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of udata might be problematic. Click here for more details.
- udata/forms/fields.py +2 -2
- udata/static/admin.js +16 -16
- udata/static/admin.js.map +1 -1
- udata/static/common.js +1 -1
- udata/static/common.js.map +1 -1
- udata/tests/api/test_datasets_api.py +1 -1
- udata/tests/test_model.py +2 -1
- udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
- udata/translations/fr/LC_MESSAGES/udata.po +31 -0
- udata/translations/udata.pot +101 -57
- udata/uris.py +14 -13
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/METADATA +2 -1
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/RECORD +17 -17
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/LICENSE +0 -0
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/WHEEL +0 -0
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/entry_points.txt +0 -0
- {udata-9.0.1.dev29541.dist-info → udata-9.0.1.dev29562.dist-info}/top_level.txt +0 -0
udata/forms/fields.py
CHANGED
|
@@ -206,8 +206,8 @@ class URLField(EmptyNone, Field):
|
|
|
206
206
|
if self.data:
|
|
207
207
|
try:
|
|
208
208
|
uris.validate(self.data)
|
|
209
|
-
except uris.ValidationError:
|
|
210
|
-
raise validators.ValidationError(
|
|
209
|
+
except uris.ValidationError as e:
|
|
210
|
+
raise validators.ValidationError(str(e))
|
|
211
211
|
return True
|
|
212
212
|
|
|
213
213
|
def process_formdata(self, valuelist):
|