Commit Graph

3913 Commits

Author SHA1 Message Date
Adrian Holovaty 095305cb44 Fixed #486 -- Fixed bug in template filter parsing in edge cases, and added unit tests. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:18:04 +00:00
Adrian Holovaty e01ef9ddd8 Fixed #487 -- Fixed typo in docs/cache.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:12:30 +00:00
Adrian Holovaty f46402bc90 Made 'django-admin.py init' more robust
git-svn-id: http://code.djangoproject.com/svn/django/trunk@632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 22:14:40 +00:00
Adrian Holovaty 93010c75f2 Fixed #465 -- Fixed typo in docs/templates_python.txt. Thanks, Manuzhai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 21:30:45 +00:00
Adrian Holovaty 1087ee3d5e Fixed #462 -- Fixed typo in docs/templates_python.txt. Thanks, eugene@lazutkin.com and sanxiyn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 12:37:54 +00:00
Adrian Holovaty 4ea3dd5dbd Fixed small typo in [628]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:07:38 +00:00
Adrian Holovaty cadb6a008d Finished docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:05:50 +00:00
Adrian Holovaty 276731d625 Fixed some more formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:37:39 +00:00
Adrian Holovaty adae680c73 Fixed some formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:35:51 +00:00
Adrian Holovaty f9f0ea9308 Added a couple more sections to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:30:23 +00:00
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