Commit Graph

6553 Commits

Author SHA1 Message Date
Adrian Holovaty e131e400e0 Made small cleanups to [623]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 00:01:44 +00:00
Adrian Holovaty 096ad32c84 Added docs/templates_python.txt, which isn't finished yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 23:38:46 +00:00
Adrian Holovaty e5a801590a Improved model validator to check for upload_to attribute in FileFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 15:04:20 +00:00
Adrian Holovaty 65bab4b824 Fixed #456 -- Fixed minor typo in docs/overview.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:24:23 +00:00
Adrian Holovaty fc9d457686 Fixed #458 -- Added /r/ to default admin urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:20:57 +00:00
Adrian Holovaty 1a010f8b29 Fixed #459 -- setup.py now includes admin_templates/registration. Thanks, igor@jahber.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:19:27 +00:00
Adrian Holovaty 66d4db7b09 Fixed #351 -- views.generic.list_detail.object_list now respects allow_empty when paginating. Thanks, kmh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 22:54:12 +00:00
Adrian Holovaty 5c22b8b4b7 Improved model validator to make sure prepopulate_from is a list or tuple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 22:50:53 +00:00
Adrian Holovaty 6d92319838 Added note to docs/cache.txt saying CacheMiddleware needs to be first entry in MIDDLEWARE_CLASSES
git-svn-id: http://code.djangoproject.com/svn/django/trunk@616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 21:22:49 +00:00
Adrian Holovaty ccbea84834 Fixed #404 -- Fixed random ordering in MySQL by abstracting random function into db backend modules. Thanks, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 20:46:00 +00:00
Adrian Holovaty 95e8688d7f Added unit test that confirms #404
git-svn-id: http://code.djangoproject.com/svn/django/trunk@614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 20:37:24 +00:00
Adrian Holovaty 5bdf1da730 Fixed #394 -- Trailing-slash redirects now retain duplicate name-value query-string pairs, instead of the first of each pair. Added a QueryDict.urlencode() method to accomplish this. Updated the docs. Thanks for the good catch, mlambert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:39:47 +00:00
Adrian Holovaty 92918b5ed7 Fixed ReST bugs in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:05:51 +00:00
Adrian Holovaty 64d3da63ae Fixed #429 -- Small cleanup to code in utils/html.py. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:51:14 +00:00
Adrian Holovaty 33570454e3 Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:42:36 +00:00
Adrian Holovaty 3aa1276bff Fixed #453 -- 'django-admin install' now does model validation before installation. Lightly refactored django.core.management to add a get_validation_errors() function, which validate() wraps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:38:23 +00:00
Adrian Holovaty 24006427d9 Changed django.core.management.validate to take an optional 'outfile' argument, defaulting to sys.stdout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:28:26 +00:00
Adrian Holovaty 59b204526e Fixed #454 -- Clarified django-admin '--help' output to use 'modelmodule' instead of 'app'. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:26:16 +00:00
Adrian Holovaty fe66d3b83b Fixed spacing bug in '--help' output of django-admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:23:42 +00:00
Adrian Holovaty d31699f227 Fixed some bugs in model syntax of docs/overview.txt -- thanks, Paul Bissex
git-svn-id: http://code.djangoproject.com/svn/django/trunk@605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:14:44 +00:00
Adrian Holovaty 5d7c8a0c4f Fixed bug in [601]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 17:59:43 +00:00
Adrian Holovaty 4e2f910ff1 Added link to request-and-response documentation from tutorial04
git-svn-id: http://code.djangoproject.com/svn/django/trunk@603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 17:48:18 +00:00
Adrian Holovaty 9f12564168 Added link to request-and-response documentation from tutorial03
git-svn-id: http://code.djangoproject.com/svn/django/trunk@602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 17:41:40 +00:00
Adrian Holovaty 324f717c5e Fixed bug in has_related_links=True, which is legacy and shouldn't be used by anybody
git-svn-id: http://code.djangoproject.com/svn/django/trunk@601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 16:34:14 +00:00
Adrian Holovaty 582e6a1010 Fixed #392 -- Fixed bug in memcache setup if arguments are given. Thanks, adrian@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 23:09:48 +00:00
Adrian Holovaty 29c50bc0d4 Fixed #287 -- Clarified description for 'slugify' template filter. Thanks, emccoy@interland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-01 22:58:58 +00:00
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