Commit Graph

5510 Commits

Author SHA1 Message Date
Adrian Holovaty 79026a6e22 Fixed #156 -- Fixed admin changelist bug as a result of ordering syntax change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 17:58:56 +00:00
Wilson Miner f1f952761e Uncommented link to Change password now that it works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 16:40:36 +00:00
Wilson Miner 8ef422d070 Added password reset templates to admin_templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 15:02:40 +00:00
Adrian Holovaty 837a64565b Django now outputs a warning if you use old ordering syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 13:03:50 +00:00
Adrian Holovaty 8b3c05afa5 Fixed #146 -- Changed order_by and ordering parameters to be less verbose. The old syntax is still supported but will not be supported by first release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 13:02:27 +00:00
Adrian Holovaty 05bdb8d64b Fixed a legacy ordering_tuple --> order_by renaming in core.paginator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 05:11:37 +00:00
Adrian Holovaty 2d3def9fa2 Tiny code compression in django.views.admin.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 04:40:37 +00:00
Adrian Holovaty a1f479e080 Fixed #147 -- Thanks, Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 04:18:03 +00:00
Jacob Kaplan-Moss e320a0936e Added sqlite3 database backend -- somewhat tested, but probably not 100% perfect.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 03:15:43 +00:00
Adrian Holovaty dbfb35b542 Fixed #145 -- Changed admin logout to use views.auth.login.logout, which uses redirects to ensure cookies aren't stale. Thanks, sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-22 00:49:53 +00:00
Adrian Holovaty 9c3c0bed33 Fixed typos in docs/url_dispatch from [282]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:45:36 +00:00
Adrian Holovaty f8e5df6d7e Fixed spelling error and reworded mod_python PythonInterpreter section of docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:42:51 +00:00
Jacob Kaplan-Moss 8b58f8b3ae Fixed #141 -- thanks sdelatorre@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:19:01 +00:00
Jacob Kaplan-Moss 18749c0060 Rolled a number of comments into documentation; thanks to all those who contributed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 19:05:10 +00:00
Jacob Kaplan-Moss 96d69c5b5f Updated url dispatch docs to make it more clear that the prefix need not end in a dot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:12:29 +00:00
Jacob Kaplan-Moss df6feb54f2 Rolled comments on faq into the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 18:03:25 +00:00
Jacob Kaplan-Moss 6bb7c50143 Rolled comments on tutorial 3 into document and cleaned up a few things.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:59:05 +00:00
Jacob Kaplan-Moss 2dfea67e34 No, [278] missed the actual bug; this should fix it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:39:11 +00:00
Jacob Kaplan-Moss 8a285ec790 Fixed ReST bug in [277]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:38:28 +00:00
Jacob Kaplan-Moss 7af62f48e3 Added note about using different settings modules in the same virtual host
(thanks steadicat).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 17:37:36 +00:00
Jacob Kaplan-Moss 78cff1837a Refactor dictfetch* methods from mysql backend out into a seperate module; this is so that future db backends that need these functions can share them.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:48:20 +00:00
Adrian Holovaty 52d761cc7a Fixed #135 -- Added 'Multiple Django installations on the same Apache' to docs/mod_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:40:33 +00:00
Adrian Holovaty 8aa1645812 Changed tutorial docs to account for auto-reload on the development server
git-svn-id: http://code.djangoproject.com/svn/django/trunk@274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:36:43 +00:00
Adrian Holovaty 3ff931848e Fixed #138 -- Thanks, paolo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:06:49 +00:00
Adrian Holovaty 841b426243 Cleaned up [269] a tiny bit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 15:01:31 +00:00
Jacob Kaplan-Moss 4cb985df16 Added a "suggested reading order" to the README (fixes #136 -- thanks paolo!). Also reworded some of the language in the README and added pointers to the various help resources.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 14:11:25 +00:00
Jacob Kaplan-Moss ccffb19946 Fixed #132 -- thanks anonymous user
git-svn-id: http://code.djangoproject.com/svn/django/trunk@270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 14:01:17 +00:00
Jacob Kaplan-Moss 907ae72e81 fixes #133 -- thanks Joeri
git-svn-id: http://code.djangoproject.com/svn/django/trunk@269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 13:57:42 +00:00
Jacob Kaplan-Moss 6b514f1aab Fixed #137 -- thanks nesh@studioquattro.co.yu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 13:53:33 +00:00
Adrian Holovaty e1d21e5bcf Added copyright notice to utils/autoreload for CherryPy folks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 04:10:47 +00:00
Adrian Holovaty 9566a61a22 Added auto-reload to standalone server! Fixes #113. Thanks very much to Jason Huggins for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 04:08:54 +00:00
Adrian Holovaty c21f6ecee2 Fixed #92 -- meta.Admin 'fields' parameter is now optional. If it's not given, Django will use all editable fields by default. This cuts down on redundancy. Also updated relevant docs to reflect the change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:46:16 +00:00
Adrian Holovaty 304b08e325 Improved 'django-admin runserver' so that it explicitly tells you how to stop it. Also trapped KeyboardInterrupt so stopping it doesn't give an ugly traceback.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:24:28 +00:00
Adrian Holovaty 03c436bf61 Refactored django.views.admin.main to call opts.admin.get_field_objs() only once, and made sure no code accessed admin.fields directly, in preparation for an upcoming change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 03:19:30 +00:00
Adrian Holovaty 8d144dadd8 Fixed #114 -- Changed uses of deprecated 'whrandom' module to 'random'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 02:20:40 +00:00
Adrian Holovaty d330be0169 Added 'django-admin createsuperuser' and updated tutorial to use it instead of manually creating the user in the Python interactive prompt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 02:17:45 +00:00
Adrian Holovaty 0500321a4b Added 'Serving media files' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:48:59 +00:00
Adrian Holovaty b2cb66bfbc Filled in INSTALL and README files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:37:28 +00:00
Adrian Holovaty 903920a3d2 Fixed #103 -- Changed docs/install.txt to note there is no official version yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-21 01:33:13 +00:00
Adrian Holovaty bc5359f754 Added optional rel_name parameter to ManyToManyField, which makes it possible to many-to-many-relate a single model to another model more than once. Also updated the model docs to reflect this
git-svn-id: http://code.djangoproject.com/svn/django/trunk@257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 22:55:01 +00:00
Adrian Holovaty 895d232671 Small code cleanup -- changed django.core.management.get_sql_delete to use get_m2m_db_table(), and moved get_m2m_db_table() from Field to ManyToManyField, because it's only used by the latter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:56:12 +00:00
Jacob Kaplan-Moss d9656947db Fixed #123 -- thanks jay!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:41:43 +00:00
Jacob Kaplan-Moss 65bed3241d Added note about ForeignKey("self"); fixes #100
git-svn-id: http://code.djangoproject.com/svn/django/trunk@254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:24:03 +00:00
Adrian Holovaty 10ace9a124 Added clarification about 'django-admin.py sqlclear' to docs/tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 21:01:47 +00:00
Adrian Holovaty 47cc60d94b Fixed small bug in print_error() calls in django-admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:35:53 +00:00
Jacob Kaplan-Moss 99a75541fd Fixed small problem in [250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:12:29 +00:00
Jacob Kaplan-Moss e5a8c38fa1 Added "philosophy" sections to tutorials so they can be styled differently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 20:10:35 +00:00
Adrian Holovaty ec31445c52 Added '--settings' option to django-admin. This specifies which settings module to use, if you don't want to deal with setting the DJANGO_SETTINGS_MODULE environment variable. Refactored django-admin to use optparse. Updated the tutorials to use '--settings' instead of environment variables, which can be confusing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:42:36 +00:00
Jacob Kaplan-Moss 1b8c4c4556 Argh: fixed another bug in [244]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:12:12 +00:00
Jacob Kaplan-Moss 067f56d93d Fixed really dumb bug in [244]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-20 17:09:39 +00:00