Commit Graph

5977 Commits

Author SHA1 Message Date
Adrian Holovaty cd435ff796 Fixed #417 -- Added clarification to docs/tutorial02.txt about settings.admin vs. settings.main. Thanks, benno@jeamland.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 21:59:39 +00:00
Adrian Holovaty f4547bfbfd Added clarification to [594]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 21:51:01 +00:00
Adrian Holovaty 8c83f2ab30 Added 'If I make changes to a model, how do I update the database?' to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 21:48:15 +00:00
Adrian Holovaty 8da42a8b68 Fixed inevitable ReST bugs in [592]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 05:12:25 +00:00
Adrian Holovaty b483f66efe Added docs/request_response.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 05:10:30 +00:00
Adrian Holovaty af8b7ffa8e Refactored the HttpResponse subclasses a tiny bit to use args and kwargs instead of hard-coded init() params
git-svn-id: http://code.djangoproject.com/svn/django/trunk@591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 05:01:47 +00:00
Adrian Holovaty e07fee6511 Fixed bug in contrib comment_form template tag when hard-coded object IDs are used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 03:06:47 +00:00
Adrian Holovaty 887f6331d4 Fixed #446 -- Fixed bug in yesno template filter. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:22:46 +00:00
Adrian Holovaty 2577581808 Updated template docs to reflect [587]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:21:08 +00:00
Adrian Holovaty def5d10ffc Fixed #365 -- Changed template.resolve_variable to resolve hard-coded strings. Thanks, davidschein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:18:04 +00:00
Adrian Holovaty 005e70387c Added clarifying note to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 02:12:53 +00:00
Adrian Holovaty d74373924d Reordered stuff in docs/middleware.txt and added some small clarifications
git-svn-id: http://code.djangoproject.com/svn/django/trunk@585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 20:55:16 +00:00
Adrian Holovaty 072a89ace2 Added docs/middleware.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 20:24:50 +00:00
Adrian Holovaty 354421f77d Changed docs/cache.txt to remove db cache, because it's not done yet.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 17:06:07 +00:00
Adrian Holovaty dbc4adeeda Fixed #385 -- Fixed bug in yesno template filter. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 16:47:06 +00:00
Adrian Holovaty 9635ac07a5 Fixed #403 -- Fixed bug in floatformat template filter. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 16:45:10 +00:00
Adrian Holovaty cb6aa1035b Fixed #407 -- Code no longer assumes request.META['REMOTE_ADDR'] exists. Thanks, sune.kirkeby@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 16:27:59 +00:00
Adrian Holovaty abe7fb8173 Fixed #413 -- get_file_url() for FileFields now uses proper slashes on Windows. Thanks, Adam Endicott
git-svn-id: http://code.djangoproject.com/svn/django/trunk@579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-31 16:22:07 +00:00
Adrian Holovaty 5569c75eb6 Refactored comment templatetags to remove redundant 'tag_name' parameter. Also added an 'extra_kwargs' hook to CommentListNode
git-svn-id: http://code.djangoproject.com/svn/django/trunk@578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-30 21:33:12 +00:00
Adrian Holovaty e1f0accaf6 Fixed display bug in admin when deleting an object that has a OneToOneField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-30 17:03:15 +00:00
Adrian Holovaty 02ebeec0dc Updated docs/templates.txt to add {% ifequal %}
git-svn-id: http://code.djangoproject.com/svn/django/trunk@576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 21:58:21 +00:00
Adrian Holovaty c6e4b232c2 Fixed #349 -- Fixed bug in development server admin media on Windows. Thanks, ibatugow@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 21:48:32 +00:00
Adrian Holovaty d80ac5ac25 Fixed #256 and #334 -- Added {% ifequal %} template tag. Also, {% ifequal %} and {% ifnotequal %} now both accept an optional {% else %} clause. Unit tests included.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 21:11:41 +00:00
Adrian Holovaty bcce1d901f Fixed small typo in docs/tutorial01.txt -- thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 20:33:14 +00:00
Adrian Holovaty 299c3cdd8c Fixed small bug in manipulator handling of one-to-one-related foreign keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 16:49:18 +00:00
Adrian Holovaty 2ce78063fa Fixed bug in metasystem manipulator_validator_unique_for_date(), related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 16:44:40 +00:00
Adrian Holovaty 25aef18d83 Fixed bug in metasystem method_get_next_in_order and method_get_previous_in_order, related to [549]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29 15:35:04 +00:00
Adrian Holovaty b77114caaa Fixed #423 -- Fixed bug in ForeignKey admin filters. Thanks, jkocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 21:12:06 +00:00
Adrian Holovaty df3564dace Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:11:54 +00:00
Adrian Holovaty 25d8441d72 Final ReST bugfix to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:10:07 +00:00
Adrian Holovaty 10204da326 Fixed ReST bug in docs/model-api.txt -- I think
git-svn-id: http://code.djangoproject.com/svn/django/trunk@566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:08:42 +00:00
Adrian Holovaty 09b5266d64 Fixed bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:07:39 +00:00
Adrian Holovaty 879222786a Added 'Using models', 'Models across files' and 'Models in multiple files' sections to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 19:02:07 +00:00
Adrian Holovaty f6f3b1f97b Fixed another stupid ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:36:57 +00:00
Adrian Holovaty c0fef161c1 Fixed the inevitable ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:36:20 +00:00
Adrian Holovaty 9138dc7008 Fixed the inevitable ReST bugs in [560]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:35:44 +00:00
Adrian Holovaty b8e1be6f46 Beefed up docs/model-api.txt -- added a significant amount of documentation, links to example models and formatting changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 18:29:11 +00:00
Adrian Holovaty 75b5372a8f Tiny change to docstring in many_to_one_null model unit test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:39:23 +00:00
Adrian Holovaty 286698e8e5 Removed 'this isn't yet supported' message from custom_pk unit test docstring -- it IS supported
git-svn-id: http://code.djangoproject.com/svn/django/trunk@557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:37:26 +00:00
Adrian Holovaty 1aaa3358b9 Fixed ReST bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:34:37 +00:00
Adrian Holovaty 3db068f7fa Fixed bug in docs/tutorial02.txt related to model syntax change. Thanks, Jeremy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 05:32:30 +00:00
Adrian Holovaty 939e2bccd5 Changed django-admin.py inspectdb to output new-style model syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26 04:06:18 +00:00
Adrian Holovaty 25264c8604 Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 22:51:30 +00:00
Adrian Holovaty aec0a73d73 Changed 'coding error' and 'database error' e-mails to include request.path in subject
git-svn-id: http://code.djangoproject.com/svn/django/trunk@548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25 00:50:01 +00:00
Jacob Kaplan-Moss 9fb3f7fa93 Fixed a small bug in admin changelist view -- the code that handles ordering by
a related field still assumed the outdated ordering syntax.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-23 20:17:36 +00:00
Adrian Holovaty fffe1d1472 Fixed #406 -- Fixed small typo in docs/forms.txt. Thanks, Tom Haddon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-23 14:31:08 +00:00
Adrian Holovaty 928832d6e0 Changed SessionMiddleware to use process_request instead of process_view -- that way it always gets called, even for 404s
git-svn-id: http://code.djangoproject.com/svn/django/trunk@545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-22 19:19:54 +00:00
Adrian Holovaty 601a892ea0 Fixed #380 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:28:04 +00:00
Adrian Holovaty 297731c657 Fixed #381 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:26:56 +00:00
Adrian Holovaty 33f2304ea9 Fixed #383 -- Clarified tutorial 2. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-21 18:25:36 +00:00