summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2006-07-19Modified BooleanField's to_python method to play nice with encode()ed strings.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19Modified to_python method for BooleanField so that the ↵Russell Keith-Magee
to_python(str(bool_val)) round trip works. This was causing problems with the serializers. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19Fixed #2332 -- Introduced is_authenticated() method on User and ↵Malcolm Tredinnick
AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15Fixed a small typo in the wordwrap filter's docstring.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15More pre-emptive escaping of strings that should not be interpreted as HTML.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Escaped variables that should not be interpreted as HTML and which mightMalcolm Tredinnick
contain dangerous characters. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Escaped all strings that should not contain active HTML tags.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Added command line flag to disable use of auto-reloader on development server.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Disable use of terminal colors when django-admin is run on a Pocket PC.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2325 -- fix the authentication framework to work with new-style classes.Malcolm Tredinnick
Patch from Joseph Kocherhans. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Added check_for_language and to_locale to utils.translation.trans_nullAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed another title string that needed escaping (these strings do needMalcolm Tredinnick
escaping, because they can be created from object strings, in part). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2346 -- Escaped string output in titles in admin interface. Thanks GaryMalcolm Tredinnick
Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2345 -- escaped object titles in breadcrumb display in admin. ThanksMalcolm Tredinnick
Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2344 -- Filtered some object string representations through the escapeMalcolm Tredinnick
filter. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-13Fixed bug in manipulator_valid_rel_key -- it assumed the related object was ↵Adrian Holovaty
related by the primary-key field, whereas this didn't work with ForeignKeys to non-primary-key fields git-svn-id: http://code.djangoproject.com/svn/django/trunk@3338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Fixed #2301 -- Fixed HTML problem with list_display_links. Thanks, kilianAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Added get_language_bidi to django.utils.translation.trans_nuill. Refs #2203Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Fixed #2326 -- Fixed exception catching in django.contrib.auth.models. ↵Adrian Holovaty
Thanks, mir@noris.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Added local 'qn' variable for backend.quote_name in ↵Adrian Holovaty
django.db.models.query.delete_objects git-svn-id: http://code.djangoproject.com/svn/django/trunk@3327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Added local 'qn' variable for backend.quote_name in ↵Adrian Holovaty
django.db.models.query.fill_table_cache git-svn-id: http://code.djangoproject.com/svn/django/trunk@3326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Removed references to LOOKUP_SEPARATOR in django.db.models.query.lookup_innerAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Removed unnecessary 'except: raise' in django.db.models.query.lookup_innerAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Added local 'qn' variable for backend.quote_name in ↵Adrian Holovaty
django.db.models.query.lookup_inner git-svn-id: http://code.djangoproject.com/svn/django/trunk@3323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Renamed 'clause' variable to 'lookup_type' in ↵Adrian Holovaty
django.db.models.query.lookup_inner git-svn-id: http://code.djangoproject.com/svn/django/trunk@3322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Fixed #1614 -- get_sql(), lookup_inner() and parse_lookup() no longer return ↵Adrian Holovaty
a 'tables' parameter, because 'tables' was never getting assigned, anywhere. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10fixed #2302: added arabic translation. thx Ahmad Alhashemi.Georg Bauer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed #2320 -- corrected numerous errors in the custom tag examples inMalcolm Tredinnick
python_templates.txt. Also fixed an argument parsing error for such tags. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed #2301 -- Added list_display_links option to 'class Admin', which ↵Adrian Holovaty
regulates which fields in the change list have links. Thanks, kilian git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed bug in utils.translation.trans_null -- get_date_formats and ↵Adrian Holovaty
get_partial_date_formats weren't returning tuples properly git-svn-id: http://code.djangoproject.com/svn/django/trunk@3306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters longAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09Fixed #2317 -- Fixed help_text for FlatPage.template_name field to match ↵Adrian Holovaty
magic-removal template names. Thanks, md@hudora.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08Made two small changes to comments in django.db.models.queryAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead ↵Adrian Holovaty
of hard-coded 'en' git-svn-id: http://code.djangoproject.com/svn/django/trunk@3298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2303 -- Fixed bug in [3269] with regard to True and False ↵Adrian Holovaty
special-casing in template system git-svn-id: http://code.djangoproject.com/svn/django/trunk@3294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2142 -- Fixed JavaScript warnings in admin JS. Thanks, ↵Adrian Holovaty
mike.capp@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2258 -- Accounted for the case of a missing threading library in ↵Adrian Holovaty
django.utils.synch. Thanks, scott@clued-in.co.uk git-svn-id: http://code.djangoproject.com/svn/django/trunk@3286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2272 -- Improved SQLite database introspection. Thanks, ↵Adrian Holovaty
dne@mayonnaise.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@3285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2267 -- Admin docs now show help text for fields. Thanks, vidarAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2283 -- Fixed XHTML-strict validation error in comment templatesAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2290 -- Escaped HTML in admin messages. Thanks, SeanAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06Fixed another problem where we were creating a class twice via two importMalcolm Tredinnick
paths. Self-referential relations (e.g. ForeignKey('self')) were still slipping through the net. Refs #1796. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05Fixed #2278 -- Fixed some argument parsing problems with the PostgreSQLMalcolm Tredinnick
dbshell. Also added in the process name to the arg list so that the output of 'ps' looks sensible. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05Fixed #1980, #2155 -- made date, time and datetime html2python methods a bitMalcolm Tredinnick
more consistent in their return values. All three now return None when the passed in string cannot be converted to the required object (this is assumed elsewhere). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05Fixed #2285 -- Tweaked the error message after model errors at "syncdb" time soMalcolm Tredinnick
that we don't report an app name of "None". git-svn-id: http://code.djangoproject.com/svn/django/trunk@3276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Fixed #1578 -- fixed a corner-case where we still wanting core=True attributesMalcolm Tredinnick
on a model that was not being edited inline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Trivial indentation fix.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Refs #2202 -- Cleaned up technique of splitting arguments, based upon a ↵Russell Keith-Magee
suggestion from SmileyChris. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Fixes #2202 -- Added ability to customize output of pluralize filter to ↵Russell Keith-Magee
handle irregular cases (walrus/walruses, cherry/cherries). Thanks to gid for the suggestion and the initial patch git-svn-id: http://code.djangoproject.com/svn/django/trunk@3272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Made django/utils/translation.py into a package django/utils/translation, ↵Adrian Holovaty
which is loaded lazily depending on the value of settings.USE_I18N. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3271 bcc190cf-cafb-0310-a4f2-bffc1f526a37