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 |
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 |
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 |
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
|
8c705f02a9
|
Added command line flag to disable use of auto-reloader on development server.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 05:43:26 +00:00 |
Russell Keith-Magee
|
9bea530c33
|
Disable use of terminal colors when django-admin is run on a Pocket PC.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 05:26:55 +00:00 |
Adrian Holovaty
|
c1847294b8
|
Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-10 04:16:26 +00:00 |
Adrian Holovaty
|
b98972e1c9
|
Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters long
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-10 02:32:54 +00:00 |
Malcolm Tredinnick
|
5404e6e93b
|
Fixed #2285 -- Tweaked the error message after model errors at "syncdb" time so
that we don't report an app name of "None".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-05 05:11:20 +00:00 |
Malcolm Tredinnick
|
a778c9de47
|
Fixed #1578 -- fixed a corner-case where we still wanting core=True attributes
on a model that was not being edited inline.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-04 10:48:07 +00:00 |
Jacob Kaplan-Moss
|
c9032ab07f
|
Added a JSON serializer, a few more tests, and a couple more lines of docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-29 16:42:49 +00:00 |
Jacob Kaplan-Moss
|
4ea7a11659
|
Added initial cut at serialization framework, along with some basic tests and a stab at some docs. This is all a bit rough right now, so expect some bumps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-28 16:00:37 +00:00 |
Russell Keith-Magee
|
2adbe11678
|
Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-27 15:21:43 +00:00 |
Russell Keith-Magee
|
23c24fc08b
|
Fixes #1812 -- Added model validity checks to ensure that models.py exists, and has been successfully imported for all INSTALLED_APPS. Previous behaviour was to silently ignore empty/problem models, which resulted in the display of an admin page that doesn't display a supposedly installed model. Thanks to Ian Holsman for the original report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-25 04:24:15 +00:00 |
Russell Keith-Magee
|
0d4b5b9b4a
|
Fixed #1662 -- Added resolver for string-form model references for models that have already been loaded, with tests to validate both forward and backward referenced model names. Light refactoring of model loading to make regression tests behave more like normal model loading. Also clarifies the text of some validation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-23 04:37:00 +00:00 |
Malcolm Tredinnick
|
ba22f55aa2
|
Fixed #1928 -- Correctly create foreign key references when there are multiple
keys on multiple models. Based on a patch from Geert Vanderkelen and some
diagnosis from hornero.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-21 03:39:47 +00:00 |
Malcolm Tredinnick
|
92571b0d48
|
Fixed #2119 -- fixed problems with splitting SQL statements into separate
statements. Uses a patch from eaw@woudy.org and some contributions from
jpellerin@gmail.com. Also fixes #2034 and #1935.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 08:00:44 +00:00 |
Malcolm Tredinnick
|
3e97535907
|
Fixed #2161 -- handle trailing newlines in initial SQL data. Includes
regression test. Thanks to russellm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 07:12:45 +00:00 |
Adrian Holovaty
|
32228d2031
|
Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 05:24:19 +00:00 |
Adrian Holovaty
|
37addba352
|
Converted request.META['REQUEST_METHOD'] calls to request.method, throughout the Django codebase
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 04:34:13 +00:00 |
Adrian Holovaty
|
136752ca9a
|
Added 'method' attribute to HttpRequest objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 03:48:31 +00:00 |
Malcolm Tredinnick
|
c0ea3284d7
|
Fixed #1088 - Correctly detect when a float with too many digits before the
decimal point is passed in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-19 01:09:00 +00:00 |
Jacob Kaplan-Moss
|
bca5327b21
|
Added generic foreign key support to Django. Much thanks to Ian Holsman and
Luke Plant -- most of this code is theirs. Documentation is to follow; for now
see the example/unit test. Fixes #529.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-16 19:18:30 +00:00 |
Adrian Holovaty
|
2abfd5dd58
|
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-08 05:00:13 +00:00 |
Adrian Holovaty
|
22da62f239
|
Fixed #1503 -- Improved model validator to throw an error if a model doesn't manually define a primary key and has a field named 'id', which conflicts with the auto-primary-key convention. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:22:42 +00:00 |
Adrian Holovaty
|
0b92bd11db
|
Removed legacy deprecated_args check from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:15:18 +00:00 |
Adrian Holovaty
|
1926428a55
|
Fixed #2098 -- Loosened validation for model 'ordering' parameter by allowing periods. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:47:53 +00:00 |
Adrian Holovaty
|
f3f002b161
|
Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:46:08 +00:00 |
Georg Bauer
|
7e88ec5271
|
fixed #2089: added language bidirectional support and updated the admin to use it. thanks meir@mksoft!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-06 15:22:53 +00:00 |
Jacob Kaplan-Moss
|
42a34423f2
|
Fixed stupid bug in [3802]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:25:12 +00:00 |
Jacob Kaplan-Moss
|
55b6559b0e
|
Small refactoring of django.core.management to allow a custom argv to be passed into execute_manager(). This makes custom manage scripts with extra options possible
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:20:47 +00:00 |
Luke Plant
|
9b86db9bf2
|
Eliminated lots of mutable default arguments (since they are bugs
waiting to happen and are memory leaks too).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-03 13:37:34 +00:00 |
Adrian Holovaty
|
88d215f702
|
Fixed #2073 -- Improved 'manage.py shell' not to pass argv to IPython if it's installed. Thanks, jpellerin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-02 19:04:09 +00:00 |
Adrian Holovaty
|
bd5b35069b
|
Fixed #2025 -- Fixed some issues with URL reversal, which still isn't ready for prime time. Thanks, medhat
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-02 04:38:16 +00:00 |
Luke Plant
|
dbcd2fe985
|
Fixed #2045 - TypeError thrown if a form does not have the correct enctype for uploading
files. It throws a ValidationError now, as it should.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-01 20:47:34 +00:00 |
Adrian Holovaty
|
cb9cb2045b
|
Fixed #720 -- Added first_on_page() and last_on_page() methods to ObjectPaginator. Thanks, m@bagai.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-01 04:29:39 +00:00 |
Adrian Holovaty
|
1bf991abb3
|
Fixed #2049 -- Made isValidEmail validator wider in scope. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-31 18:08:28 +00:00 |
Adrian Holovaty
|
d3b1a9ba39
|
Fixed #2015 -- Fixed sqlinitialdata regexp to handle empty string insertions. Thanks, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-30 01:11:27 +00:00 |
Adrian Holovaty
|
374d02e598
|
Fixed #1023 -- Base handler no longer calls mail_admins() on SystemExit, in case of forked processes called from views. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 17:30:40 +00:00 |
Adrian Holovaty
|
0fd9eef86f
|
Fixed #1935 -- Initial SQL data now works in SQLite if there are multiple statements. Thanks, jpellerin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 05:20:21 +00:00 |
Adrian Holovaty
|
f375b54503
|
Fixed #1634 -- Changed django.core.mail to include 'Date' header in e-mails. Thanks, Eric Walstad
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 04:40:48 +00:00 |
Malcolm Tredinnick
|
816b65f260
|
Prevent people from using "startapp" to create apps with the same name as their project. Might stop some of the accidents.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-19 07:40:06 +00:00 |
Adrian Holovaty
|
d9c4af6b37
|
Added first stab at reverse matching to urlresolvers.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-16 04:05:55 +00:00 |
Jacob Kaplan-Moss
|
aa11b3ea50
|
Fixed #1235: email sent from {{{django.core.mail}}} will now be encoded using
the value of the {{{DEFAULT_CHARSET}}} setting. Thanks, igor@goryachev.org and akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-13 17:18:42 +00:00 |
Adrian Holovaty
|
c63372f3c4
|
Fixed #1819 -- inspectdb no longer puts null=True for TextField and CharField. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-09 15:36:14 +00:00 |
Adrian Holovaty
|
058ab898b0
|
Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 03:29:22 +00:00 |
Adrian Holovaty
|
cca0e7346d
|
Fixed #1762 -- Fixed Windows error in django.core.management. Thanks, ross.lazarus@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-05 04:08:14 +00:00 |
Adrian Holovaty
|
427a54b4a3
|
Fixed #1719 -- Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-05 03:17:51 +00:00 |
Adrian Holovaty
|
9fec605d8d
|
Fixed #1766 -- Fixed bug in syncdb where it allowed two models to have the same database table. Thanks, Ian Clelland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-05 02:38:32 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
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 |