Adrian Holovaty
|
78b89ff118
|
Fixed #3232 -- newforms: Added save_instance(), which saves a given bound form's clean_data into a given model instance with the same field names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:49:47 +00:00 |
Adrian Holovaty
|
d08112a6a7
|
newforms: Changed model auto-Form generation so that create() and apply_changes() are now both called save() -- for the purposes of simplicity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:22:48 +00:00 |
Adrian Holovaty
|
fb60a6ff0a
|
Fixed #3193 -- newforms: Modified as_hidden() to handle MultipleChoiceField correctly. Thanks for the report, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 05:12:25 +00:00 |
Adrian Holovaty
|
2e148d7064
|
newforms: Added 'initial' parameter to Form, which lets initial data be specified dynamically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 04:39:44 +00:00 |
Adrian Holovaty
|
54b8277ffb
|
newforms: Fixed Unicode issue on Python 2.3 when a BoundField's __unicode__() included non-ASCII characters. Thanks for reporting the error, Johannes Froehlich
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-09 03:37:22 +00:00 |
Jacob Kaplan-Moss
|
f6390e8983
|
Fixed #1477: URLFields now accept a maxlength parameter. Thanks, Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-08 20:28:31 +00:00 |
Adrian Holovaty
|
02f690f738
|
newforms: Changed Form.ignore_errors to Form.is_bound, which is more descriptive and can be helpful to access at runtime
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-05 00:04:38 +00:00 |
Adrian Holovaty
|
b1f6b376c0
|
newforms: Changed Form so that clean_data only exists if a Form is valid. Thanks for the idea, Honza Kral
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-04 06:25:53 +00:00 |
Russell Keith-Magee
|
ddb9b7d57a
|
Fixed #2473 -- Added special case for '__in=[]' (empty set) queries, because 'WHERE attr IN ()' is invalid SQL on many backends. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-04 04:00:16 +00:00 |
Russell Keith-Magee
|
e1c6e987d0
|
Fixed #2756 -- Modified the get_object_or_404/get_list_or_404 shortcuts to accept model managers as well as model classes. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 14:16:58 +00:00 |
Russell Keith-Magee
|
c3f891210a
|
Fixes #3176, #3004 -- Added an argument to the floatfilter to allow users to specify precision of floats, Thanks, Eric Floehr.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-03 05:29:34 +00:00 |
Adrian Holovaty
|
8701cde8db
|
Fixed #3216 -- Added shebang statement to daily_cleanup.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-02 20:39:30 +00:00 |
Adrian Holovaty
|
d04a2e792c
|
Fixed typo in a docstring in django/contrib/admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-30 07:48:11 +00:00 |
Adrian Holovaty
|
f21cbb40b2
|
Fixed #3151 -- Improved MySQL backend not to send 'SET NAMES utf8' before every query. Thanks for the patch, smurf@smurf.noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-30 07:21:01 +00:00 |
Adrian Holovaty
|
7180207328
|
Fixed #3166 -- Added admin 'Change user password' view. Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-30 07:16:25 +00:00 |
Adrian Holovaty
|
b9fdf9abb8
|
newforms: Got form_for_instance() to select initial ManyToManyField values properly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-30 00:12:02 +00:00 |
Adrian Holovaty
|
0919920bc0
|
Added missing import to django.contrib.formtools.preview from [4259]. Thanks, Vadim Macagon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-30 00:06:28 +00:00 |
Adrian Holovaty
|
3dbaf60b86
|
Fixed #3204 -- Changed FormPreview to use RequestContext
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-29 19:42:56 +00:00 |
Adrian Holovaty
|
d681b084c3
|
Fixed #3205 -- Fixed bug in custom postgresql executemany wrapper. Thanks for reporting, jeffreyz@broadpark.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-29 19:01:29 +00:00 |
Adrian Holovaty
|
bcb7a31b2c
|
newforms: Implemented apply_changes() method for form_for_instance Forms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 02:34:53 +00:00 |
Adrian Holovaty
|
34dce706ee
|
Added value_from_object method to db Field class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 02:27:14 +00:00 |
Adrian Holovaty
|
f974b1bb5a
|
Negligible style fix to db/models/fields/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 02:20:29 +00:00 |
Adrian Holovaty
|
71ce11f617
|
newforms: Implemented form_for_instance(). The resulting Form class does not yet have a method that saves the changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 01:16:29 +00:00 |
Adrian Holovaty
|
2cb0fe71a2
|
newforms: Added 'initial' parameter to Field. This allows you to specify initial data that will be displayed with the form if no data is given. Also added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-28 00:01:52 +00:00 |
Adrian Holovaty
|
016d75cc7f
|
newforms: Implemented formfield() for database OneToOneField class. Not sure about this one, but one-to-one fields are eventually going to be refactored so it's not a big deal if it doesn't work
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-27 05:27:47 +00:00 |
Adrian Holovaty
|
6a75c8a52e
|
newforms: Implemented formfield() for database ForeignKey class and added unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-27 05:23:21 +00:00 |
Adrian Holovaty
|
d853278253
|
newforms: Implemented formfield() for database ManyToManyField class and added unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-27 05:15:22 +00:00 |
Adrian Holovaty
|
252606c711
|
Fixed #3115 -- Changed postgresql backend to convert all Unicode strings to bytestrings according to DEFAULT_CHARSET. This is necessary because psycopg1 does not apply database quoting to Unicode strings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-27 05:14:02 +00:00 |
Adrian Holovaty
|
b5cd7d469d
|
newforms: Added max_length and min_length optional arguments to RegexField, EmailField and URLField. Note that the argument order for those three fields has changed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:46:10 +00:00 |
Adrian Holovaty
|
d0fcef9db0
|
newforms: A label can now be the empty string, in which case a label won't be displayed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:33:20 +00:00 |
Adrian Holovaty
|
30c2bffe17
|
newforms: Changed Form.as_table() to display errors in same <td> as the field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 23:16:16 +00:00 |
Adrian Holovaty
|
247fdc19ad
|
newforms: Implemented RadioFieldRenderer.__getitem__(), which allows for index lookup on radio fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4238 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 22:56:53 +00:00 |
Jacob Kaplan-Moss
|
a5d3e0c3ef
|
Fixed #3187 -- Django will now look for the root URLconf as an attribute of the request object, if available. This lets middleware override the urlconf as needed. Thanks, Fredrik Lundh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-26 14:40:33 +00:00 |
Adrian Holovaty
|
86870e7587
|
newforms: Added django.newforms.extras.widgets, with SelectDateWidget implementation, plus some unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-24 20:22:38 +00:00 |
Adrian Holovaty
|
3d9b12b2d8
|
newforms: Removed Widget.requires_data_list parameter, which was made redundant by Widget.value_from_datadict()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-24 03:36:49 +00:00 |
Adrian Holovaty
|
f6fd5827aa
|
Changed django.forms to remove duplicate code and import from django.oldforms instead
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-22 01:44:34 +00:00 |
Russell Keith-Magee
|
64a2718f6c
|
Refactored workhorse methods on m2m descriptors. Modified _add to check for the type of incoming objects (to match existing _remove implementation), and modified _remove to use a single query rather than 1 per object (to match existing _add implementation).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-20 14:06:27 +00:00 |
Russell Keith-Magee
|
e859f108f1
|
Fixed problem with assiging an empty list to m2m related descriptors, introduced in [4231].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-20 13:57:17 +00:00 |
Russell Keith-Magee
|
2d6095ea5e
|
Fixed #3142 -- Optimized the assignment of m2m and m2o relation sets. Thanks, (and well spotted!) mitakummaa@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-20 09:59:03 +00:00 |
Jacob Kaplan-Moss
|
069a8858ba
|
Fixed #3128: Added explicit object-tools block so custom admin templates can override it where needed. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-20 05:00:36 +00:00 |
Adrian Holovaty
|
3f4d6a2dda
|
Changed dateformat 'M' to use MONTHS_3 instead of MONTHS, for better support of translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-18 16:16:12 +00:00 |
Adrian Holovaty
|
d9ce900e13
|
Fixed #3157 -- Made error message XHTML-friendly in CSRF middleware. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-18 15:37:52 +00:00 |
Adrian Holovaty
|
cd394a246a
|
Fixed #3153 -- newforms 'label' argument now can contain wacky characters. Thanks, dswistowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-17 19:04:03 +00:00 |
Adrian Holovaty
|
a0ef6f6915
|
newforms: Added optional 'form' parameter to form_for_model
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-17 05:12:53 +00:00 |
Adrian Holovaty
|
e76e2aaffb
|
newforms: Added BaseForm to django.newforms namespace
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-17 05:11:48 +00:00 |
Adrian Holovaty
|
546297be27
|
newforms: Implemented min_value and max_value options for IntegerField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 23:18:47 +00:00 |
Adrian Holovaty
|
26489d4e2a
|
newforms: Fixed unexpected behavior with CharField(required=False, min_length=X). Thanks for reporting, Benjamin Slavin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 23:07:41 +00:00 |
Adrian Holovaty
|
4f5170bffe
|
newforms: The Form classes created by form_for_model() now have a create() method, which creates a model instance from the clean_data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 22:33:24 +00:00 |
Adrian Holovaty
|
a23e67bf4b
|
Improved error message in postgresql backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 22:32:16 +00:00 |
Adrian Holovaty
|
5cb093b033
|
newforms: Changed form_for_model() to ignore a field if its formfield() returns None, and changed AutoField.formfield() to return None
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 21:22:13 +00:00 |
Jacob Kaplan-Moss
|
5efb9272e2
|
Vastly improved performance of django.utils.text.wrap. Thanks to GvR for the impetus and Micael Radziej for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 19:05:57 +00:00 |
Adrian Holovaty
|
35f7e33b4a
|
Implemented formfield() for a bunch of database Field classes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 18:32:42 +00:00 |
Adrian Holovaty
|
1c4ed6126b
|
Moved newforms import out of Field.formfield()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 18:15:55 +00:00 |
Adrian Holovaty
|
706fcec164
|
Copied django.forms to django.oldforms and changed all code to reference django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 18:00:50 +00:00 |
Adrian Holovaty
|
06a5370e6a
|
Fixed #1977 -- Changed postgresql.org URL in global_settings.py and project_template/settings.py. Thanks, regexbot@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 15:56:42 +00:00 |
Adrian Holovaty
|
6001974e45
|
newforms: Added initial implementation of form_for_model and form_for_fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 05:46:11 +00:00 |
Adrian Holovaty
|
0a7d8b18ff
|
newforms: Split the Form class into BaseForm and Form. The former has all the Form logic; the latter just implements the metaclass that allows for declarative form definition. This change makes it easier to allow other (i.e., non-declarative) designation of a form's fields in creating a form class
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-15 05:35:19 +00:00 |
Adrian Holovaty
|
fc11b97e97
|
Fixed #3143 -- Added TimeField to newforms. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-14 20:35:32 +00:00 |
Adrian Holovaty
|
d8a21981b7
|
Fixed #3139 -- newforms BoundField no longer returns empty errors when using a prefix. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 23:03:19 +00:00 |
Adrian Holovaty
|
6733c39804
|
Fixed #3112 -- Changed newforms Form.as_table() to use <th> instead of <td> for first column
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:44:57 +00:00 |
Adrian Holovaty
|
4add4e4272
|
Fixed #3114 -- newforms MultipleChoiceField now handles MultiValueDicts properly. Thanks for the patch, Honza Král
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-13 06:26:04 +00:00 |
Adrian Holovaty
|
faaec9c28f
|
Fixed #3132 -- Added prefix support for newforms. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-12 05:55:39 +00:00 |
Adrian Holovaty
|
05588b3797
|
newforms: Changed Form to use auto_id by default
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-11 02:38:18 +00:00 |
Adrian Holovaty
|
d93021eb10
|
Fixed #3102 -- newforms: Fields can now designate their human-friendly labels. BoundField.verbose_name is now BoundField.label
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 20:06:12 +00:00 |
Adrian Holovaty
|
f10a910577
|
newforms: Added Field.widget_attrs() hook, which lets a Field designate HTML attributes to use in its widget. Implemented CharField.widget_attrs(), which sets the HTML maxlength attribute for <input type='text'> and <input type='password'>. Thanks for the idea, Gary Doades
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4187 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 18:54:53 +00:00 |
Adrian Holovaty
|
4e72dc86ff
|
Fixed small Unicode error in newforms. Thanks, Honza Král. Refs #3114
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-08 05:54:14 +00:00 |
Adrian Holovaty
|
5f36d9d562
|
Added django.contrib.contenttypes.management.create_all_contenttypes() function for convenience
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 16:19:37 +00:00 |
Adrian Holovaty
|
c50d333c23
|
newforms: Changed Form._html_output() to use dictionary-style format strings for more flexibility. Thanks, Waylan Limberg
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:49:05 +00:00 |
Adrian Holovaty
|
545ebf4395
|
Improved [4180] to add HTML escaping on the primary-key value in the error message
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:14:35 +00:00 |
Adrian Holovaty
|
201704be3d
|
Added improved error message in admin views/main.py when loading ChangeManipulator. Also took the opportunity to convert all Http404 exceptions to use proper exception raising syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 15:09:24 +00:00 |
Adrian Holovaty
|
b4a67359a3
|
newforms: Abstracted common code in Form as_table(), as_ul() and as_p() into Form._html_output(). It's slightly obscure but saves on a lot of redundancy and code bloat.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:59:07 +00:00 |
Adrian Holovaty
|
7e269bd390
|
Fixed #3107 -- newforms: Added Form.as_p()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:34:37 +00:00 |
Adrian Holovaty
|
44add112e5
|
newforms: Form.as_ul() no longer puts hidden fields between <li>s. Similar to [4175], which was the same thing for Form.as_table(). Refs #3101
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:17:06 +00:00 |
Adrian Holovaty
|
3d1ceab1aa
|
newforms: Same fix as [4174], except for Form.as_table()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:10:31 +00:00 |
Adrian Holovaty
|
300f26deff
|
Fixed #3101 -- newforms: Form.as_table() no longer puts hidden fields between <tr>s. Thanks for reporting, Eric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 06:06:58 +00:00 |
Adrian Holovaty
|
88f1dd31b7
|
newforms: Small potential bugfix in Form.as_ul() -- called unicode() on BoundField rather than str()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:45:22 +00:00 |
Adrian Holovaty
|
12e9a84429
|
newforms: Changed Table.as_table() and Table.as_ul() to put hidden-form errors at the top of the output rather than in field order
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:35:39 +00:00 |
Adrian Holovaty
|
558e07a9bc
|
newforms: Simplified BoundField._errors()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 05:19:01 +00:00 |
Adrian Holovaty
|
b6a7afd4bd
|
Changed Flup (FastCGI) backend to set debug=False, to turn off tracebacks in case of error. Thanks, Jared Kuolt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 03:04:22 +00:00 |
Russell Keith-Magee
|
939ee97d4d
|
Fixed #3106 -- Typo in sitemap ping_google method. Thanks, Bastian Kleineidam.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-07 00:02:02 +00:00 |
Adrian Holovaty
|
e6d19257ba
|
Fixed #3095 -- Added translation strings to newforms. Thanks for the patch, Honza Král
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 06:37:32 +00:00 |
Adrian Holovaty
|
c7345f4e0f
|
Fixed bug in admin with raw_id_admin -- change list in popup didn't append 'pop' link to the 'total' link. Thanks for reporting, patrickk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-06 06:23:59 +00:00 |
Adrian Holovaty
|
311fadeee0
|
Added django.contrib.formtools, including the forced-preview application
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 20:51:25 +00:00 |
Adrian Holovaty
|
6c0219cf72
|
newforms: Added __unicode__() methods wherever there were __str__() methods, and changed the __str__() methods to delegate to __unicode__().encode(settings.DEFAULT_CHARSET)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 20:08:27 +00:00 |
Adrian Holovaty
|
a794acbd7a
|
newforms: Removed DEFAULT_ENCODING import from fields.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 19:55:51 +00:00 |
Adrian Holovaty
|
be217bce53
|
Template system now supports variables whose str() returns a Unicode object with non-ascii characters. Thanks, gabor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 19:48:46 +00:00 |
Adrian Holovaty
|
460ccfc045
|
newforms: Changed BoundField form, field and name attributes to remove leading underscore to imply that they can be accessed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-05 18:48:49 +00:00 |
Adrian Holovaty
|
468993d13e
|
newforms: Added check_test argument to CheckboxInput and changed its render() behavior slightly. Also changed CheckboxSelectMultiple to use checkboxes with the same name, rather than checkboxes with separate names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 22:06:08 +00:00 |
Adrian Holovaty
|
e130031fd2
|
Fixed #3082 -- newforms: Changed Form as_table() and as_ul() not to display verbose names for hidden fields, and to add field-name prefix to error messages to avoid user confusion. Also added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 17:07:40 +00:00 |
Adrian Holovaty
|
4dca65cdfc
|
newforms: Added BoundField.as_hidden()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-30 03:58:25 +00:00 |
Adrian Holovaty
|
d506b90163
|
Fixed #2924 -- Development server no longer spins on an empty form post. Bug caused by [3805]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 22:51:24 +00:00 |
Adrian Holovaty
|
61c93842f4
|
newforms: Added BoundField.data property
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 21:48:58 +00:00 |
Adrian Holovaty
|
4a3ad338d6
|
newforms: Added Widget.value_from_datadict hook, which allows a Widget to define how to convert its post data dictionary to a value. Implemented it for CheckboxSelectMultiple and updated unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 17:00:34 +00:00 |
Adrian Holovaty
|
a1cd3c9f52
|
Fixed #3080 -- Fixed bug in delete_cookie() method. Thanks, nowell strite
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 16:44:10 +00:00 |
Adrian Holovaty
|
e6babbfe5f
|
newforms: Added docstring to Widget.build_attrs()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:18:56 +00:00 |
Adrian Holovaty
|
4db61fb406
|
Fixed #3078 -- newforms: Added HTML escaping to label_tag() calls. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:14:03 +00:00 |
Adrian Holovaty
|
8aae90c0e5
|
newforms: Implemented CheckboxSelectMultiple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 03:02:26 +00:00 |
Adrian Holovaty
|
fe4af48ec8
|
newforms: The <input> tags in a RadioSelect now each have a distinct ID. Also, this plays nicely with auto_id and <label>s for Form.as_table() and Form.as_ul(). Refs #3064
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 01:40:27 +00:00 |
Adrian Holovaty
|
bb45c394a6
|
Fixed #3064 -- newforms: Added <label> support through BoundField.label_tag() method. Also added BoundField.verbose_name and added/updated unit tests. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-29 00:49:27 +00:00 |
Adrian Holovaty
|
e1d23323b6
|
Fixed small bug in 'The view ____ didn't return an HttpResponse object' message -- it assumed the view was a function, whereas it can be any callable object
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-28 22:58:10 +00:00 |
Adrian Holovaty
|
9c44d8b60b
|
Fixed #3072 -- Fixed docstring in object_detail() generic view. Thanks, Matt McClanahan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 23:38:49 +00:00 |
Adrian Holovaty
|
7c1cc5fb25
|
newforms: Small short-circuit optimization to BoundField.as_widget()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 05:02:21 +00:00 |
Adrian Holovaty
|
190c987e63
|
newforms: Normalized all error <ul>s to use class='errorlist'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 04:56:33 +00:00 |
Adrian Holovaty
|
49236b95e9
|
newforms: Added Form.non_field_errors() and added more examples/documentation to the unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 04:49:26 +00:00 |
Adrian Holovaty
|
6d36d97cb8
|
newforms: Added BoundField.label, which calculates the label of the field based on its name
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 04:23:20 +00:00 |
Adrian Holovaty
|
126e0ec0c3
|
Fixed #3026 -- newforms: Form class now suppresses validation and errors if no data (or None) is passed in. Validation still happens if you pass in an empty dictionary. Also updated unit tests. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 03:49:19 +00:00 |
Adrian Holovaty
|
682e435c5f
|
newforms: Changed Form.errors to be a property rather than a function. Refs #3026
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 01:55:24 +00:00 |
Adrian Holovaty
|
48b36bb4a4
|
newforms: Removed redundant declaration of Form.clean(). Thanks, SmileyChris. Refs #3026
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 01:49:26 +00:00 |
Adrian Holovaty
|
56ad38a826
|
newforms: Added a bunch of unit tests and fixed some bugs in the case of required=False for various Field subclasses
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 00:49:26 +00:00 |
Adrian Holovaty
|
684cf3c6fe
|
Fixed #2980 -- Changed project_template/urls.py to use new-style URLconf. Thanks for the patch, ymasuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 00:38:09 +00:00 |
Adrian Holovaty
|
2e4ff8ee0c
|
Fixed #3038 -- newforms: RegexField no longer validates empty input for required=False. Thanks for reporting, Thomas Steinacher
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-27 00:23:17 +00:00 |
Adrian Holovaty
|
e71fb7c7f2
|
Fixed #3057 -- Improved wsgi backend to tolerate empty string in CONTENT_LENGTH. Thanks for the patch, Ivan Sagalaev
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-26 23:52:12 +00:00 |
Adrian Holovaty
|
4a14f2e233
|
Fixed #3065 -- newforms: Fixed rendering problem with RadioSelect as a member of a Form. Also fixed some Unicode issues and added unit tests. Thanks for reporting, Derek Hoy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-26 18:44:58 +00:00 |
Russell Keith-Magee
|
95d19384c0
|
Fixes #2993, Refs #2918 -- Reverted [3960]; [3960] fixed a potential data validation problem for SQLite, but broke usage of LazyDate. The proper fix is to complete the model validators to catch _all_ invalid inputs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-26 02:38:04 +00:00 |
Adrian Holovaty
|
8379785e79
|
Moved newforms form_for_model and form_for_fields to django/newforms/models.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-25 06:33:59 +00:00 |
Adrian Holovaty
|
6b7cd79e83
|
Fixed #3061 -- Fixed wrong schema URL in sitemap_index.xml template. Thanks, Mateusz Pawlik and John D'Agostino
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-25 05:20:14 +00:00 |
Adrian Holovaty
|
9884211a1a
|
Fixed #3057 -- Fixed typo in [4091]. Thanks for the heads-up, Barry Pederson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-23 17:48:06 +00:00 |
Adrian Holovaty
|
3abf8e42b5
|
Fixed #3054 -- newforms Form now keeps track of field order
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-23 17:40:33 +00:00 |
Adrian Holovaty
|
a2e227f2fa
|
Fixed #3057 -- Changed WSGI handler not to expect CONTENT_LENGTH. Thanks for the patch, Ivan Sagalaev
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-23 17:06:11 +00:00 |
Adrian Holovaty
|
23e21df9ca
|
Fixed bug in [3786]. django/core/xheaders.py no longer assumes request.user exists
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-23 04:34:45 +00:00 |
Jacob Kaplan-Moss
|
5bafb499e7
|
Fixed #3052: GZIP middleware now correctly reports Content-Length. Thanks, simonbun.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-22 20:31:09 +00:00 |
Adrian Holovaty
|
f759dac2c9
|
Fixed #3033 -- Extended django.contrib.sitemaps to support new, generic sitemap protocol rather than Google's proprietary version. Thanks, Petar Marić
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-20 16:32:40 +00:00 |
Adrian Holovaty
|
d2180a6bf3
|
Fixed #3014 -- Admin 'now' shortcut for DateTimeFields now updates seconds, too. Thanks for the patch, Esdras Beleza
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-20 16:23:48 +00:00 |
Adrian Holovaty
|
820d940355
|
newforms: Tiny optimization to smart_unicode()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-16 06:47:08 +00:00 |
Adrian Holovaty
|
6dd4e6d046
|
newforms: Fixed #3008 -- Widgets now support strings containing utf-8 characters. Thanks for reporting, Nebojša Đorđević
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-16 06:45:29 +00:00 |
Adrian Holovaty
|
75516392b8
|
newforms: Fixed #3027 -- Changed Form as_table(), as_ul(), as_table_with_errors() and as_ul_with_errors() to exclude <table> and <ul>. Good idea, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-16 01:16:33 +00:00 |
Adrian Holovaty
|
c4070e86c8
|
Fixed #3025 -- Added auto_id option to Form.__init__(). Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 23:09:10 +00:00 |
Adrian Holovaty
|
522f674070
|
newforms: Implemented RadioSelect, with unit tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 22:08:22 +00:00 |
Adrian Holovaty
|
5a597d3bbb
|
newforms: Cleaned up some un-DRYness by adding Widget.build_attrs(). Also slightly changed flatatt to include a leading space, so the spaces don't have to be hard-coded each time you embed flatatt() results in HTML. Thanks, SmileyChris. Refs #3023
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 20:16:04 +00:00 |
Georg Bauer
|
cdec3d85e2
|
fixed #3013: fixed typos in the 'de' translation. Additionally added a few missing translations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 17:30:02 +00:00 |
Georg Bauer
|
e0b83b6929
|
fixed #2981: updated es_AR translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 17:23:18 +00:00 |
Georg Bauer
|
5163120587
|
fixed #2999: updated greek translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-15 17:15:28 +00:00 |
Adrian Holovaty
|
ab6fd7328f
|
Fixed typo in 'incorrect backend' database error message
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-13 05:02:45 +00:00 |
Adrian Holovaty
|
83c40fb922
|
Fixed bug in [4058], in django/core/mail.py. Thanks, Igor Goryachev
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-10 17:42:47 +00:00 |
Adrian Holovaty
|
6a53c8a2dd
|
Fixed #2997 -- Fixed URLField validation in django.newforms. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-10 03:39:00 +00:00 |
Adrian Holovaty
|
4b4efced54
|
Fixed #3007 -- Fixed Python 2.4-ism from [4051] in django/core/mail.py. Also cached the result of socket.getfqdn(). Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-10 03:28:58 +00:00 |
Adrian Holovaty
|
a84404c190
|
Formatting fixes from the past round of checkins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4052 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 19:07:27 +00:00 |
Jacob Kaplan-Moss
|
6f164ad485
|
Fixed #2991: Added Message-ID header to messages sent from Django. Thanks, Graham King.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 15:32:18 +00:00 |
Jacob Kaplan-Moss
|
b1b4e8e7c4
|
Fixed #2800: the ifchanged tag now can optionally take paramaters to be checked for changing (instead of always using the content). Thanks, Wolfram Kriesing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:36:51 +00:00 |
Jacob Kaplan-Moss
|
a14dba5eed
|
Fixed #2848: broken doctest in comment app. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:20:00 +00:00 |
Jacob Kaplan-Moss
|
fef89a01c5
|
Fixed #2866: Added DATABASE_OPTIONS setting which gets passed as extra kwargs to the backend's connect method. Thanks, ymasuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:17:38 +00:00 |
Jacob Kaplan-Moss
|
afb2366430
|
Fixed #2875: made urlresolvers.get_mod_func() deal with non-qualified callbacks better. Thanks, Matt McClanahan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:05:16 +00:00 |
Jacob Kaplan-Moss
|
a1199d8528
|
Fixed #2894: XML deserializer now correctly handles null primary keys.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:01:35 +00:00 |
Jacob Kaplan-Moss
|
86143f7599
|
Fixed #2913: CursorDebugWrapper no longer double-tuple-izes parameters. Thanks, artdent@freeshell.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 05:00:19 +00:00 |
Jacob Kaplan-Moss
|
92151b2d28
|
Fixed #2914: filesizeformat no longer dies on invalid values. Thanks, dev@simon.net.nz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:58:10 +00:00 |
Jacob Kaplan-Moss
|
febe05b9ef
|
Fixed #2921: deserialization no longer failes on NULL primary keys. Thanks, mir@noris.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:56:50 +00:00 |
Jacob Kaplan-Moss
|
e39a8e947e
|
Fixed #2701: Added "fields" argument to serializers.serialize. Thanks, Deryck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:50:13 +00:00 |
Jacob Kaplan-Moss
|
d4d1a22730
|
Fixed #2575: ObjectPaginator now accepts a "orphans" option to prevent pages with only a few items. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:44:27 +00:00 |
Jacob Kaplan-Moss
|
dabf036604
|
Fixed #2452: comments can now be put within initial SQL files. Thanks, Pawel J. Sawicki.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:31:35 +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
|
4cb2247327
|
Fixed #2343: Library.inclusion_tag now accepts a list of template names along with a single name. Thanks, mderk@yandex.ru
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:13:06 +00:00 |
Adrian Holovaty
|
a888249770
|
Implemented [4035] (improvement in URL validation) in django.newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 02:32:33 +00:00 |
Jacob Kaplan-Moss
|
a4d86a7fb0
|
Fixed #2923: FileFields can now be modified on windows. Thanks, radek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 02:25:49 +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 |
Jacob Kaplan-Moss
|
212cb21baa
|
Fixed #2972: prepopulate_from now works with multiple slugs on the same field. Thanks, Archatas.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 02:04:06 +00:00 |
Jacob Kaplan-Moss
|
0fd9f6ec6b
|
Fixed $2973: added minspare/maxspare/maxchildren options to runfcgi. Thanks, James Crasta.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 02:01:16 +00:00 |
Jacob Kaplan-Moss
|
726756bdd5
|
Fixed #2975: dateparse.js now correctly handles the last day of the year. Thanks, wangbin@exoweb.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 01:59:46 +00:00 |
Jacob Kaplan-Moss
|
644af2213d
|
Fixed #2899: added defaults for data and error_dict params to FormWrapper. Thanks, john@sneeu.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-06 22:56:23 +00:00 |
Jacob Kaplan-Moss
|
b6a1789330
|
Fixed #1021: unique_together should now get validated correctly. Thanks, wam@cisco.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-06 22:51:00 +00:00 |
Adrian Holovaty
|
46b0713315
|
django.newforms: Implemented hook for validation not tied to a particular field. Renamed to_python() to clean() -- it's just...cleaner. Added Form.as_table(), Form.as_url(), Form.as_table_with_errors() and Form.as_ul_with_errors(). Added ComboField. Updated all unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-04 20:49:59 +00:00 |
Georg Bauer
|
88029f7700
|
fixed #2974: updated pt_BR translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-03 13:18:07 +00:00 |
Russell Keith-Magee
|
77bdaa76df
|
Removed fossilized remnant of pre-magic removal m2m code. Thanks for the report, Baurzhan Ismagulov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-03 02:14:46 +00:00 |
Russell Keith-Magee
|
7f71ae1b8d
|
Fixes #2918 -- Clarified the db_prep_save logic for DateField and DateTimeField to prevent accidental conversion of non-datetime objects into strings, because SQLite doesn't appear to check for valid date format in a string used on an UPDATE of a datetime column.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-02 14:24:31 +00:00 |
Adrian Holovaty
|
6645d1fe48
|
Added ChoiceField, MultipleChoiceField to django.newforms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-02 03:16:12 +00:00 |
Adrian Holovaty
|
36786d28f5
|
Implemented SelectMultiple in django.newforms.widgets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-02 01:06:12 +00:00 |
Adrian Holovaty
|
c0eab791df
|
Added PasswordInput, HiddenInput, FileInput, Select to django.newforms.widgets
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-01 23:53:37 +00:00 |
Adrian Holovaty
|
c58fe999a1
|
Added URLField to django.newforms.fields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-01 23:52:43 +00:00 |
Russell Keith-Magee
|
7bff9cc368
|
Fixes #2969 -- Added maxRequests option for FCGI servers. Thanks, Michael Radziej.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-31 12:27:55 +00:00 |
Adrian Holovaty
|
41d11a685f
|
Fixed #2968 -- Changed arguments to __import__ to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 20:50:27 +00:00 |
Russell Keith-Magee
|
6d1335c058
|
Fixes #2966 -- Added extra_context parameter to direct_to_template generic view to keep it aligned with capabilities of other generic views. Thanks, wam-djangobug@wamber.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 14:30:43 +00:00 |
Russell Keith-Magee
|
5ec32a1c2d
|
Fixes #2965 -- Added i18n for joiner used in validation error messages. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 13:54:28 +00:00 |
Russell Keith-Magee
|
cb93c0d0da
|
Fixes #2964 -- Fixed typo in regex in docstring for redirect_to. Thanks, wam-djangobug@wamber.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 13:49:45 +00:00 |
Adrian Holovaty
|
88a2f53b85
|
Split django.newforms into forms, fields, widgets, util. Also moved unit tests from docstrings to a standalone module in tests/regressiontests/forms, to save docstring memory overhead, keep code readable and fit our exisitng convention
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-28 20:34:37 +00:00 |
Adrian Holovaty
|
4d596a1f64
|
Added django.newforms -- work-in-progress of the new framework for forms/validators/manipulators
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-28 19:02:26 +00:00 |
Adrian Holovaty
|
4baeadb9a2
|
Fixed #2956 -- Made 'django-admin.py startproject' tolerant of filesystem arrangements that cannot accept file-permission changes. Thanks for the patch, masonsimon+django@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-27 02:19:32 +00:00 |
Adrian Holovaty
|
48234a0925
|
Fixed #2961 -- Added 'opencomment' and 'closecomment' options to {% templatetag %} templatetag. Thanks for the patch, Jeong-Min Lee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-27 01:58:13 +00:00 |
Jacob Kaplan-Moss
|
ed27ff9aa9
|
Fixed ngettext bug in comments post view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-25 21:56:17 +00:00 |
Georg Bauer
|
94386f6109
|
fixed #2942: updated 'ja' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-25 16:05:07 +00:00 |
Adrian Holovaty
|
6fa3498d9f
|
Reverted [3919] because it requires mod_python 3.2.10+
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-25 02:55:51 +00:00 |
Adrian Holovaty
|
3536f89108
|
Fixed #2932 -- Added more details to the warning message in 'manage.py reset'. Thanks for the patch, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 22:21:55 +00:00 |
Adrian Holovaty
|
60b46d72ac
|
Fixed #648 -- Added comment syntax to template system: {# #}. Thanks for the patch, mccutchen@gmail.com and Hawkeye
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 21:30:38 +00:00 |
Adrian Holovaty
|
fa49edc7bd
|
Fixed #2890 -- Added default values of False for auth.User is_staff and is_superuser. Thanks for the suggestion, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 20:45:28 +00:00 |
Adrian Holovaty
|
6b384e828d
|
Fixed #2826 -- Added .is_authenticated() check before login() in comments views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 17:00:03 +00:00 |
Adrian Holovaty
|
9c4918e16d
|
Fixed #2865 -- Reverted [3866] (problem with mod_python SERVER_PORT
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:54:32 +00:00 |
Adrian Holovaty
|
185a5f6614
|
Fixed #2898 -- Added missing ngettext import to django.db.models.fields.related
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:49:19 +00:00 |
Adrian Holovaty
|
1c4ac051ce
|
Fixed #2925 -- Added missing exception import to admin.views.auth. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:46:46 +00:00 |
Adrian Holovaty
|
179d410a7a
|
Fixed #2937 -- Added __eq__, __ne__ and __hash__ for AnonymousUser. Thanks, favo@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:42:03 +00:00 |
Adrian Holovaty
|
3f9ebe6cc5
|
Fixed #2943 -- Changed admin select filter box to work properly with multi-byte characters in verbose_name. Thanks, mtsuyuki@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:37:51 +00:00 |
Adrian Holovaty
|
b0a8a75fc3
|
Fixed #2955 -- Fixed incorrect verbose-name display in admin delete_stage message. Thanks for the patch, mattimustang@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:35:04 +00:00 |
Adrian Holovaty
|
8a8472d300
|
Changed django.core.handlers.modpython ModPythonRequest.is_secure() to use req.is_https(). Thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 16:07:39 +00:00 |
Russell Keith-Magee
|
c3c090ab13
|
Fixes #2915 -- Fixed typo in validation error message. Thanks, Matt Riggott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-17 00:45:46 +00:00 |
Georg Bauer
|
0d240504ca
|
fixed #2911: added polish to the default languages
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-16 16:23:28 +00:00 |
Georg Bauer
|
0107d59571
|
fixed #2851: updated turkish language files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-16 16:22:15 +00:00 |
Russell Keith-Magee
|
fbbbf8b9a1
|
Fixes #2737 -- Added code to allow None as a query value for __exact queries, raising an error otherwise. __exact=None is interpreted as the SQL 'value = NULL'. This fixes some minor problems with queries on unsaved objects with related object sets, and stops queries with a value of None being outright ignored (even if they reference an unknown attribute).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-14 02:48:05 +00:00 |
Georg Bauer
|
f83e439efa
|
fixed #2876: updated japanese translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-10 11:53:12 +00:00 |
Georg Bauer
|
69396ea816
|
fixed #2887: updated czech translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-10 11:51:45 +00:00 |
Jacob Kaplan-Moss
|
aaa3411a0a
|
Made the !NoReverseMatch exception fail silently within templates (so that model.permalink doesn't cause templates to break for a broken permalink function).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-09 23:24:48 +00:00 |
Russell Keith-Magee
|
afd9b87711
|
Fixed problem with debug message arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-09 05:55:04 +00:00 |
Russell Keith-Magee
|
8f91717c82
|
Modified sql_index function names to match pattern established by initial_data functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:58:33 +00:00 |
Russell Keith-Magee
|
f5087775b3
|
Refs #1828 -- Added creation of indexes as a step in syncdb. This is an interim solution; the long term solution requires a non-trivial refactoring of syncdb, install and the get_* calls in management.py. Thanks to mdt@emdete.de for the original report, and to Simon Greenhill for prodding me to an interim fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:46:11 +00:00 |
Russell Keith-Magee
|
b08a8dbb65
|
Cleaned up and clarified some log messages and docstrings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:23:49 +00:00 |
Russell Keith-Magee
|
d886e71f2b
|
Factored out per-model index generation code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:05:10 +00:00 |
Russell Keith-Magee
|
67eabb9299
|
Modified the default verbosity to be 1 (normal), and added some syncdb messages at verbosity 2.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 12:57:05 +00:00 |
Russell Keith-Magee
|
b5a7122408
|
Added ability to use --noinput flag for application reset.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 10:01:50 +00:00 |
Russell Keith-Magee
|
bf6257f1ee
|
Altered the order of arguments to the test function to match common practice in the rest of management.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 09:53:12 +00:00 |
Russell Keith-Magee
|
fa4bb1b093
|
Clarified documentation to indicate that authenticating a user doesn't imply that they are active. Reinforced the fact that has_perm only returns true if user is active, and fixed a minor bug to that effect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-30 01:21:03 +00:00 |
Russell Keith-Magee
|
14fb13da7e
|
Disabled access to the admin site for inactive accounts, and clarified documentation regarding User.is_active. Thanks to Enrico <rico.bl@gmail.com> for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-29 13:37:58 +00:00 |
Adrian Holovaty
|
c0127f015b
|
Folded BaseHandler.get_technical_error_response() into BaseHandler.get_response() to save the overhead of a function call, and because that logic didn't need to be abstracted.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:37:41 +00:00 |
Adrian Holovaty
|
f22cd4ec05
|
Folded BaseHandler.get_friendly_error_response() into BaseHandler.get_response() to save the overhead of a function call, and because that logic didn't need to be abstracted.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:34:48 +00:00 |
Adrian Holovaty
|
f638234932
|
Removed ENABLE_PSYCO setting. If you still need to use this, write custom middleware that activates psyco for you.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:31:05 +00:00 |
Adrian Holovaty
|
beeb719c12
|
Folded django.core.handlers.modpython.populate_apache_request into ModPythonHandler.__call__() to save the overhead of a function call, and because that logic didn't need to be abstracted.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 02:07:00 +00:00 |
Adrian Holovaty
|
15e7805ae4
|
Changed BaseHandler.get_response() to take a single parameter (an HttpRequest object) rather than a URL and the HttpRequest object, which is redundant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-28 01:56:02 +00:00 |
Malcolm Tredinnick
|
0cc1815170
|
Fixed Python 2.3 compatibility problem in [3872].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-27 02:50:46 +00:00 |
Malcolm Tredinnick
|
a834f213bd
|
Fixed omission in [3872].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-27 02:47:19 +00:00 |
Malcolm Tredinnick
|
6068f3e4cb
|
Reintroduced the changes from [3855] with more flexible handling of version
strings. Refs #2188, #2827.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-27 02:42:31 +00:00 |
Luke Plant
|
8b216eb865
|
Improved detection of whether a URL is internal or not for the purpose
of broken link e-mails (referred links from images.google were being
misclassified).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 18:49:28 +00:00 |
Adrian Holovaty
|
96f0b7bd21
|
Fixed #2805 -- Removed some whitespace from the two sitemap XML templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:27:24 +00:00 |
Adrian Holovaty
|
a07aafe007
|
Removed one more legacy bit from [3855]. Refs #2827.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:14:06 +00:00 |
Adrian Holovaty
|
38d80f8894
|
Fixed #2827 -- Reverted [3855]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:11:13 +00:00 |
Adrian Holovaty
|
b019331f44
|
Fixed #2782 -- Fixed incorrect request.META['SERVER_PORT'] for mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:00:52 +00:00 |
Adrian Holovaty
|
2170110df9
|
Fixed #2704 -- Fixed error in create_superuser. It was failing for invalid usernames. Thanks for reporting, jmu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 15:28:07 +00:00 |
Malcolm Tredinnick
|
6b4eb8bb70
|
Removed an unnecessary import from r3857. I'd forgotten that _() was put into
the global namespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 13:59:10 +00:00 |
Malcolm Tredinnick
|
1f8cc30f5f
|
Fixed #2748 -- Turned daily_cleanup.py into something that will run against the
current version of Django.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 13:08:16 +00:00 |
Russell Keith-Magee
|
cb829267b8
|
Corrected line that was somehow merged out prior to committing changeset [3858].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 12:55:44 +00:00 |
Russell Keith-Magee
|
0d19b2eaae
|
Refs #2243 -- Fixed manipulator handling of raw_id_admin m2m edit_inline fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 12:53:15 +00:00 |
Malcolm Tredinnick
|
ae0bea8d50
|
Fixed a problem with editing inline objects.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 12:49:49 +00:00 |
Malcolm Tredinnick
|
876a3ed602
|
Fixed #2587 -- Removed some escaping from the summary fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 11:58:56 +00:00 |
Malcolm Tredinnick
|
4e76727fec
|
Fixed #2188 -- Raise an error when using long CharFields in combination with
older MySQL versions. Thanks, Fraser Nevett <mail@nevett.org> .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 10:46:34 +00:00 |
Malcolm Tredinnick
|
5371ee1743
|
Fixed #2194 -- Tweaked error message for unique_together validator to display
all verbose field names. Patch from dackze+django@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 10:19:40 +00:00 |
Malcolm Tredinnick
|
e149c8bb87
|
Fixed #2823 -- Fixed Python 2.3 compatibility problem pointed out by Alex Dedul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 10:08:03 +00:00 |
Malcolm Tredinnick
|
9c0568e21e
|
Fixed #2208 -- Allow empty arguments to be passed to filters. Thanks, mattmcc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 07:26:07 +00:00 |
Malcolm Tredinnick
|
a27f12f388
|
Fixed #2265 -- Fixed problem with using iterators for "choices" attribute.
Thanks, Alex Dedul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 06:33:32 +00:00 |
Malcolm Tredinnick
|
be053df693
|
Fixed #2300 -- Added required "value" attribute to CheckboxSelectMultipleField
form field. Converted the submitted data for the same field back into something
we can work with. Thanks, lerouxb@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 04:37:10 +00:00 |
Malcolm Tredinnick
|
11416e4a54
|
Fixed #2362 -- Corrected the way we retrieve an object so that it works for
one-to-one fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 04:11:30 +00:00 |
Malcolm Tredinnick
|
789f30258a
|
Fixed #2817 -- Fixed formatting problem in admin help string. Thanks,
Maximillian Dornseif.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 03:46:33 +00:00 |
Malcolm Tredinnick
|
9b034d2746
|
Fixed #2816 -- Marked a couple more translatable strings. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 03:42:27 +00:00 |
Malcolm Tredinnick
|
4ed82677be
|
Fixed #2783 -- Fixed one-to-one fields to work with any primary key data type
in the related model. Thanks, Joel Heenan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 02:58:36 +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 |
Russell Keith-Magee
|
83501405c2
|
Added '1' and '0' as allowed text input for BooleanFields. This was required to acommodate XML serializers when using MySQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 00:36:04 +00:00 |
Adrian Holovaty
|
7cfe56524b
|
Proofread new django-admin 'adminmedia' option from [3811] and [3812]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 17:50:36 +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 |
Adrian Holovaty
|
227626dcd0
|
Fixed typos and improved documentation for permission_required decorator addition from [3779]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 17:33:17 +00:00 |
Adrian Holovaty
|
33a9a8f21a
|
Altered [3778] change to match our coding/text style (django.middleware.common)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 17:25:39 +00:00 |
Russell Keith-Magee
|
205cb040d4
|
Removed some stray debug that was accidentally left in r3830.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 14:17:51 +00:00 |
Russell Keith-Magee
|
175337605d
|
Fixes #1816, #2243 -- Removed a stale remnant of pre-magic removal code in manipulators that modify m2m object that are edited inline. Thanks to dolemite@wuli.nu and coconutstudio@yahoo.com for the original reports, Tyson Tate for a clean test case, and Jay Parlar for helping out with a solution.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 14:06:14 +00:00 |
Georg Bauer
|
a64cb2e4a6
|
some more new translation strings for german translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:57:36 +00:00 |
Georg Bauer
|
182b5c5b5c
|
fixed #2731: updated password change form to allow translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:53:41 +00:00 |
Georg Bauer
|
0d24c93b34
|
fixed #2812: updated simplified chinese translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:50:26 +00:00 |
Russell Keith-Magee
|
0c41869e6c
|
Made ``pk`` a generic expansion for the primary key, rather than just an expansion for __id__exact.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:49:01 +00:00 |
Georg Bauer
|
f6ec6d24ab
|
fixed #2808: updated danish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:48:41 +00:00 |
Georg Bauer
|
fda8593f4e
|
updated german translation to new strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:47:32 +00:00 |
Georg Bauer
|
845cc95caa
|
updated english basic translation file (for two new date formats)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:38:09 +00:00 |
Georg Bauer
|
9194038121
|
fixed #2623: added new turkish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 13:30:16 +00:00 |
Malcolm Tredinnick
|
6dacb3d10b
|
Fixed #2729 -- Handle initial SQL with different line-ending styles (Windows
vs. Unix vs. Mac). Thanks, Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 07:36:46 +00:00 |
Malcolm Tredinnick
|
f1c63992f7
|
Fixed #2745 -- Made the __repr__ methods for modpython and wsgi request more
robust in the face of bad input, since they are needed for error handling.
Based on a patch from md@hudora.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 07:25:12 +00:00 |
Malcolm Tredinnick
|
5b490bba93
|
Fixed #2771 -- Tweaked Django's doctest module so that it also works with
Python 2.5. Thanks, ymasuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 02:33:28 +00:00 |
Malcolm Tredinnick
|
b4e5a96ccc
|
Fixed #2772 -- Made SQLite support work correctly with Python 2.5 standard
module (as well as pysqlite2 for earlier Python versions). Patch from
ymasuda[at]ethercube.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 01:53:34 +00:00 |
Malcolm Tredinnick
|
e0cec60a14
|
Fixed #2727 -- Fixed problem with serialising error messages from validation.
Thanks, Ivan Saglaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 12:16:15 +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
|
b05e5501a4
|
Fixed #2677 -- Removed the need to import sre and hence avoid a
DeprecationWarning. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 11:44:04 +00:00 |
Malcolm Tredinnick
|
8f7ab8efed
|
Avoid displaying the profanities list in the debug output. Makes it a bit more
"safe for work".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 10:30:15 +00:00 |
Malcolm Tredinnick
|
ff47dc6ba0
|
Fixed #2600 -- Added an option to allow serving admin media from a custom path
with dev server. Thanks, adurdin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 08:17:47 +00:00 |
Malcolm Tredinnick
|
35a13d4b6b
|
Fixed #2791 -- Added __contains__ method (for "a in dict" checks) to MergeDict.
Thanks, Ned Batchelder.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 13:55:04 +00:00 |
Malcolm Tredinnick
|
28fad23a3f
|
A corrected version of r3805.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 13:53:02 +00:00 |
Malcolm Tredinnick
|
12273fa947
|
Reverting r3805 whilst I track down a potential problem with it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 13:04:37 +00:00 |
Malcolm Tredinnick
|
6a12d767d4
|
Fixed #2613 -- Fixed an easily triggered memory error in file uploads for WSGI.
Thanks Jeong-Min Lee.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 12:41:19 +00:00 |
Malcolm Tredinnick
|
00734bca7e
|
Fixed #2599 -- Fixed rendering problem in comma-separated integer fields.
Thanks, Christopher Lenz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 12:11:37 +00:00 |
Malcolm Tredinnick
|
539438a231
|
Fixed #2579 -- Fixed a problem with empty raw_id_admin form fields. Thanks to
Brendan McAdams and zakj@nox.cx for some good diagnostic work on this one.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 12:06:38 +00:00 |
Malcolm Tredinnick
|
6cdd341dab
|
Fixed #2425 -- Call validate() as part of generating SQL in order to catch a
few more errors. Thanks, Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 11:13:43 +00:00 |
Malcolm Tredinnick
|
e8b572b912
|
Fixed #2508 -- Added back support for custom edit_inline classes. Thanks,
jkocherhans.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 10:02:16 +00:00 |
Malcolm Tredinnick
|
bd4c22be0b
|
Fixed #2454 -- Make "ifchanged" tag work more predictably inside nested
for-loops. Thanks, dummy@habmalnefrage.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 09:49:58 +00:00 |
Malcolm Tredinnick
|
670e8ab704
|
Fixed #2456 -- Added backslash escaping to addslashes, which is necessary once
you start escaping other things. Thanks, tom@eggdrop.ch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 08:41:09 +00:00 |
Malcolm Tredinnick
|
93597d051d
|
Fixed #2418 -- Fixed obsolete method call in PermLookupDict.__repr__. Thanks,
DarkElf109@ibendit.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 08:35:10 +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
|
d8b84cac91
|
Fixed #2515 -- Allow passing of options to JSON serializer. Thanks, nesh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 13:26:07 +00:00 |
Malcolm Tredinnick
|
96bc9ec79d
|
Fixed #2520 -- Fixed a problem with invalid SQL being generated by admin
interface in certain circumstances. Patch from favo@exoweb.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 13:10:46 +00:00 |
Malcolm Tredinnick
|
c3d7aad6d0
|
Fixed #2560 -- Add close() support to HttpResponse iterators. Thanks, Ivan
Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 12:32:00 +00:00 |
Malcolm Tredinnick
|
dc39762fde
|
Fixed #2578 -- Give a more accurate error message for admin.list_display_links
at model validation time. Patch from Christopher Lenz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 12:22:32 +00:00 |
Malcolm Tredinnick
|
9e05fc1598
|
Fixed #2770 -- Fixed a database connection leak in
django.contrib.auth.handlers.modpython.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 12:01:15 +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
|
084d618519
|
Fixed #2749 -- Get the correct m2m_reverse_name() in generic relations. Thanks
to Jay Parlar and Chris Long for some good debugging here.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 03:26:13 +00:00 |
Malcolm Tredinnick
|
0fee26935d
|
Fixed #2747 -- Make X-Headers work for staff members. Admins with dyanmic IP
addresses can now use bookmarklets. Thanks, Maximillian Dornseif.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 03:17:28 +00:00 |
Malcolm Tredinnick
|
8feee92045
|
Fixed #2685 -- Correctly process blank input for USStateField elements. Thanks,
dackze+django@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 03:10:49 +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 |
Malcolm Tredinnick
|
4f63ce5b4a
|
Fixed #2662 -- Changed dictfetchmany and dictfetchall to return iterators,
rather than a list, in order to save memory. Patch from Simon Willison.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 02:36:50 +00:00 |
Malcolm Tredinnick
|
4b5f0e2c87
|
Fixed #2657 -- Made some tweaks to Javascript quoting. Thanks, Alex Dedul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 02:22:58 +00:00 |
Malcolm Tredinnick
|
c430eb8273
|
Fixed #2640 -- Allow is_required for CheckboxField classes (defaults to False,
which was the previous behaviour). Thanks, torbjornthorsen@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3780 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 01:49:11 +00:00 |
Malcolm Tredinnick
|
6be701eba1
|
Fixed #2629 -- Added a permission_required decorator to
django.contrib.auth.decorator. Thanks, dummy@habmalnefrage.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 01:44:28 +00:00 |
Malcolm Tredinnick
|
3efd4dcd2d
|
Fixed #2602 -- Include User Agent in broken link emails. Thanks, Ian Holsman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 01:28:47 +00:00 |
Malcolm Tredinnick
|
8971760ab5
|
Fixed #2732 -- Allow first positional argument to runfastcgi() to be optional.
Patch from James Crasta.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3777 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-21 13:45:24 +00:00 |
Malcolm Tredinnick
|
31d764cadf
|
Fixed #2761 -- Apply escaping to values in form checkbox attributes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-21 13:35:34 +00:00 |
Malcolm Tredinnick
|
d296e5e565
|
Fixed #2743 -- Made the value of a cycle tag accessible through the context.
Patch from Martin Glueck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-21 13:09:00 +00:00 |
Adrian Holovaty
|
927ec3fe7b
|
Fixed #2732 -- Fixed error in FastCGI docs and added keyword-arg support in a FastCGI function. Thanks for the patch, James Crasta
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-14 15:37:11 +00:00 |
Adrian Holovaty
|
3c5782287e
|
Fixed #2702 -- Fixed LazyUser to store cache as attribute of request, not class. Thanks for the patch, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-12 17:30:47 +00:00 |
Adrian Holovaty
|
086992c739
|
Fixed #2689 -- Got 'manage.py diffsettings' working again. Thanks for the patch, Jeong-Min Lee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 18:42:56 +00:00 |
Adrian Holovaty
|
ecf6a35112
|
Fixed #2700 -- Improved introspection for MySQL. Thanks for the patch, serbaut@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 18:41:05 +00:00 |
Adrian Holovaty
|
69375bf9c9
|
Fixed #2680 -- Made small correction to DateTimeShortcuts.js that was causing problems in newest Mozilla security update for Debian. Thanks, ant9000@netwise.it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 18:38:20 +00:00 |
Adrian Holovaty
|
521c6a2652
|
Fixed #2699 -- Added quote_name() call to MySQL introspection.py. Thanks for the patch, serbaut@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 18:31:46 +00:00 |
Georg Bauer
|
2535c91c5b
|
fixed #2617: added finnish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3745 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 14:53:36 +00:00 |
Georg Bauer
|
45ce6c3d82
|
fixed #2668: updated russian translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 14:50:52 +00:00 |
Georg Bauer
|
86a848e7cc
|
fixed #2597: updated polish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 14:49:46 +00:00 |
Georg Bauer
|
fc937bd464
|
fixed #2589: updated norwegian translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 14:48:28 +00:00 |
Georg Bauer
|
a08322fbc2
|
fixed #2551: updated es_AR translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 14:46:20 +00:00 |
Russell Keith-Magee
|
36added124
|
Fixes #2669 -- Added check on import of tests.py to differentiate between an absent tests.py, and an existent tests.py with an import error in it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-09 14:58:46 +00:00 |
Adrian Holovaty
|
e9b19df3ee
|
Added staff_member_required and permission check to django.contrib.admin.views.auth.user_add_stage() -- thanks, Robert Bunting
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-08 05:38:38 +00:00 |
Adrian Holovaty
|
8aa6a94e1a
|
Renamed 'func' argument in django.utils.functional.curry to reduce possibility that it will clash with a keyword argument name. Thanks for pointing this out, Michael Spencer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-07 18:26:00 +00:00 |
Russell Keith-Magee
|
5a9839c547
|
Fixes #2653 -- Modified related field utility methods to return None as the related name for symmetrical m2m fields on self. Updated validators and unit tests to account for the new behavior.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-07 13:29:56 +00:00 |
Adrian Holovaty
|
29ba3e337b
|
Optimized django.utils.functional.curry. Thanks for the patch, Martin Glueck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-07 04:21:11 +00:00 |
Jacob Kaplan-Moss
|
6152b325aa
|
Made psycopg2 backend actually support dictfetch* methods.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-05 16:12:36 +00:00 |
Russell Keith-Magee
|
6f87b17a0d
|
Fixes #2658 -- Modified SQLite cursor close() method for in-memory databases, making the lifespan of an in-memory database equal to the life of the process, rather than the life of the cursor. Thanks, Ned Batchelder.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-05 13:32:08 +00:00 |
Adrian Holovaty
|
6417d6c7c3
|
Added some escaping of request.path to django/views/debug.py. Thanks, Simon Greenhill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3722 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-05 00:26:14 +00:00 |
Adrian Holovaty
|
cba5557c7a
|
Fixed #2645 -- Fixed format-string error in exception call in template/__init__.py. Thanks for the patch, md@hudora.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-05 00:19:50 +00:00 |
Adrian Holovaty
|
8e52384b6c
|
Added small comment to django.template.loader_tags, to clarify change from [3465]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 23:56:09 +00:00 |
Adrian Holovaty
|
b7a352d78f
|
Changed template names from [3707] to remove initial caps, to fit our style.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 23:49:14 +00:00 |
Russell Keith-Magee
|
cfe77946d7
|
Fixes #2637 -- Clarified handling of TEMPLATE_STRING_IF_INVALID, especially with regards to filtering of invalid values. Modified unit tests to test both empty and non-empty values for TEMPLATE_STRING_IF_INVALID. Thanks to SmileyChris for identifying and helping to resolve this bug.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 14:02:11 +00:00 |
Russell Keith-Magee
|
8192a808bd
|
Refs #2333 - Added documentation for the test Client, and removed a stray import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-03 02:44:15 +00:00 |
Adrian Holovaty
|
5a1d560fb3
|
Fixed #2643 -- Fixed incorrect reverse() view names in sitemaps contrib app. Thanks for the patch, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-02 18:10:00 +00:00 |
Russell Keith-Magee
|
46d7defb7d
|
Refs #2333 - Removed a call to the signal dispatcher that was mistakenly merged in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-02 09:40:59 +00:00 |
Russell Keith-Magee
|
d043200077
|
Refs #2333 - Re-added the template rendering signal for testing purposes; however, the signal is not available during normal operation. It is only added as part of an instrumentation step that occurs during test framework setup. Previous attempt (r3659) was reverted (r3666) due to performance concerns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-02 09:26:24 +00:00 |
Russell Keith-Magee
|
d78e2ae355
|
Refs #2333 - Added a TEST_DATABASE_NAME setting that can be used to override the 'test_' + DATABASE_NAME naming policy. This setting is then used in runtests.py to restore the use of 'django_test_db' as the Django model/regression test database. Thanks to Michael Radziej for the feedback.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-01 13:33:26 +00:00 |
Adrian Holovaty
|
60ebb616a9
|
Renamed django.contrib.sitemap to django.contrib.sitemaps, to be more consistent with our plural form for these sorts of things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 23:44:26 +00:00 |
Adrian Holovaty
|
a30653ac54
|
Changed FlatpageSitemap to FlatPageSitemap, to be consistent with FlatPage model
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 23:31:25 +00:00 |
Adrian Holovaty
|
44dabecf6e
|
Fixed #2628 -- Added django.contrib.sitemap. Thanks for the patch, Dan Watson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 23:13:59 +00:00 |
Adrian Holovaty
|
1d8db5ad89
|
Fixed #2441 -- Improved MultiValueDict.update() to take keyword args, like Python 2.4 built-in dict. Thanks for the patch, Pete Shinners
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 21:51:19 +00:00 |
Adrian Holovaty
|
93b1f9ad6e
|
Made extract_views_from_urlpatterns() in admin.views.doc tolerant of URLconfs that point to views that don't exist (raise ImportError)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 21:35:36 +00:00 |
Adrian Holovaty
|
d39b5cae68
|
Fixed #2529 -- Fixed TypeError in admin/doc/views. Thanks for the report and patch, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 21:32:50 +00:00 |
Russell Keith-Magee
|
fc2d5f461f
|
Refs #2333 - Added more documentation for testing framework, and clarified some code as a result of trying to describe it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 14:29:47 +00:00 |
Adrian Holovaty
|
22303d6c7d
|
Fixed #2611 -- Fixed XML serializer to handle null datetime fields. Thanks for reporting, csdurfee@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 04:11:46 +00:00 |
Adrian Holovaty
|
401b15d853
|
Fixed #2632 -- Made django.db.backends.util._dict_helper more efficient. Thanks for the patch, Andy Dustman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 03:45:08 +00:00 |
Adrian Holovaty
|
a4bd32770c
|
Fixed #2624 -- Fixed typo in docstring for Permission model. Thanks, david@dawninglight.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-30 16:39:18 +00:00 |
Russell Keith-Magee
|
a619b2b871
|
Refs #1400 - Reverted r3269. Template variable evalution should follow Python norms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-30 00:54:08 +00:00 |
Jacob Kaplan-Moss
|
f89b9c8654
|
Fixed verbosity check in installing initial data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 20:44:35 +00:00 |
Jacob Kaplan-Moss
|
0e577430e9
|
Made psycopg2 backend behave the same as the other backends when it comes to unicode and datetime time zone info. See [http://groups.google.com/group/django-developers/browse_frm/thread/4575a3fe0d78e2e4/d607d96f7b422620#d607d96f7b422620 the django-dev thread] for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 20:00:47 +00:00 |
Jacob Kaplan-Moss
|
56264160a2
|
Test database creation/deletion now correctly quotes database names when creating/dropping them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 18:59:54 +00:00 |
Adrian Holovaty
|
a547ef0d62
|
Fixed #2604 -- Got compile-messages.py working on win32. Thanks for the patch, Jarosław Zabiełło
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 18:43:58 +00:00 |
Adrian Holovaty
|
e7424f0619
|
Fixed #2607 -- Fixed incorrect ordering of super() arguments in DateTimeAwareJSONEncoder. Thanks for the patch, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 18:39:30 +00:00 |
Adrian Holovaty
|
2c2653db9f
|
Reverted [3659], the 'name' field on Template objects and the signal emitted whenever a template is rendered. Refs #2333.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-27 18:10:32 +00:00 |
Russell Keith-Magee
|
77ab11be45
|
Refs #2333 - Added 'test' target to django-admin script. Includes addition of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-27 12:46:39 +00:00 |
Russell Keith-Magee
|
89fa97b837
|
Refs #2333 - Added a signal that is emitted whenever a template is rendered, and added a 'name' field to Template to allow easy identification of templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-27 12:35:07 +00:00 |
Russell Keith-Magee
|
7dce86ce02
|
Refs #2333 - Added test framework. This includes doctest and unittest finders, Django-specific doctest and unittest wrappers, and a pseudo-client that can be used to stimulate and test views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-27 12:24:59 +00:00 |
Adrian Holovaty
|
34609438bb
|
Fixed #2581 -- Added populate_xheaders() call to flatpage view. Thanks for the patch, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-23 02:05:05 +00:00 |
Adrian Holovaty
|
3cfc8bb5d9
|
Fixed #2582 -- filter_interface now works on fields with verbose_name containing quotes. Thanks for reporting, 235
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-22 17:45:21 +00:00 |
Adrian Holovaty
|
5ddd0e0498
|
Fixed #2570 -- Added 'DejaVu Sans' to admin global.css, because it is more utf-8 friendly than Bitstream. Thanks for the patch, riklaunim@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-22 04:58:16 +00:00 |
Adrian Holovaty
|
513ae3a3f4
|
Fixed #2587 -- Removed unnecessary escaping from admin_doc/model_detail.html template. Thanks for reporting, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-22 04:53:43 +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
|
ff5e01db5d
|
Fixed #2471 -- Got date-based generic views working with SQLite DateFields. Thanks for the patch, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-21 17:40:54 +00:00 |
Adrian Holovaty
|
64cf4b95a6
|
Fixed bug in [3553] -- Changed admin JavaScript quoting for related-object popup window not to use repr(), because that produces values such as 123L for longints. Refs #2500
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 21:39:29 +00:00 |
Adrian Holovaty
|
eef88a6d2c
|
Fixed #2561 -- memcached cache backend no longer ignores default timeout. Thanks for the report and patch, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 15:10:08 +00:00 |
Adrian Holovaty
|
53348672c9
|
Added USE_I18N setting to default settings.py created for startproject command
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 03:42:28 +00:00 |
Adrian Holovaty
|
8b8f452055
|
Fixed #2540 -- Added one more i18n string to admin/views/doc.py. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 03:37:01 +00:00 |
Adrian Holovaty
|
d592ca487a
|
Fixed #2541 -- Added helpful error message for CacheMiddleware in the case of CACHE_ANONYMOUS_ONLY=True and uninstalled/unordered AuthenticationMiddleware. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 03:31:13 +00:00 |
Adrian Holovaty
|
8f065bba6b
|
Fixed #2552 -- Added SetRemoteAddrFromForwardedFor middleware and documentation. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 03:12:36 +00:00 |
Adrian Holovaty
|
efa19ae8a7
|
Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-18 02:48:34 +00:00 |
Adrian Holovaty
|
eefe35c7fa
|
Changed admin/base.html template to add a NONE,NOARCHIVE meta tag for robots. Thanks for the idea, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-17 23:05:42 +00:00 |
Adrian Holovaty
|
518d406e53
|
Fixed small security hole in bin/compile-messages.py by escaping the .po filename in os.system() call. Announcement forthcoming
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-16 06:28:13 +00:00 |
Adrian Holovaty
|
7c79f2affa
|
Small error-message formatting change to compile-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-16 04:27:42 +00:00 |
Georg Bauer
|
d07c2e9111
|
fixed #2542: updated 'ru' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-14 15:18:21 +00:00 |
Adrian Holovaty
|
f13e70fae5
|
Small formatting change to compile-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-13 03:45:43 +00:00 |
Adrian Holovaty
|
0f000b7ae5
|
Fixed incorrect error message in django.template.loaders.filesystem if you pass in template_dirs=None. Thanks, Martin Glueck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-13 01:49:11 +00:00 |
Adrian Holovaty
|
3e51dac933
|
Fixed #2533 -- Fixed XHTML error in admin edit_inline_tabular.html template. Thanks, erikg@codepoet.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 17:42:02 +00:00 |
Adrian Holovaty
|
45be33a632
|
Fixed #2523 -- Added SESSION_COOKIE_SECURE setting. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 06:02:28 +00:00 |
Adrian Holovaty
|
20070d9117
|
Fixed #2372 -- manage.py runfcgi no longer ignore LANGUAGE_CODE. Thanks, ludo@qix.it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:55:28 +00:00 |
Adrian Holovaty
|
9354cfb6ce
|
Fixed #2410 -- Added HTML ID attribute to <form> on admin change-list pages, for easy targetting with JavaScript and CSS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:42:48 +00:00 |
Adrian Holovaty
|
54ea309a1d
|
Fixed #2513 -- Changed LazyDate.__get_value__() to return date objects, not datetime objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:18:25 +00:00 |
Adrian Holovaty
|
9cd0c333d6
|
Fixed #2514 -- Improved psycopg2 backend to save/load Unicode strings correctly. Thanks, crankycoder@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:15:25 +00:00 |
Adrian Holovaty
|
9ce3273127
|
Fixed #2527 -- Removed /doc/views/jump/ from admin URLconf. It wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:10:51 +00:00 |
Adrian Holovaty
|
74f5d2b9b0
|
Fixed #2528 -- Fixed 'time' template filter for midnight time value. Thanks, django@dougma.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:09:12 +00:00 |
Adrian Holovaty
|
6f8e9be24a
|
Fixed #2525 -- Fixed typo in contrib/flatpages/README.TXT. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 22:04:42 +00:00 |
Adrian Holovaty
|
a8705cec47
|
Fixed #2524 -- Added i18n hooks in create_update generic views. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 19:17:46 +00:00 |
Adrian Holovaty
|
e5bf574678
|
Changed inspectdb to *not* trim trailing 's' from database table name to create class name, because Django no longer does that as of magic-removal
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 15:32:35 +00:00 |
Adrian Holovaty
|
0b71ffacab
|
Improved urlresolvers so that URLconfs can be passed objects instead of strings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 07:01:29 +00:00 |
Adrian Holovaty
|
4805675f9d
|
Fixed #2500 -- Fixed bug in admin related-object pop-up window when using a primary key value that isn't an integer. Thanks, Gary Wilson and deryck@samba.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 05:31:08 +00:00 |
Adrian Holovaty
|
23964a7b9a
|
Fixed #2458 -- DB API now properly escapes backslashes, so you don't have to double-escape them. Thanks, tom@eggdrop.ch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 05:20:31 +00:00 |
Adrian Holovaty
|
3e22c8ff52
|
Fixed #2506 -- Added more i18n translation strings for admin docs. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 05:07:07 +00:00 |
Malcolm Tredinnick
|
01983c8fc3
|
Moved the space check from r3549 to before the Python keyword check so that
perverse column names like "fin ally" don't fall through the cracks.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 02:22:42 +00:00 |
Adrian Holovaty
|
caa51f4444
|
Fixed #2517 -- Improved inspectdb to handle table column names that contain spaces. Thanks, Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 16:58:26 +00:00 |
Malcolm Tredinnick
|
a6a402a7db
|
Fixed #2512 -- Fixed SQL error when saving existing empty models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 03:55:03 +00:00 |
Malcolm Tredinnick
|
cba451c940
|
Fixed #2469 -- Fixed the constraint names in the sqlreset output (again!).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 03:48:34 +00:00 |
Malcolm Tredinnick
|
ffb6ecc335
|
Fixed #2484 -- Handle num_in_admin and num_extra_on_change being 0 for the
admin interface. Thanks, Joseph Kocherhans.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 03:44:11 +00:00 |
Adrian Holovaty
|
925c711cf7
|
Fixed #2503 -- Fixed HttpResponse.delete_cookie() to work properly. It now takes path and domain as optional keyword arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 15:40:24 +00:00 |
Adrian Holovaty
|
2c370e1a08
|
Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, adurdin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 14:40:29 +00:00 |
Malcolm Tredinnick
|
7a22a5194c
|
Fixed #2469 -- Made the "drop index" constraint names match those we create in the first place.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 11:22:14 +00:00 |
Malcolm Tredinnick
|
5ca28474f9
|
Fixed #2260 -- fixed a problem where some foreign key references were being
omitted during a "reset" or "sqlreset". Thanks, marcink@elksoft.pl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 07:16:35 +00:00 |
Adrian Holovaty
|
d9d44d718b
|
Negligible style change in django.db.models.loading
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-08 21:17:59 +00:00 |
Adrian Holovaty
|
19c48c9005
|
Fixed #2494 -- Django development server no longer does reverse DNS. As a side effect, the server no longer sets the REMOVE_HOST environment variable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-07 14:41:57 +00:00 |
Malcolm Tredinnick
|
ae83871580
|
Fixed #2491 -- Pass the project directory back from setup_environ so that we
can set up the "startapp" command. Thanks, marcink@elksoft.pl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-06 10:35:25 +00:00 |
Malcolm Tredinnick
|
27bf70dcb9
|
Moved the environment setup into a method that can be called from other scripts.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-06 02:29:38 +00:00 |
Adrian Holovaty
|
320c10cb19
|
Fixed #2485 -- Added comment to project_template/settings.py that says to use absolute paths, not relative paths
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-05 01:48:33 +00:00 |
Georg Bauer
|
243912b255
|
fixed #2171: updated 'ru' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-04 14:28:10 +00:00 |
Adrian Holovaty
|
fd5d923c6b
|
Fixed #61 -- No more editing hashes when creating users via the admin. Created a special-case 'Add user' admin view. The change form still displays the hash, for the moment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-04 04:18:12 +00:00 |
Adrian Holovaty
|
9c8c39be1e
|
Fixed #2462 -- Changed showRelatedObjectLookupPopup to open a window that's 800-pixels wide. Thanks for reporting, patrick@vonautomatisch.at
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-02 15:07:46 +00:00 |
Adrian Holovaty
|
350a4a4592
|
Fixed #2467 -- Improved model validator to check date_hierarchy. Thanks, Simon Greenhill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-02 15:05:51 +00:00 |
Malcolm Tredinnick
|
fa5e0562dc
|
Fixed #2257 -- make constraint names unique across all table/column
combinations (for the benefit of MySQL).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 21:46:51 +00:00 |
Malcolm Tredinnick
|
d03bc77716
|
Refs #1796 -- Fixed a problem when creating models with relations to
themselves: more than one instance was being created.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 21:15:41 +00:00 |
Adrian Holovaty
|
ad39bb1620
|
Fixed #2463 -- Fixed temporarily broken many-to-many fields in admin interface due to [3507]. Thanks, Nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 14:20:01 +00:00 |
Adrian Holovaty
|
97e820ab3a
|
Fixed #2269 -- limit_choices_to now works properly with a custom ForeignKey.to_field. Thanks for reporting, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 04:05:25 +00:00 |
Adrian Holovaty
|
1a428ec9b8
|
Fixed #2370 -- It's now possible to pass default URLconf arguments to include(). Added docs, as well. Thanks for the patch, martin.glueck@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 02:57:08 +00:00 |
Russell Keith-Magee
|
97aa9b2843
|
Modified Calendar and Clock javascript to evaluate popup position at time of display, rather than time of page load.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 00:19:04 +00:00 |
Jacob Kaplan-Moss
|
77f1b8a50d
|
Fixed #2449 -- gzip middleware no longer gzips Javascript. Thanks for the prob, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-31 21:31:35 +00:00 |
Jacob Kaplan-Moss
|
2e598fb571
|
Fixed #2460 -- JSON serializer now correctly handles datetime objects. Thanks, siniy and jyrki.pulliainen@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-31 14:59:53 +00:00 |
Georg Bauer
|
f6fbdf575a
|
fixed #2446: updated 'sl' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-31 12:49:51 +00:00 |
Adrian Holovaty
|
7b0c3d4a11
|
Changed django.VERSION from 0.95 to to 0.96-pre
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-30 00:59:59 +00:00 |
Malcolm Tredinnick
|
9e957485bd
|
Seed the global app cache in a call to db.models.get_model() except when we are
constructing a model class. Refs #2348.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-29 21:04:41 +00:00 |
Adrian Holovaty
|
1bf811e28d
|
Fixed #2330 -- Added hack to stop KeyErrors from being thrown by the autoreloading development server if USE_I18N=False
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 22:13:34 +00:00 |
Adrian Holovaty
|
1cf552dcec
|
Changed django.VERSION to (0, 95, None) to signify final 0.95 release
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 21:53:54 +00:00 |
Adrian Holovaty
|
954050c196
|
Removed bug from [3461] -- __name__ is not assignable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 21:24:19 +00:00 |
Adrian Holovaty
|
1707f79b74
|
Added django.db.models.permalink decorator, which decorates a function that returns a viewname, viewargs and viewkwargs. The decorator returns the result of a reverse URL lookup on those parameters. Documentation is forthcoming.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 02:09:38 +00:00 |
Adrian Holovaty
|
36ee8f5ad2
|
Added leading slash to output of core.urlresolvers.reverse(), and made 'urlconf' a keyword argument
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 02:08:17 +00:00 |
Jacob Kaplan-Moss
|
a55fa029f7
|
Fixed #1767 -- boolean fields may now have validators! Thanks, Joseph.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-28 00:13:10 +00:00 |
Jacob Kaplan-Moss
|
847b1ed54e
|
Fixed #1650: the {% extends %} tag now can extend a Template object passed into the context. Thanks, clelland@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 23:23:55 +00:00 |
Adrian Holovaty
|
2a0af00524
|
Fixed #2375 -- Changed password_reset auth view to make e-mail template name variable. Thanks, treborhudson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 17:48:35 +00:00 |
Adrian Holovaty
|
c7fa1fa56f
|
Fixed #2388 -- login_required decorator now preserves docstring and name of decorated function. Thanks, derekgr@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 17:41:28 +00:00 |
Adrian Holovaty
|
aaa3cc0ea3
|
Changed output of django-admin.py --version to use a hyphen instead of parenthesis, to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 17:03:35 +00:00 |
Adrian Holovaty
|
e433e07a8d
|
Fixed #2408 -- Added get_language_from_request() to trans_null.py. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 16:38:32 +00:00 |
Adrian Holovaty
|
ecdd6ae6de
|
Fixed #2433 -- Added allow_future option to date-based generic views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 16:36:02 +00:00 |
Adrian Holovaty
|
22b63bb5be
|
Made correction to a comment in django/template/loader_tags.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-25 18:54:13 +00:00 |
Adrian Holovaty
|
065b9aed67
|
Negligible formatting change to django/template/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-25 18:53:27 +00:00 |
Adrian Holovaty
|
3d02de2713
|
Added resolve() and reverse() helper functions to django.core.urlresolvers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-25 07:30:22 +00:00 |
Adrian Holovaty
|
564d556519
|
Fixed #2405 -- Fixed recursion error in auth.views.logout(), caused by [3402]. Thanks, Jay Skabber
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-23 23:14:36 +00:00 |
Malcolm Tredinnick
|
20831e0d2f
|
Fixed #2399 -- restored HttpResponse (overly enthusiastic pruning in r3414).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-22 06:13:49 +00:00 |
Jacob Kaplan-Moss
|
1687b025dc
|
Part 3 of pedant day: replaced all tabs in Django with spaces. Python the way Guido intended it, baby!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 20:48:17 +00:00 |
Jacob Kaplan-Moss
|
a926046ba6
|
Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 20:39:17 +00:00 |
Jacob Kaplan-Moss
|
5c5ca53b70
|
Fixed bug in comment feed turned up by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 19:12:51 +00:00 |
Jacob Kaplan-Moss
|
17d0bd1512
|
Fixed a bunch of spurious imports, typos, and other small errors turned up by a pass through PyFlakes. This covers about the first third of the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 17:11:13 +00:00 |
Jacob Kaplan-Moss
|
e9a236d86c
|
Fixed #2092: added a "is_secure()" method to HttpRequest which correctly handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 16:20:22 +00:00 |
Adrian Holovaty
|
8bdd19beea
|
Fixed #1961 -- Made feed_url dynamic in syndication framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 15:57:50 +00:00 |
Georg Bauer
|
f3e3869e09
|
fixed #2371: added tamil translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 14:47:14 +00:00 |
Adrian Holovaty
|
27c49b69b8
|
Fixed #2392 -- Fixed CACHE_MIDDLEWARE_ANONYMOUS_ONLY to use attribute access to django.conf.settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 14:41:38 +00:00 |
Russell Keith-Magee
|
bb1cb76dfb
|
Fixed keyboard slip that was accidentally committed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 03:56:06 +00:00 |
Russell Keith-Magee
|
edf68bede5
|
Cleanup of management.py; replaced uses of 'klass' with 'model', and normalized some variable naming in get_sql_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 03:55:07 +00:00 |
Adrian Holovaty
|
b26331d6ee
|
Fixed #2342 -- Made small fix to DateFieldFilterSpec. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 20:31:59 +00:00 |
Adrian Holovaty
|
c19ef69c5c
|
Fixed #2368 -- Fixed KeyError when trying to log out more than once. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 20:26:10 +00:00 |
Adrian Holovaty
|
c4679bb83f
|
Fixed #2374 -- Fixed magic-removal API changes in admin template validator. Thanks, mattimustang@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 20:16:03 +00:00 |
Adrian Holovaty
|
be2524182b
|
Fixed #2379 -- Fixed 'search' DB lookup parameter, which was broken by [3248]. Thanks, Tim Keating
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 20:13:35 +00:00 |
Adrian Holovaty
|
6ab20c5475
|
Small style fixes to docs from [3395]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 15:45:16 +00:00 |
Jacob Kaplan-Moss
|
3e95ef5374
|
Oops, fixed small typo in [3395]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 15:37:51 +00:00 |
Jacob Kaplan-Moss
|
2a8a32c449
|
Added a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting which makes the cache ignore pages served to authenticated users. Fixes #1509 (thanks, Matt).
Also added a FAQ entry about using this setting to avoid caching of the admin interface.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 15:37:12 +00:00 |
Russell Keith-Magee
|
9b6d1efe77
|
Clarified debug naming of WSGIRequests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 05:04:45 +00:00 |
Russell Keith-Magee
|
740a8d20f1
|
Fixed formatting of comments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-20 03:32:24 +00:00 |
Malcolm Tredinnick
|
c072c8dcd3
|
Fixed #2377 -- Imported ImproperlyConfigured exception into django.auth.models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 12:48:30 +00:00 |
Malcolm Tredinnick
|
466b90c788
|
Fixed #1647 -- Included slightly more information in template syntax error
displays in DebugNodeList.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 12:32:32 +00:00 |
Malcolm Tredinnick
|
271093d3b3
|
Fixed #2323 -- Made it possible to run make-messages without needing a
DJANGO_SETTINGS_FILE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 12:09:53 +00:00 |
Malcolm Tredinnick
|
0016547e9b
|
Fixed #2257 -- MySQL wants constraint names to be unique per-database, so fixed
the SQL generation to ensure this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 10:14:43 +00:00 |
Russell Keith-Magee
|
ab4ffe5d78
|
Modified BooleanField's to_python method to play nice with encode()ed strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 05:50:33 +00:00 |
Russell Keith-Magee
|
59bf8dd310
|
Modified to_python method for BooleanField so that the 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-19 04:17:24 +00:00 |
Malcolm Tredinnick
|
51705f60b1
|
Fixed #2332 -- Introduced is_authenticated() method on User and 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-19 02:09:26 +00:00 |
Malcolm Tredinnick
|
f8a277bc7f
|
Fixed a small typo in the wordwrap filter's docstring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-15 11:47:09 +00:00 |
Malcolm Tredinnick
|
6d104115d1
|
More pre-emptive escaping of strings that should not be interpreted as HTML.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-15 01:07:13 +00:00 |
Malcolm Tredinnick
|
ebc6f90d44
|
Escaped variables that should not be interpreted as HTML and which might
contain dangerous characters.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 11:48:25 +00:00 |
Malcolm Tredinnick
|
1725db5a35
|
Escaped all strings that should not contain active HTML tags.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 11:04:33 +00:00 |