Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
00b3891524
|
Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-12 13:35:31 +00:00 |
Adrian Holovaty
|
853ee34191
|
Fixed #1531 -- Fixed eager exception catching that caused the template system to report a base template didn't exist when indeed it does exist but contains an {% include %} of a nonexisting template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-12 03:31:03 +00:00 |
Adrian Holovaty
|
c862e43f7f
|
Negligible spacing change to core/template/loader.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-12 03:29:41 +00:00 |
Adrian Holovaty
|
8ac114c017
|
Removed unneeded 'import sys' from base.py handler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-11 03:30:10 +00:00 |
Adrian Holovaty
|
51a6d81d72
|
Fixed #1551 -- Improved base handler to not lose track of important exception in case of exceptions within repr(). Thanks, Ned
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-11 03:29:01 +00:00 |
Adrian Holovaty
|
8d70ed4b25
|
Fixed #1555 -- Added EMAIL_PORT setting. Thanks, bde3
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-11 03:23:03 +00:00 |
Adrian Holovaty
|
cd7dbd8f00
|
Converted django.core.mail to use 'from django.conf import settings' instead of importing specific settings directly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-11 03:19:57 +00:00 |
Adrian Holovaty
|
b9e40b14bc
|
Renamed OneToOne to OneToOneRel to be consistent with ManyToManyRel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-10 03:35:56 +00:00 |
Adrian Holovaty
|
b8d8aca5fd
|
Renamed ManyToOne to ManyToOneRel to be consistent with ManyToManyRel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-10 03:34:47 +00:00 |
Adrian Holovaty
|
e3e271ff92
|
Fixed #1600 -- Renamed ManyToMany to ManyToManyRel so people get a clearer error if they use ManyToMany instead of ManyToManyField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-10 03:32:38 +00:00 |
Adrian Holovaty
|
0162a3b54f
|
Fixed #1590 -- Changed MySQL get_last_insert_id() implementation to use cursor.lastrowid instead of a separate SELECT statement. Thanks, Andy Dustman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-10 00:32:42 +00:00 |
Adrian Holovaty
|
bc4638d722
|
Fixed #1569 -- HttpResponse now accepts iterators. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-04-09 23:54:34 +00:00 |
Adrian Holovaty
|
341d1eb022
|
Fixed #1550 -- Changed MatchesRegularExpression validator to use .search(), not .match(). Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-28 21:39:15 +00:00 |
Adrian Holovaty
|
b353103cb6
|
Fixed #1500 -- Changed MySQL AutoField to be integer, not mediumint. Thanks, ejf-django
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-28 17:46:53 +00:00 |
Adrian Holovaty
|
67cbb5c248
|
Fixed #1442 -- Fixed multithreading problem with various database backends. Thanks, Eugene Lazutkin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-28 17:39:53 +00:00 |
Adrian Holovaty
|
1edef8ede9
|
Fixed #1548 -- Improved caching of related objects, so when clist = poll.get_choice_list(), each choice in clist has its poll cache filled. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-28 16:51:17 +00:00 |
Adrian Holovaty
|
332c4bd695
|
Removed stray 'print' statement in ManyToManyField.flatten_data(). Thanks, burivuh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-24 19:13:21 +00:00 |
Adrian Holovaty
|
fe24eca81a
|
Fixed #1529 -- Added support for authenticated SMTP to django.core.mail. Thanks, Bruce Kroeze
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-22 19:47:15 +00:00 |
Adrian Holovaty
|
401b83f172
|
Fixed bug in [2531]. Thanks, Ned
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-20 01:04:09 +00:00 |
Adrian Holovaty
|
33c4e307f2
|
Simplified two unnecessary list comprehensions in core/meta/__init__.py. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-19 23:41:59 +00:00 |
Adrian Holovaty
|
e4b48a8b92
|
Fixed #1058 -- Fixed typo in wordwrap filter documentation. Thanks, kieranholland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-02 05:53:58 +00:00 |
Adrian Holovaty
|
6d9f4e4ef6
|
Fixed #1213 -- Changed value of NOT_PROVIDED so that it's not a string, to prevent possible (but highly unlikely) collisions. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-01 03:51:55 +00:00 |
Adrian Holovaty
|
ace140662b
|
Added note to mysql backend about DATE_FORMAT not working. Refs #1423
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-01 03:17:24 +00:00 |
Jacob Kaplan-Moss
|
f15a983d88
|
Fixed #1336 -- made USStateField work correctly when data is None (thanks, chrisb)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-27 23:45:17 +00:00 |
Adrian Holovaty
|
250281361d
|
Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder. Also updated some unit tests to show correct DoesNotExist output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-25 17:24:17 +00:00 |
Adrian Holovaty
|
de66a3a7da
|
Rolled back [2390] temporarily to test against some other edge cases
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-25 17:18:27 +00:00 |
Adrian Holovaty
|
79633b280c
|
Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-25 17:14:49 +00:00 |
Adrian Holovaty
|
c5073320a7
|
Refactored cache from django/core/cache.py into django/core/cache package, with each backend getting a separate module. This keeps things cleaner and uses less memory, because the backend module is only loaded if it's needed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-24 06:07:01 +00:00 |
Adrian Holovaty
|
0bf0b6d896
|
Fixed #1275 and #1288 -- Change e-mail address validator regular expression to be faster, simpler and accept subdomains
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-22 17:13:08 +00:00 |
Adrian Holovaty
|
f86004a4d3
|
Fixed #1376 -- Undid [2358], which broke flatpages. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-20 04:36:17 +00:00 |
Adrian Holovaty
|
c72afb811b
|
Changed 'runserver' to display the Django version, and massaged the wording a little bit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 23:48:11 +00:00 |
Adrian Holovaty
|
2c443df341
|
Fixed #894 -- Moved response middleware call to base.py so that exceptions in that middleware get processed by the standard exception handling. As a nice side effect, this cuts down on a bit of redundant code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 23:41:17 +00:00 |
Adrian Holovaty
|
53ca15cd78
|
Fixed #1289 -- Improved 'inspectdb' to introspect decimal_places and max_digits for FloatFields. Thanks, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 23:04:09 +00:00 |
Adrian Holovaty
|
cf528aa420
|
Fixed #721 -- isAlphaNumericURL validator now allows dashes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 22:36:16 +00:00 |
Adrian Holovaty
|
4d1bb30480
|
Reworded comment atop inspectdb-generated models to imply primary_key may now be introspected
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 22:06:42 +00:00 |
Adrian Holovaty
|
64153ef4d5
|
Implemented get_indexes() for Postgres backend, which means 'inspectdb' can introspect primary keys and unique indexes for Postgres now.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 22:04:52 +00:00 |
Adrian Holovaty
|
5710c6e2db
|
Changed get_indexes() hook from [2346] to return 'primary_key' instead of 'keyname'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 21:57:38 +00:00 |
Adrian Holovaty
|
27b41fd9de
|
Added better docstring to get_indexes() for MySQL backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 21:28:19 +00:00 |
Adrian Holovaty
|
ac97cf54af
|
Fixed #1286 -- Improved 'inspectdb' so that it introspects primary_key=True and unique=True for MySQL. Thanks, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 21:26:28 +00:00 |
Adrian Holovaty
|
b46128225d
|
Removed unnecessary line in d.c.meta.fields, due to [2342]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 20:55:59 +00:00 |
Adrian Holovaty
|
40809bdee4
|
Fixed #1038 -- Changed ForeignKey to calculate verbose_name by looking at its field name rather than the model of the related object. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 20:44:09 +00:00 |
Adrian Holovaty
|
25b149a2a5
|
Fixed #1148 -- Fixed off-by-one error for some databases in get_DATEFIELD_list() at the edge of a year. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 20:18:45 +00:00 |
Adrian Holovaty
|
a10e8153f3
|
Fixed #1177 -- Added django.VERSION and '--version' command to django-admin.py/manage.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 18:33:09 +00:00 |
Adrian Holovaty
|
e9c3efe7f3
|
Fixed #1348 -- {% ifchanged %} tag no longer renders content twice. Thanks, j.rademaker
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 18:18:03 +00:00 |
Adrian Holovaty
|
97eb38b21d
|
Fixed #1296 -- Made SlugField maxlength configurable. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 18:15:07 +00:00 |
Adrian Holovaty
|
15f57d8c55
|
Fixed #1357 and #614 -- <select> formfields now escape values
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 17:55:41 +00:00 |
Adrian Holovaty
|
d8b4d29004
|
Improved url_re in django.core.validators to accept https. Thanks, Eric Hsu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-10 15:38:54 +00:00 |
Adrian Holovaty
|
e0c915ec39
|
Added TEMPLATE_STRING_IF_INVALID setting, which specifies what the template system should output in case of invalid variables. Default is empty string (to match current behavior)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-09 00:31:51 +00:00 |
Adrian Holovaty
|
c59901a467
|
Improved 'inspectdb' handling of Python keywords from [2271] to use the 'keywords' module rather than hard-coding the list of keywords.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-04 20:18:18 +00:00 |