summaryrefslogtreecommitdiff
path: root/django/core
AgeCommit message (Collapse)Author
2005-11-22Fixed use of "_" in RelaxNGCompact validator which was conflicting with ↵Jacob Kaplan-Moss
gettext tag git-svn-id: http://code.djangoproject.com/svn/django/trunk@1340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21fixed a bug with some validators that used parameterized gettext_lazy ↵Georg Bauer
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-21fixed a bug that prevented the unique validation to workGeorg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21fixes #753 - ValidationError and CriticalValidationError now accept both ↵Georg Bauer
strings and promises from gettext_lazy git-svn-id: http://code.djangoproject.com/svn/django/trunk@1328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed #800 -- Fixed bug in treatement of underscores and percent signs in ↵Adrian Holovaty
SQLite backend. In order to do this, changed OPERATOR_MAPPING in DB backends to include a format string of the field value, because ESCAPE comes after the field value. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed #861 -- Model validator now validates unique_togetherAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed bug for OneToOneFields in the admin -- the ↵Adrian Holovaty
manipulator_validator_unique wasn't doing the correct lookup git-svn-id: http://code.djangoproject.com/svn/django/trunk@1322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21Fixed #527 -- Changed method_get_related() to use rel.get_related_field() ↵Adrian Holovaty
instead of rel.field_name git-svn-id: http://code.djangoproject.com/svn/django/trunk@1319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Gave formfields.EmailField a maxlength kwargAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Gave EmailField a get_internal_type() method and removed it from DATA_TYPES ↵Adrian Holovaty
in all the database backends git-svn-id: http://code.djangoproject.com/svn/django/trunk@1316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Fixed #484 -- Model validator now raises an error for FloatFields without ↵Adrian Holovaty
max_digits or decimal_places git-svn-id: http://code.djangoproject.com/svn/django/trunk@1314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20Fixed #527 and #768 -- Fixed longstanding bug with OneToOneFields. All unit ↵Adrian Holovaty
tests now pass git-svn-id: http://code.djangoproject.com/svn/django/trunk@1313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17Fixed #815 -- 'select' keyword in DB API calls is now quoted correctly. ↵Adrian Holovaty
Thanks, Hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@1274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16Changed FormWrapper.fields (from [1253]) to be a property, so that it's only ↵Adrian Holovaty
called when needed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15Fixed #587 - iteration through formfields in a FormWrapper is now allowed ↵Jacob Kaplan-Moss
(thanks, Boffbowsh) git-svn-id: http://code.djangoproject.com/svn/django/trunk@1253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15Fixed bug in postgresql backend that prevented the user of passwords with ↵Jacob Kaplan-Moss
spaces in them. Use pass *phrases*, folks, they're grrrrreat! git-svn-id: http://code.djangoproject.com/svn/django/trunk@1236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Added "pretty" error pages to be used when DEBUG is True.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14Fixed #121 -- Django now quotes all names in SQL queries. Also added unit ↵Adrian Holovaty
tests to confirm. Thanks, Robin Munn and Sune. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13Moved db.quote_name from a model-level function to a method of ↵Adrian Holovaty
DatabaseWrapper for all database backends, so quote_name will be accessible in a 'from django.core.db import db' context git-svn-id: http://code.djangoproject.com/svn/django/trunk@1213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12fixes #764 - the TokenParser now respects string parameters to filters that ↵Georg Bauer
contain blanks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12Fixed #778 -- Improved isExistingURL validator not to raise ValidationError ↵Adrian Holovaty
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-12Completely refactored legacy RSS framework to the new ↵Adrian Holovaty
django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11Implemented quote_name() for ado_mssql DB backend. Thanks, Jakub Labath and ↵Adrian Holovaty
Eugene Lazutkin git-svn-id: http://code.djangoproject.com/svn/django/trunk@1176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10Fixed #763 -- cache system now catches OSError for os.remove() call. Thanks, ↵Adrian Holovaty
Eugene git-svn-id: http://code.djangoproject.com/svn/django/trunk@1158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10Fixed #724 -- Ensured get_next_by_FOO() and get_previous_by_FOO() methods ↵Adrian Holovaty
don't skip or duplicate any records in the case of duplicate values. Thanks for reporting the bug, mattycakes@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@1155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Fixed #686 -- django-admin.py sqlreset and sqlclear no longer assume the ↵Adrian Holovaty
admin app is installed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Fixed #683 -- Lightly refactored meta.fields.Field to add an attname attribute.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Factored FORM_FIELD_ID_PREFIX out into a get_id() method in formfields.py -- ↵Adrian Holovaty
thanks for the idea, rjwittams git-svn-id: http://code.djangoproject.com/svn/django/trunk@1148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Fixed #761; thanks, EugeneJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Renamed enclosure_url, enclosure_length and enclosure_mime_type to give them ↵Adrian Holovaty
an 'item_' prefix, in the new RSS framework git-svn-id: http://code.djangoproject.com/svn/django/trunk@1141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09Added django.core.rss.Feed -- the new RSS interface. Refs #329.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06Fixed #281 -- Made e-mail address validation much more strict and accurate.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06Fixed #312 -- Fixed bug when adding images in the admin when edit_inline and ↵Adrian Holovaty
width field is set. Thanks, nichyoung git-svn-id: http://code.djangoproject.com/svn/django/trunk@1104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06Reworded docstrings and settings documentation from [1068]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06Fixed #737 -- Changed validators.isValidIPAddress4 to use a single regex. ↵Adrian Holovaty
Thanks, mattimustang git-svn-id: http://code.djangoproject.com/svn/django/trunk@1093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05Added meta.Admin list_select_related option, which specifies to use ↵Adrian Holovaty
select_related in the change-list query git-svn-id: http://code.djangoproject.com/svn/django/trunk@1092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05Fixed #734 -- Fixed namespace bug in validators.isValidIPAddress4. Thanks, ↵Adrian Holovaty
Hugo and mflanagan git-svn-id: http://code.djangoproject.com/svn/django/trunk@1091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: ↵Jacob Kaplan-Moss
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-02Made floatformat filter not choke on non-floatsJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Added quote_name hook for each database backend. Refs #121. Thanks, Robin ↵Adrian Holovaty
Munn -- we miss you. git-svn-id: http://code.djangoproject.com/svn/django/trunk@1039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Updated out-of-date docstring in django/core/db/__init__.pyAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Fixed #505 -- ssi template tag now displays a message instead of failing ↵Adrian Holovaty
silently if DEBUG=True. Thanks, Manuzhai git-svn-id: http://code.djangoproject.com/svn/django/trunk@1037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01Fixed #507 -- Changed MySQL backend so that it uses 'LIKE BINARY' for ↵Adrian Holovaty
case-sensitive comparisons -- contains, startswith and endswith. Thanks, Simon git-svn-id: http://code.djangoproject.com/svn/django/trunk@1036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #675: PasswordFields now respect length and maxlength paramsJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29Fixed #140: memcached backends may now use multiple serversJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28Fixed #488 -- removetags template filter now removes tags without a space ↵Adrian Holovaty
before the final slash git-svn-id: http://code.djangoproject.com/svn/django/trunk@1018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25Fixed #677 -- db.queries is now reset per request. Thanks, seancazzellAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. ↵Adrian Holovaty
Thanks, Sune git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23Added 'django-admin.py installperms' commandAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22Fixed #681 -- get_in_bulk no longer assumes PK fields are called id. Also ↵Adrian Holovaty
added unit tests to confirm. Thanks, Jeremy Dunck git-svn-id: http://code.djangoproject.com/svn/django/trunk@991 bcc190cf-cafb-0310-a4f2-bffc1f526a37