Commit Graph

681 Commits

Author SHA1 Message Date
Malcolm Tredinnick 4540a85dda Fixed #2166 -- (take two!). Use "manage.py reset ..." to reset a model's
database tables, not the older piped combination that used to be required.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-17 02:32:50 +00:00
Malcolm Tredinnick cc56d65c6e Fixed #2166 - Use "manage.py dbshell" as the portable way to pipe commands to
the database. Thanks Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16 13:37:26 +00:00
Malcolm Tredinnick ed1dcbf3e7 Fixed #2141 -- corrected indentation problems in a couple of the code fragments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:34:52 +00:00
Malcolm Tredinnick 97fedcc031 Fixed #2143 -- Changed a few places where the pre-magic-removal-merge syntax
was still being used in the docs. Thanks to mssnlayam@yahoo.com for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 03:31:34 +00:00
Adrian Holovaty e5cd46d6d1 Fixed #2026 -- Added support for 'and' in template 'if' tags, added dozens of unit tests and updated docs. Thanks, ckknight
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:33:21 +00:00
Adrian Holovaty 14c159d21d Fixed #2118 -- Fixed typos in docs/add_ons.txt. Thanks, donarb@nwlink.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:03:19 +00:00
Adrian Holovaty 64ebd1da15 Added 'Is Django a content-management-system?' to the faq
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 01:52:59 +00:00
Adrian Holovaty d028f891c9 Added section to docs/db-api.txt get_or_create() section about GET vs. POST
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 03:10:28 +00:00
Adrian Holovaty f3f002b161 Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:46:08 +00:00
Adrian Holovaty 448becefdf Fixed #2096 -- Fixed small error in docs/templates_python.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:38:37 +00:00
Adrian Holovaty b3a6348bc2 Added Manager.get_or_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 00:09:29 +00:00
Georg Bauer 7e88ec5271 fixed #2089: added language bidirectional support and updated the admin to use it. thanks meir@mksoft!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 15:22:53 +00:00
Adrian Holovaty 6dfea737f6 Made template names in django.contrib.auth.views passable as template_name argument to the view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 05:16:05 +00:00
Wilson Miner afe55af1e7 Updated my URL in the FAQ doc.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 16:28:09 +00:00
Adrian Holovaty b8fd9a44e5 Fixed #1684 -- Added apnumber template filter in django.contrib.humanize. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 01:03:48 +00:00
Adrian Holovaty fb537e177d Added django.contrib.humanize, a set of template tags for adding a 'human touch' to data. They're documented in add_ons.txt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 00:58:39 +00:00
Adrian Holovaty 168429d597 Fixed #593 -- Added 'search' DB-API lookup type, which does full-text index searches in MySQL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 23:28:24 +00:00
Adrian Holovaty fc2a02f966 Fixed #2075 -- Added 'page' parameter to object_list generic view. Thanks, kanashii@kanashii.ca
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 22:06:48 +00:00
Adrian Holovaty 674773bb90 Cleaned up some small formatting in docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 18:06:41 +00:00
Adrian Holovaty b82ac716d0 Fixed #1638 -- Documented shortcomings of development server in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 05:40:31 +00:00
Adrian Holovaty c18dc3d759 Fixed #1870 -- Clarified (hopefully) the TEMPLATE_DIRS section of docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 05:06:36 +00:00
Adrian Holovaty 12254540c7 Fixed #1966 -- Documented list_per_page Admin option
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:54:28 +00:00
Adrian Holovaty ab2fb1634f Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and added technical message IDs of the same names. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:20:32 +00:00
Adrian Holovaty 1717b94fc8 Fixed #2064 -- Added 'Falling back to raw SQL' section to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:04:04 +00:00
Adrian Holovaty 26b61aa813 Fixed #395 -- Added SESSION_EXPIRE_AT_BROWSER_CLOSE setting, which regulates whether session framework should use browser-session-length cookies.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 22:25:06 +00:00
Adrian Holovaty a371eb3c90 Fixed #2057 -- Added explicit statement to auto_now and auto_now_add section in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3043 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:37:47 +00:00
Adrian Holovaty 1ffa1a9bc8 Fixed #2054 -- Added a bit of docs to the 'core' field docs in model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:35:44 +00:00
Adrian Holovaty 5077f9ceaf Fixed #697 -- Added make_object_list parameter to archive_year generic view. Thanks, jhf@hex.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:21:26 +00:00
Adrian Holovaty 9030236652 Fixed #2000 -- Added 'mimetype' parameter to generic views. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:08:06 +00:00
Adrian Holovaty a0de8b3b21 Fixed #2047 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:29:11 +00:00
Adrian Holovaty 3c4e261931 Fixed #2046 -- Typo in tutorial03.txt. Thanks, asmodai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:26:44 +00:00
Adrian Holovaty 6b1e7bddc1 Fixed typo in docs/tutorial02.txt. Thanks, Nick Fishman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:16:49 +00:00
Adrian Holovaty 2f513e0f0e Added support to django/contrib/auth/handlers/modpython.py for setting DJANGO_SETTINGS_MODULE via a PythonOption instead of SetEnv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:09:07 +00:00
Adrian Holovaty be25b661b1 Fixed #1998 -- Changed double quotes to single quotes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:05:02 +00:00
Adrian Holovaty 14392b032d Made some edits to docs/templates_python.txt 'inclusion_tag' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:29:27 +00:00
Malcolm Tredinnick b631a50250 Fixed #2001 -- corrected a couple of typos in the custom tag examples. Thanks
to topdeckmail@gmail.com.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@2978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-25 05:09:25 +00:00
Adrian Holovaty 9a4c39bb82 Fixed incorrect link in docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 14:20:51 +00:00
Malcolm Tredinnick 8fbf9714c3 Changed an overlooked occurrence of repr() to str(). Pointed out by Jeremy
Dunck on the mailing list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 01:34:06 +00:00
Adrian Holovaty f953c8afb6 Fixed ReST error in docs/sites.txt. I think.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:38:20 +00:00
Adrian Holovaty e3ac3bc074 Added small bit to docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:22:58 +00:00
Adrian Holovaty 610cffe80e Added documentation for CurrentSiteManager to docs/sites.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:22:45 +00:00
Adrian Holovaty ddd37b20f1 Fixed funky formatting in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:04:40 +00:00
Adrian Holovaty e3839f32e5 Added docs/sites.txt -- documentation on the sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:48:44 +00:00
Adrian Holovaty cd54ba5696 Added the missing django.contrib applications to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 03:14:33 +00:00
Adrian Holovaty 0fc2a2c1a8 Added 'Overriding default model methods' section to model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 03:01:02 +00:00
Adrian Holovaty be57a7fd1a Fixed #849 -- Improved login_required view decorator to save query-string parameters. Also added documentation on the django.contrib.auth.views.login view to docs/authentication.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:46:55 +00:00
Adrian Holovaty 75df13278c Fixed #981 -- Documented backend-specific SQL files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:24:32 +00:00
Adrian Holovaty 2c5e9fcf73 Fixed #1957 -- Added docs for 'version' to docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-21 20:20:47 +00:00
Malcolm Tredinnick 690f9ad8f0 Improved the advice on using QuerySets in extra_context based on feedback from
Luke Plant.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-21 12:44:58 +00:00
Malcolm Tredinnick 35869c53ef Documented that CommonMiddleware will not append a slash to URLs containing a
period in the last component.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-20 03:35:25 +00:00