Commit Graph

1377 Commits

Author SHA1 Message Date
Adrian Holovaty 132605d889 Fixed #5086 -- The 'flush' and 'sqlflush' management commands no longer touch tables that Django is not aware of (tables that are not in INSTALLED_APPS and/or do not have associated models. Thanks for bringing this up, shaun@cuttshome.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 19:32:30 +00:00
Adrian Holovaty de2881f9f2 Removed incorrect link that slipped in docs/db-api.txt in [6010]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:59:59 +00:00
Adrian Holovaty b189e266ef Fixed #5068 -- Fixed error in docs/db-api.txt. Thanks, Collin Grady and SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:58:36 +00:00
Adrian Holovaty f8e26f5c2c Fixed #5169 -- Fixed error in docs/settings.txt "404 errors" section. Thanks, rokclimb15@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:51:32 +00:00
Adrian Holovaty eb2ce98b29 Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:48:32 +00:00
Adrian Holovaty ce207949f3 Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and __unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:43:32 +00:00
Adrian Holovaty 62329dca05 Fixed #5209 -- Removed link to outdated screencast in docs/faq.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:37:43 +00:00
Adrian Holovaty b3103feead Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. Thanks, trey@ktrl.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:29:26 +00:00
Adrian Holovaty a3a07af910 Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21 02:35:01 +00:00
Malcolm Tredinnick c06524bc2d Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged view. Based on a patch from toddobryan@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 14:15:40 +00:00
Malcolm Tredinnick 14b5e074ba Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 08:50:08 +00:00
Adrian Holovaty 77a9b0cb1d Edited docs/templates.txt change from [5938]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 21:02:36 +00:00
Malcolm Tredinnick 0a49719e7a Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:48 +00:00
Malcolm Tredinnick d1892edc9f Added documentation of the arguments for the url() function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:21 +00:00
Malcolm Tredinnick e0c1ca7ef0 Fixed #5180 -- Added man pages for remaining files under django/bin/. We still need to rename some binaries before they can be safely installed, I suspect, so these aren't installed by default yet, but the groundwork is there now. Excellent job, Nick Efford!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 11:59:20 +00:00
Malcolm Tredinnick 0a2337c9e3 Added links from any reference to the url template tag to the appropriate place in the template tag documentation. Fixed #5198.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:15:11 +00:00
Malcolm Tredinnick 79801f504f Added a note that the development version supports named URL patterns in the url template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:14:58 +00:00
Malcolm Tredinnick cfd5b184fb Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 08:50:51 +00:00
Malcolm Tredinnick 8b115c7fb8 Fixed #5154 -- Minor wording tweak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:52:05 +00:00
Malcolm Tredinnick 24081d9959 Fixed #5166 -- Fixed a validation problem in one of the examples. Thanks, o.ekanem@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:13:15 +00:00
Russell Keith-Magee 04c77db2c3 Rolled out [5923]-[5925] due to breaking call_command().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:58:59 +00:00
Malcolm Tredinnick 3b9b87792a Fixed #5187 -- Minor doc tweaks. Thanks, Daniel Hahler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:43:38 +00:00
Russell Keith-Magee d743ccbc4b Added some initial documentation on adding customized commands to django-admin.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:10:31 +00:00
Russell Keith-Magee 8dff1cd91d Fixed #5189 -- Added logout method to test Client. Thanks, Jakub Wisniowski <restless.being@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17 14:20:25 +00:00
Adrian Holovaty 9c55bbdef7 Added 'django-admin.py testserver' command and docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 23:05:00 +00:00
Adrian Holovaty 49c438fd21 Changed django.test.utils.create_test_db to return the name of the test database that was created
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 22:46:00 +00:00
Adrian Holovaty dc44e50e5d Fixed #5181 -- Fixed typo in example in docs/testing.txt. Thanks, hayley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 15:12:37 +00:00
Luke Plant c568792e81 Added a reference for the claim in CSRF docs that GET requests
should be side-effect free.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 14:09:41 +00:00
Malcolm Tredinnick 7f06e44f99 Typo fix from [5896].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:29:15 +00:00
Malcolm Tredinnick 3835d8afec Fixed #4296 -- Added more explanation around the PythonPath directory setting. Based on contributions from a cast of thousands (Simon Greenhill, Paul Bissex, Graham Dumpleton, ...). Thanks, all.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:25:21 +00:00
Adrian Holovaty 4f62b0a193 Fixed some ReST errors in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:30:23 +00:00
Adrian Holovaty 3bfda4fa62 Removed stray tabs mistakenly added to docs/testing.txt in [5889]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:28:29 +00:00
Adrian Holovaty 1ba9012d87 *Finally* edited docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:24:18 +00:00
Russell Keith-Magee 543ab12c11 Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley <djangocode@vortex.cx>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 00:19:53 +00:00
Adrian Holovaty 6aae9b2aa4 Changed django.contrib.auth.views.login to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use this view. See also [5654]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14 22:08:11 +00:00
Malcolm Tredinnick 56e28b4e8f Fixed #5085 -- In generic views, set the default name for the slug field to 'slug'. Thanks, Trevor Caira.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:59:41 +00:00
Malcolm Tredinnick c050b6a25a Fixed #4946 -- Added some small improvements to Gzip middleware. Thanks, colin@owlfish.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:29:25 +00:00
Malcolm Tredinnick 9aa81c5401 Fixed #4942 -- Added an explanation that we see tickets as they are filed, automatically. Based on a suggestion from Nicola Larosa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:47:10 +00:00
Malcolm Tredinnick 84bc65e137 Fixed #4941 -- Changed imports for interactive portion of the example to be consistent with the source code file, at the expense of slightly more typing required. This might help reduce some confusion. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:37:56 +00:00
Malcolm Tredinnick a564adb8e1 Fixed #4914 -- Documented the Session.modified attribute for forcing session saves. Thanks, Thomas Güttler and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:24:21 +00:00
Russell Keith-Magee 3d012a18ce Added documentation for widgets in newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 06:25:05 +00:00
Adrian Holovaty dd0f5d9284 Fixed #4818 -- Improved 'Step 2' example in docs/databrowse.txt. Thanks, kevin@berndtgroup.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:59:09 +00:00
Adrian Holovaty d1bef59905 Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:01:37 +00:00
Malcolm Tredinnick 20e3ae5222 Fixed #4987 -- Added documentation for newforms.DecimalField. Based on a patch from james_027@yahoo.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 12:10:23 +00:00
Malcolm Tredinnick 1d4a0054e3 Fixed #4762 -- Corrected an example. Thanks, Collin Grady and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:06:14 +00:00
Malcolm Tredinnick aca2761faf Fixed #4611 -- Removed "new in development version" annotation for the permission_required decorator. It was in 0.96. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:05:59 +00:00
Malcolm Tredinnick 9864c9d8bf Added "new in development version" annotation to HttpRequest.encoding documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:52 +00:00
Malcolm Tredinnick df1f76ac02 Documented the encoding attribute on the HttpRequest class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:38 +00:00
Malcolm Tredinnick 0afbca9c60 Fixed #3526 -- Added content_type as an alias for mimetype to the HttpResponse constructor. It's a slightly more accurate name. Based on a patch from Simon Willison. Fully backwards compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:37:42 +00:00
Adrian Holovaty f1edb8c2b3 Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00