Commit Graph

2180 Commits

Author SHA1 Message Date
Luke Plant df668ee782 Changed the admin index to sort models alphabetically.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:56:03 +00:00
Luke Plant d09ae12632 Removed unused code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:47:28 +00:00
Luke Plant 7a62bac56e Made QuerySet slicing return IndexError instead of DoesNotExist (and related changes).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:46:53 +00:00
Adrian Holovaty 0727df90f0 Fixed #1781 -- Fixed unit tests to use new error message for DoesNotExist. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:36:32 +00:00
Adrian Holovaty 71f4568613 Fixed #1776 -- Fixed bug in DateQuerySet when the field is null. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:35:51 +00:00
Luke Plant 0b73811e26 Fixed QuerySet __getitem__ corner case so that it throws exceptions consistently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 12:15:19 +00:00
Adrian Holovaty 862328a98f Simplified example in 'Limiting QuerySets' section of docs/db-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:44:14 +00:00
Adrian Holovaty 4bc4aa2fa6 Fixed #1779 -- Fixed typo in docs/db-api.txt. Thanks, bde3@cornell.edu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:32:01 +00:00
Adrian Holovaty 0c31254376 Small tweaks to docs/tutorial01.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:31:26 +00:00
Adrian Holovaty 058ab898b0 Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:29:22 +00:00
Adrian Holovaty eb4bbbb6f3 Fixed #1777 -- Fixed bug in date conversion in SQLite backend. Thanks, dart@google.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:27:49 +00:00
Luke Plant f57e34e990 Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 00:26:24 +00:00
Adrian Holovaty 3f932e31dc Fixed #1773 -- Fixed indentation error in docs/model-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 18:31:16 +00:00
Adrian Holovaty a0872543a7 Fixed #1722 -- Fixed bug in CommentManager.user_is_moderator(). Thanks, Jure Cuhalev
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 12:52:15 +00:00
Adrian Holovaty 4f15f10048 Fixed #1378 -- Added svn:ignore for pyc files for all Django packages
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:41:22 +00:00
Adrian Holovaty 87416a9c3c Fixed #1216 -- Noted in docs/contributing.txt 'Unit tests' section that the user needs permission to create a database
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:27:16 +00:00
Adrian Holovaty cca0e7346d Fixed #1762 -- Fixed Windows error in django.core.management. Thanks, ross.lazarus@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:08:14 +00:00
Adrian Holovaty b301640a1b Fixed #1699 -- Fixed JavaScript error in admin site with raw_id_admin and database backend that returns integers as long ints
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:24:42 +00:00
Adrian Holovaty 503a27d212 Fixed #1707 -- LocaleMiddleware now sets Content-Language header. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:19:16 +00:00
Adrian Holovaty 427a54b4a3 Fixed #1719 -- Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:17:51 +00:00
Adrian Holovaty f94f0555bc Fixed #1726 -- Made django/contrib/auth/create_superuser.py a command-line function, and added docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:08:29 +00:00
Adrian Holovaty f2ef28fd5c Fixed #1728 -- Fixed broken nav links in password_change_done admin page. Thanks for reporting, mdt@emdete.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:02:11 +00:00
Adrian Holovaty 775c06a959 Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when field fiel's value is null. Thanks, rhettg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:59:58 +00:00
Adrian Holovaty adf6126c81 Fixed #1731 -- Added note to docs/model-api.txt about location of model repository. Thanks, Malcolm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:57:19 +00:00
Adrian Holovaty 00ea535d94 Fixed #1733 -- Clarified docs/db-api.txt section on slicing QuerySets. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:56:15 +00:00
Adrian Holovaty 9a0873f77a Fixed #1742 -- Fixed ReST errors in docs/db-api.txt. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:45:13 +00:00
Adrian Holovaty 9fec605d8d Fixed #1766 -- Fixed bug in syncdb where it allowed two models to have the same database table. Thanks, Ian Clelland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:38:32 +00:00
Adrian Holovaty be552664ba Added Joseph K. to AUTHORS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:36:08 +00:00
Adrian Holovaty a8ccdd0fcd Finished proofreading docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 01:56:29 +00:00
Adrian Holovaty a79cbb5fe8 Fixed #1765 -- Fixed bug in docs/tutorial01.txt. Thanks, nick@efford.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 19:35:30 +00:00
Jacob Kaplan-Moss 583dcdcede Fixed #1583: django.contrib.admin.templatetags.admin_list no longer imports from the non-existant django.parts.media.photos. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 17:09:18 +00:00
Adrian Holovaty 223a708278 Added note to docs/contributing.txt about nobody responding on django-developers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 14:17:56 +00:00
Adrian Holovaty 08fc16705f Proofread some of docs/model-api.txt. Still not done with this one.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:59:45 +00:00
Adrian Holovaty 1f57fcac98 Removed ManyToManyRel.singular, which wasn't being used anymore.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:59:22 +00:00
Adrian Holovaty 2b551dec40 Fixed bug in admin: raw_id_admin fields weren't displaying their old values next to the form field, due to descriptor-fields change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:09:23 +00:00
Adrian Holovaty c6750acfe3 Removed 'Your first page' section from docs/tutorial01.txt in the interim before the doc is proofread.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 02:45:00 +00:00
Adrian Holovaty 332726981f Changed docs/faq.txt MVC question to use clearer argument made in Jacob's Google presentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 21:21:25 +00:00
Adrian Holovaty fc7b5fa0ae Fixed typos in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 20:01:11 +00:00
Jacob Kaplan-Moss ceecba2973 Fixed #1740 -- django.contrib.comments no longer uses old-style DB API (thanks, ubernostrum)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 19:23:44 +00:00
Adrian Holovaty 3ec68658ec Temporarily changed 'blog' to 'poll' in tutorial01 to avoid confusion
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 13:50:32 +00:00
Adrian Holovaty bc038daf14 Fixed #1750 -- Changed setup.py to exclude 'examples' directory. Thanks, misc@mandriva.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 13:35:02 +00:00
Adrian Holovaty 227d48af1c Proofread docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 06:22:08 +00:00
Adrian Holovaty c62a014049 Fixed #1747 -- Fixed error in docs/model-api.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 04:19:59 +00:00
Adrian Holovaty aa3712bef0 Fixed two typos in docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 02:18:10 +00:00
Adrian Holovaty 69d6bd7af3 Fixed #1745 -- Accessing many-to-many relationships without a PK value now throws an exception. Thanks, Luke
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 19:51:41 +00:00
Adrian Holovaty aba95b718c Added 'Multiple view prefixes' section to docs/url_dispatch.txt. Thanks, Slowness Chen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 19:22:33 +00:00
Adrian Holovaty cc4196a407 Fixed #1059 -- Fixed off-by-one line number in heading of debug error pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 18:44:22 +00:00
Adrian Holovaty 7ee211e45d Fixed #1739 -- Fixed typo in link in docs/middleware.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 13:18:43 +00:00
Adrian Holovaty a4b2c10932 Fixed ReST error in docs/flatpages.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 02:01:19 +00:00
Adrian Holovaty 75824ba82d Fixed more ReST errors in docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:59:39 +00:00