Commit Graph

2463 Commits

Author SHA1 Message Date
Russell Keith-Magee 97b9ad73b4 Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 13:59:47 +00:00
Russell Keith-Magee 77ab11be45 Refs #2333 - Added 'test' target to django-admin script. Includes addition of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:46:39 +00:00
Russell Keith-Magee 89fa97b837 Refs #2333 - Added a signal that is emitted whenever a template is rendered, and added a 'name' field to Template to allow easy identification of templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:35:07 +00:00
Russell Keith-Magee 7dce86ce02 Refs #2333 - Added test framework. This includes doctest and unittest finders, Django-specific doctest and unittest wrappers, and a pseudo-client that can be used to stimulate and test views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:24:59 +00:00
Adrian Holovaty 1a1fb70c9f Fixed small typo in docs/overview.txt. Thanks, kirk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-24 03:37:34 +00:00
Adrian Holovaty 0a770a0d92 Added 'How can I get started contributing code to Django?' to the FAQ, and beefed up 'Why does this project exist?'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 23:15:09 +00:00
Adrian Holovaty 2836624ba4 Added some helpful hints to list_display documentation in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 15:40:41 +00:00
Adrian Holovaty 34609438bb Fixed #2581 -- Added populate_xheaders() call to flatpage view. Thanks for the patch, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 02:05:05 +00:00
Adrian Holovaty 3cfc8bb5d9 Fixed #2582 -- filter_interface now works on fields with verbose_name containing quotes. Thanks for reporting, 235
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 17:45:21 +00:00
Adrian Holovaty 5ddd0e0498 Fixed #2570 -- Added 'DejaVu Sans' to admin global.css, because it is more utf-8 friendly than Bitstream. Thanks for the patch, riklaunim@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:58:16 +00:00
Adrian Holovaty 295429d1c3 Fixed #2572 -- Added all languages to docs/settings.txt. Thanks for the patch, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:55:50 +00:00
Adrian Holovaty 513ae3a3f4 Fixed #2587 -- Removed unnecessary escaping from admin_doc/model_detail.html template. Thanks for reporting, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:53:43 +00:00
Adrian Holovaty dbaf1219d5 Fixed #2580 -- Added missing </html> tag in docs/templates.txt examples. Thanks, jonathan-django@jmail.za.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 18:27:33 +00:00
Adrian Holovaty cccbe23006 Fixed #2577 -- Made isSlug() validator translation-aware. Thanks for the patch, henrik_kroeger@arcor.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 17:43:34 +00:00
Adrian Holovaty ff5e01db5d Fixed #2471 -- Got date-based generic views working with SQLite DateFields. Thanks for the patch, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 17:40:54 +00:00
Adrian Holovaty 128151ebc8 Fixed typo in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-20 05:32:20 +00:00
Adrian Holovaty 64cf4b95a6 Fixed bug in [3553] -- Changed admin JavaScript quoting for related-object popup window not to use repr(), because that produces values such as 123L for longints. Refs #2500
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 21:39:29 +00:00
Wilson Miner df20bf52b0 Updated my bio in the FAQ.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 19:10:46 +00:00
Adrian Holovaty eef88a6d2c Fixed #2561 -- memcached cache backend no longer ignores default timeout. Thanks for the report and patch, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 15:10:08 +00:00
Adrian Holovaty e7a91d3e06 Added note to 'If you don't need internationalization' section of docs/i18n.txt about removing the i18n context processor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:43:55 +00:00
Adrian Holovaty 53348672c9 Added USE_I18N setting to default settings.py created for startproject command
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:42:28 +00:00
Adrian Holovaty 0a9a59f4d1 Made small change to docs/templates_python.txt to explicitly define 'context processors', for the benefit of searches
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:40:47 +00:00
Adrian Holovaty 8b8f452055 Fixed #2540 -- Added one more i18n string to admin/views/doc.py. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:37:01 +00:00
Adrian Holovaty d4a2fbb6a2 Added note to docs/cache.txt about CACHE_MIDDLEWARE_ANONYMOUS_ONLY=True and ordering AuthenticationMiddleware. Refs #2541.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:33:37 +00:00
Adrian Holovaty d592ca487a Fixed #2541 -- Added helpful error message for CacheMiddleware in the case of CACHE_ANONYMOUS_ONLY=True and uninstalled/unordered AuthenticationMiddleware. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:31:13 +00:00
Adrian Holovaty 8f065bba6b Fixed #2552 -- Added SetRemoteAddrFromForwardedFor middleware and documentation. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:12:36 +00:00
Adrian Holovaty efa19ae8a7 Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 02:48:34 +00:00
Adrian Holovaty eefe35c7fa Changed admin/base.html template to add a NONE,NOARCHIVE meta tag for robots. Thanks for the idea, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 23:05:42 +00:00
Adrian Holovaty 445f692096 Small formatting change to docs/model-api.txt change from [3597] -- double hyphens instead of a single hyphen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:37:49 +00:00
Russell Keith-Magee 7fe6fd75ba Clarified documentation regarding string-form model references.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 00:02:51 +00:00
Adrian Holovaty 518d406e53 Fixed small security hole in bin/compile-messages.py by escaping the .po filename in os.system() call. Announcement forthcoming
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 06:28:13 +00:00
Adrian Holovaty 7c79f2affa Small error-message formatting change to compile-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 04:27:42 +00:00
Adrian Holovaty f98f702f2b Added paragraph to docs/model-api.txt explicitly pointing out file uploads should be validated, for security reasons
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 23:07:43 +00:00
Georg Bauer d07c2e9111 fixed #2542: updated 'ru' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 15:18:21 +00:00
Adrian Holovaty f13e70fae5 Small formatting change to compile-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13 03:45:43 +00:00
Adrian Holovaty 0f000b7ae5 Fixed incorrect error message in django.template.loaders.filesystem if you pass in template_dirs=None. Thanks, Martin Glueck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13 01:49:11 +00:00
Adrian Holovaty 3e51dac933 Fixed #2533 -- Fixed XHTML error in admin edit_inline_tabular.html template. Thanks, erikg@codepoet.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 17:42:02 +00:00
Adrian Holovaty 45be33a632 Fixed #2523 -- Added SESSION_COOKIE_SECURE setting. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 06:02:28 +00:00
Adrian Holovaty 20070d9117 Fixed #2372 -- manage.py runfcgi no longer ignore LANGUAGE_CODE. Thanks, ludo@qix.it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:55:28 +00:00
Adrian Holovaty 9354cfb6ce Fixed #2410 -- Added HTML ID attribute to <form> on admin change-list pages, for easy targetting with JavaScript and CSS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:42:48 +00:00
Adrian Holovaty aa587cd977 Fixed ReST error in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:31:31 +00:00
Adrian Holovaty 54ea309a1d Fixed #2513 -- Changed LazyDate.__get_value__() to return date objects, not datetime objects
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:18:25 +00:00
Adrian Holovaty 9cd0c333d6 Fixed #2514 -- Improved psycopg2 backend to save/load Unicode strings correctly. Thanks, crankycoder@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:15:25 +00:00
Adrian Holovaty 9ce3273127 Fixed #2527 -- Removed /doc/views/jump/ from admin URLconf. It wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:10:51 +00:00
Adrian Holovaty 74f5d2b9b0 Fixed #2528 -- Fixed 'time' template filter for midnight time value. Thanks, django@dougma.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:09:12 +00:00
Adrian Holovaty 6f8e9be24a Fixed #2525 -- Fixed typo in contrib/flatpages/README.TXT. Thanks, dummy@habmalnefrage.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 22:04:42 +00:00
Adrian Holovaty 2e6aa7a578 Added paragraph to docs/documentation.txt about removing comments from frozen docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 20:31:43 +00:00
Adrian Holovaty 49c67053db Added docs/documentation.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 20:25:21 +00:00
Adrian Holovaty a8705cec47 Fixed #2524 -- Added i18n hooks in create_update generic views. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 19:17:46 +00:00
Adrian Holovaty e5bf574678 Changed inspectdb to *not* trim trailing 's' from database table name to create class name, because Django no longer does that as of magic-removal
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 15:32:35 +00:00