Jacob Kaplan-Moss
|
cef2239086
|
Fixed #2104: allow somewhat nicer error messages in RequiredIfOtherFieldEquals validator. Thanks, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-25 17:16:38 +00:00 |
Malcolm Tredinnick
|
6c4757729b
|
Revert [4485] in order to fix accidental mod_python breakage. Refs #2920.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-11 23:50:35 +00:00 |
Russell Keith-Magee
|
0e924c70b1
|
Refs #2920 -- Replaced implicit uses of _() with explicit imports or calls to gettext(). At some point post 0.96, we need to remove the calls that put _ into the builtins.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-11 06:20:52 +00:00 |
Jacob Kaplan-Moss
|
3a0733e12c
|
Fixed #2364: added NumberIsInRange validator. Thanks, Matt McClanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:29:07 +00:00 |
Jacob Kaplan-Moss
|
4d59730fad
|
Fixed #2934: greatly improved the accuracy if the isExistingURL check. Also introduced a new setting, URL_VALIDATOR_USER_AGENT, which is the User-Agent that the validator will use to check for URL existance. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 02:20:08 +00:00 |
Malcolm Tredinnick
|
1fc62f0fd6
|
Fixed #2760 -- Fixed FloatField validator right (take two!) for negative
float amounts.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 01:57:26 +00:00 |
Adrian Holovaty
|
321a59a36a
|
Small improvements to profanities-to-settings move from [3784]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 17:38:35 +00:00 |
Malcolm Tredinnick
|
a6a4e9b244
|
Fixed #2674 -- Added stricter date validation so that things like 2006-11-31
are caught. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 12:09:32 +00:00 |
Malcolm Tredinnick
|
aa30761d51
|
Fixed #2789 -- Corrected typo from r3788.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 13:33:43 +00:00 |
Malcolm Tredinnick
|
14be60c4cb
|
Fixed #2760 -- Fixed validation of negative float amounts in forms. Thanks,
James Bennett and Eddy Mulyono.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 03:42:31 +00:00 |
Malcolm Tredinnick
|
b46a093c45
|
Fixed #2678 -- Moved the list of profanities for the hasNoProfanities validator
into global_settings. Patch from Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 02:48:19 +00:00 |
Adrian Holovaty
|
cccbe23006
|
Fixed #2577 -- Made isSlug() validator translation-aware. Thanks for the patch, henrik_kroeger@arcor.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-21 17:43:34 +00:00 |
Adrian Holovaty
|
b98972e1c9
|
Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters long
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-10 02:32:54 +00:00 |
Malcolm Tredinnick
|
c0ea3284d7
|
Fixed #1088 - Correctly detect when a float with too many digits before the
decimal point is passed in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 01:09:00 +00:00 |
Adrian Holovaty
|
2abfd5dd58
|
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 05:00:13 +00:00 |
Luke Plant
|
9b86db9bf2
|
Eliminated lots of mutable default arguments (since they are bugs
waiting to happen and are memory leaks too).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-03 13:37:34 +00:00 |
Luke Plant
|
dbcd2fe985
|
Fixed #2045 - TypeError thrown if a form does not have the correct enctype for uploading
files. It throws a ValidationError now, as it should.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-01 20:47:34 +00:00 |
Adrian Holovaty
|
1bf991abb3
|
Fixed #2049 -- Made isValidEmail validator wider in scope. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-31 18:08:28 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
341d1eb022
|
Fixed #1550 -- Changed MatchesRegularExpression validator to use .search(), not .match(). Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-28 21:39:15 +00:00 |
Adrian Holovaty
|
0bf0b6d896
|
Fixed #1275 and #1288 -- Change e-mail address validator regular expression to be faster, simpler and accept subdomains
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-22 17:13:08 +00:00 |
Adrian Holovaty
|
cf528aa420
|
Fixed #721 -- isAlphaNumericURL validator now allows dashes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 22:36:16 +00:00 |
Adrian Holovaty
|
d8b4d29004
|
Improved url_re in django.core.validators to accept https. Thanks, Eric Hsu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-10 15:38:54 +00:00 |
Adrian Holovaty
|
e15567bf58
|
Fixed #1070 -- Improved date validation to limit it to dates 1900 and up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 16:05:00 +00:00 |
Adrian Holovaty
|
374a6eaa4c
|
Fixed #1009 -- Fixed small typo in HasAllowableSize validator. Thanks, bsoltani
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-07 05:13:18 +00:00 |
Jacob Kaplan-Moss
|
b6ddc9d3c1
|
Fixed use of "_" in RelaxNGCompact validator which was conflicting with gettext tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-22 03:39:39 +00:00 |
Georg Bauer
|
a87d43f809
|
fixed a bug with some validators that used parameterized gettext_lazy strings and forced them to the default language because of the % operator. Now lazy string interpolation is used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 11:10:19 +00:00 |
Georg Bauer
|
e4e28d907a
|
fixes #753 - ValidationError and CriticalValidationError now accept both strings and promises from gettext_lazy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 10:41:54 +00:00 |
Adrian Holovaty
|
0a74c68eee
|
Fixed #778 -- Improved isExistingURL validator not to raise ValidationError for URLs that exist but require authorization. Thanks for the report, lakin wrecker.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-12 20:25:47 +00:00 |
Adrian Holovaty
|
a218cf5798
|
Fixed #281 -- Made e-mail address validation much more strict and accurate.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-06 22:59:18 +00:00 |
Adrian Holovaty
|
24f666656f
|
Fixed #737 -- Changed validators.isValidIPAddress4 to use a single regex. Thanks, mattimustang
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-06 17:55:39 +00:00 |
Adrian Holovaty
|
8ee33da585
|
Fixed #734 -- Fixed namespace bug in validators.isValidIPAddress4. Thanks, Hugo and mflanagan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-05 17:59:16 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |
Adrian Holovaty
|
539e53ccf1
|
Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-20 04:20:52 +00:00 |
Jacob Kaplan-Moss
|
cd34c163cc
|
Moved JING from django.core.validators into settings where it belongs. Fixes #568.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-27 16:34:10 +00:00 |
Adrian Holovaty
|
3d426607a8
|
Fixed #264 -- Added django.core.validators.isValidIPAddress4. Thanks, Hugo and Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 02:02:15 +00:00 |
Adrian Holovaty
|
17418cd982
|
Added django.core.validators.isValidHTML
git-svn-id: http://code.djangoproject.com/svn/django/trunk@663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 14:51:57 +00:00 |
Adrian Holovaty
|
888cf1f889
|
Fixed #275 -- Bug in validators.RequiredIfOtherFieldsGiven. Thanks, jhernandez
git-svn-id: http://code.djangoproject.com/svn/django/trunk@410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-05 15:41:58 +00:00 |
Adrian Holovaty
|
502755878d
|
Fixed #266 -- Added ValidateIfOtherFieldEquals validator. Thanks again, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 15:12:11 +00:00 |
Adrian Holovaty
|
63eecadfc6
|
Tightened up some code in django.core.validators
git-svn-id: http://code.djangoproject.com/svn/django/trunk@404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 15:05:55 +00:00 |
Adrian Holovaty
|
0c6019295a
|
Refactored django.core.validators.RequiredIfOtherFieldGiven to remove duplicate code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 15:05:15 +00:00 |
Adrian Holovaty
|
2315ccc499
|
Fixed #268 -- Added AnyValidator and fixed small bug in [399]. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 14:57:20 +00:00 |
Adrian Holovaty
|
3f2df5e7aa
|
Fixed #269 -- Added MatchesRegularExpression validator. Thanks, Hugo!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-04 14:42:01 +00:00 |
Adrian Holovaty
|
ed114e1510
|
Imported Django from private SVN repository (created from r. 8825)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-07-13 01:25:57 +00:00 |