1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

4060 Commits

Author SHA1 Message Date
Adrian Holovaty
ca33d307de queryset-refactor: Merged to [6300]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:57:25 +00:00
Adrian Holovaty
7325fbf4ff queryset-refactor: Merged to [6250]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:46:18 +00:00
Adrian Holovaty
5ce2e6c2c8 queryset-refactor: Merged to [6220]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:42:51 +00:00
Adrian Holovaty
ea9cd54213 queryset-refactor: Merged to [6198]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6336 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:39:05 +00:00
Adrian Holovaty
d29c457ad1 queryset-refactor: Merged to [6197]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:35:33 +00:00
Adrian Holovaty
bf6a46d8ad queryset-refactor: Merged to [6190]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6334 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:34:09 +00:00
Adrian Holovaty
fb6a0c8ffa queryset-refactor: Merged to [6155]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:21:37 +00:00
Adrian Holovaty
c8f6e485b8 queryset-refactor: Merged to [6140]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:18:17 +00:00
Adrian Holovaty
a882e6076b queryset-refactor: Merged to [6130]
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:15:56 +00:00
Malcolm Tredinnick
ff3f6df54c Fixed some more join and lookup tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 06:33:41 +00:00
Malcolm Tredinnick
184a6435cd Fixed deleting via generic relations.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 03:54:47 +00:00
Malcolm Tredinnick
bb77006ade Use the correct column in custom column handling.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 03:17:46 +00:00
Malcolm Tredinnick
a7d01ec9b4 Fixed limit/offset computations.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 03:11:44 +00:00
Malcolm Tredinnick
cc9d519424 Added missing file.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:56:31 +00:00
Malcolm Tredinnick
a7a517f329 Initial portion of queryset rewrite. This breaks a lot more than it fixes in
the current state. Committing so that Adrian and I can work on it together.

Do not try to use this yet!


git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:50:14 +00:00
Malcolm Tredinnick
b791612779 Created a tree data structure. Might be generically useful. Currently used for
constructing queries.


git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:48:46 +00:00
Malcolm Tredinnick
4751fd9ba7 Added a note about not using 'pk' as a field name for a non-primary-key field.
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:48:06 +00:00
Malcolm Tredinnick
2d07a19c19 Created some tests to show ORM queries that are problematic.
Still incomplete at the moment, but this version doesn't crash the test
framework.


git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:47:29 +00:00
Adrian Holovaty
e178be41cf Created queryset-refactor branch, for Malcolm's refactoring of django.db.models.query and related code
git-svn-id: http://code.djangoproject.com/svn/django/branches/queryset-refactor@6112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 02:34:32 +00:00
Adrian Holovaty
ced74d582a Added 'Claiming tickets' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 14:38:47 +00:00
Adrian Holovaty
db6093641c Fixed #5406 -- Fixed spelling error in docs/model-api.txt. Thanks, Andrew Shearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 13:11:51 +00:00
Russell Keith-Magee
50497e3867 Refs #5138 -- Refactored implementation of __contains__ in HttpRequest introduced in [6097] after a suggestion from Malcolm. Applied a similar refactor for MergeDict and Context which had comparable behavior.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 14:04:40 +00:00
Russell Keith-Magee
db01d1d0a8 Fixed #5318 -- Added __contains__ method to HttpRequest, mirroring existing has_key method. Thanks for the patch, robbie@prelab.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 13:36:09 +00:00
Russell Keith-Magee
7115465afa Fixed #4478 -- Added a catch for an error thrown by PIL when attempting to validate MS OLE files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 13:13:35 +00:00
Adrian Holovaty
2cf419d9ed Got runserver auto-reloading working again by removing what appeared to be debugging code in django.core.management.base. Refs #5369
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 04:37:23 +00:00
Adrian Holovaty
2554ea352e Restored 'django-admin.py --help'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 04:27:06 +00:00
Adrian Holovaty
a77a02359d Updated runfcgi management command to include 'subcommand' argument to usage()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 04:25:55 +00:00
Adrian Holovaty
a291952a7d Refactored some small parts of core.management -- ManagementUtility.execute() no longer takes an argument, and ManagementUtility.__init__() now takes argv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 04:24:35 +00:00
Gary Wilson Jr
aacb0cf055 Removed duplicate form tests added in the [changeset:5609 unicode merge].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 04:21:32 +00:00
Adrian Holovaty
a247c726c2 Changed core.management print_help() methods to accept a prog_name argument instead of an argv list, in an attempt to figure out why auto reloading stopped working
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 03:46:35 +00:00
Adrian Holovaty
c554858f6b Renamed 'args' variables in django.core.management to 'argv' to be more clear, and removed an unneeded import
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-11 02:49:07 +00:00
Russell Keith-Magee
12146f34fd Removed code that was recasting major errors found during application import. If an application can't be imported, it now throws a full stack trace with the problem, rather than reporting the problem as a one line message.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 07:00:46 +00:00
Adrian Holovaty
f15a5c7abb Renamed a variable in ManagementUtility.execute() for clarity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 04:33:24 +00:00
Adrian Holovaty
4453f65c78 Combined two paragraphs in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:43 +00:00
Adrian Holovaty
49e4e4f9ce Attempted to bold part of docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:06 +00:00
Adrian Holovaty
b82a44d270 Added 'How to document new features' to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:42:33 +00:00
Russell Keith-Magee
3b6f032850 Fixed #5375 -- Added base command options to the options registered against dumpdata. Thanks for the fix, Matthew Flanagan <mattimustang@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 02:07:57 +00:00
Adrian Holovaty
3a3669e010 Fixed #5336 -- Altered an example in docs/fastcgi.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:48:25 +00:00
Adrian Holovaty
5e19019bca Added bullet to docs/contributing.txt about creating diffs from the top-level trunk directory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:10:47 +00:00
Adrian Holovaty
84f6182494 Fixed broken link in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:01:33 +00:00
Adrian Holovaty
c853973110 Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:00:30 +00:00
Adrian Holovaty
71504127fd Fixed #5369 -- Refactored the django-admin.py help system, allowing each subcommand to register its own options. Thanks for the patch, Todd O'Bryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 21:57:59 +00:00
Adrian Holovaty
6f0bc3d02b Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:21:36 +00:00
Adrian Holovaty
9b07806aa1 Fixed #5340 -- Linked docs/templates.txt to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:18:36 +00:00
Gary Wilson Jr
a047f6a8fe Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:30:16 +00:00
Gary Wilson Jr
b0e173ae3f Fixed imports to adhere to PEP 8 and stripped trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:26:15 +00:00
Gary Wilson Jr
7e57576ff7 Fixed #5232 -- Fixed the validation of DecimalField so that the negative sign is not counted as a digit. Thanks, Andrew Durdin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:24:46 +00:00
Gary Wilson Jr
ef088d5f36 Fixed imports to adhere to PEP 8 and stripped trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 05:11:17 +00:00
Gary Wilson Jr
41b3a45fc5 Fixed #3557 -- Made SlugField inherit from CharField so that its max_length is properly set. Removed get_manipulator_field_objs method since it's already provided by CharField. Thanks, Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 05:09:39 +00:00
Gary Wilson Jr
be39adeb28 Changed imports to adhere to PEP 8.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-07 04:11:20 +00:00