Commit Graph

75 Commits

Author SHA1 Message Date
Russell Keith-Magee 302eeaf190 Fixed #5516 -- Added the ability for applications to define their own management commands. Pieces of this patch taken from a contribution by Todd O'Bryan. Thanks Todd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 16:19:20 +00:00
Adrian Holovaty 4541a4d3a9 FIxed #5376 -- Fixed typo in testserver docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 16:01:25 +00:00
Adrian Holovaty fe78237a22 Fixed #5376 -- Added --addrport option to the 'testserver' command. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:17:15 +00:00
Adrian Holovaty 84f6182494 Fixed broken link in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:01:33 +00:00
Adrian Holovaty c853973110 Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:00:30 +00:00
Adrian Holovaty 71504127fd Fixed #5369 -- Refactored the django-admin.py help system, allowing each subcommand to register its own options. Thanks for the patch, Todd O'Bryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 21:57:59 +00:00
Russell Keith-Magee e4342b7d28 Refs #5343 -- Reverted [6047]. Loading custom commands was causing the settings file to get read before the options could be processed to determine if a --settings option was present. Back to the drawing board (again)...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-05 14:01:31 +00:00
Russell Keith-Magee f25b8cdbcd Fixed #5212, #5222 -- Added the ability for users to register their own commands with django-admin. A previous attempt at this was introduced in [5923]-[5925], and rolled out in [5929].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 12:59:49 +00:00
Adrian Holovaty 32c729be10 Added note to docs/django-admin.txt section on 'testserver' that the server does not detect changes to Python code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:56:33 +00:00
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
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
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
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
Malcolm Tredinnick d48a39650f Fixed #4869 -- Added a note that syncdb does not alter existing tables. Thanks,
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 05:27:22 +00:00
Adrian Holovaty 510e545776 Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 01:00:23 +00:00
Malcolm Tredinnick 5ec6ffd6ce Fixed #4455 -- Small typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-02 08:00:11 +00:00
Malcolm Tredinnick 2dd753fa88 Fixed #4370 -- Clarified how syncdb searches for initial data files. Thanks,
Simon Greenhill and gsf@perfectlygood.net.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 10:11:43 +00:00
Malcolm Tredinnick 6f78709985 Changed all references to tutorial1/ to be tutorial01/ (and similarly for
tutorials 2, 3 and 4). This matches the canonical name we use under
djangoproject.com/documentation/ as well as the source filename. Should avoid
problems with archived documentation and missing HTTP redirects. Refs #4013.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 09:15:30 +00:00
Adrian Holovaty e9e728c212 Fixed #3786 -- Fixed sqlinitialdata references in some docs. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-13 01:01:57 +00:00
Malcolm Tredinnick 1c7a264a96 Fixed #3909 -- Added a couple of small clarifications to django-admin.py
documentation. Thanks, adurdin@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:11:19 +00:00
Adrian Holovaty 099022c6aa Added note to docs/django-admin.txt about the examples using django-admin.txt but the examples being just as relevant for manage.py. Refs #3893
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 01:44:26 +00:00
Russell Keith-Magee dabd96646c Fixed #3790 -- Fixed a problem with sequence resetting during fixture loads when using Postgres. Thanks to Jon Ballard and scott@staplefish.com for the report, and to Zach Thompson for suggesting a solution.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-06 02:25:58 +00:00
Adrian Holovaty bd8c2fead8 Fixed typo in docs/django-admin.txt. Refs #3786
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 18:09:43 +00:00
James Bennett 1c13d05043 Remove notes about things added/removed in development version, since the development version is about to become 0.96
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-23 20:45:30 +00:00
Adrian Holovaty 5d60faf33d Fixed small typo in docs/django-admin.txt. Thanks, Cort
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-16 15:02:21 +00:00
Russell Keith-Magee 790b585819 Added option to pretty-print dumped fixture output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-02 02:28:44 +00:00
Russell Keith-Magee f2582eb972 Fixes #2333 -- Added test fixtures framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-01 13:11:08 +00:00
Jacob Kaplan-Moss 633f0856d2 Fixed #3610: typo in django-admin.txt. Thanks, Yasushi Masuda.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 22:11:45 +00:00
Jacob Kaplan-Moss 3e9c41d03b Fixed #3319: Added docs to django-admin.txt about reset and runfcgi. Thanks, Ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 21:36:14 +00:00
Adrian Holovaty b767b5831d Made negligible change to docs/django-admin.txt -- 'MS Windows' to 'Windows'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 04:39:23 +00:00
Malcolm Tredinnick 23272de5db Fixed #3159 -- documented how to work around a lack of symlinking functionality
on Windows (with respect to django-admin.py).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 09:07:54 +00:00
Adrian Holovaty dfee6b328e Fixed #3302 -- Added small note to docs/django-admin.txt about ordering of initial-data SQL files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25 00:53:30 +00:00
Adrian Holovaty 8e54c49784 Fixed #3333 -- Docs now use relative links, not hard-coded djangoproject.com links. Thanks for the patch, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-24 20:08:47 +00:00
Adrian Holovaty 7cfe56524b Proofread new django-admin 'adminmedia' option from [3811] and [3812]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:50:36 +00:00
Malcolm Tredinnick 14993ece48 Documented the change in r3811. Refs #2600.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-24 08:22:52 +00:00
Russell Keith-Magee a5f4a0255d Clarified development stream status of some of the django-admin command line arguments
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-15 09:30:35 +00:00
Russell Keith-Magee fc2d5f461f Refs #2333 - Added more documentation for testing framework, and clarified some code as a result of trying to describe it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 14:29:47 +00:00
Jacob Kaplan-Moss ff4f24958d Added a rough cut of a document on using the new testing framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-29 18:04:09 +00:00
Adrian Holovaty e26f288823 Added 'Turning off auto-reload' section to docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-17 14:58:39 +00:00
Adrian Holovaty 49e5f5450d Fixed #2272 -- Improved SQLite database introspection. Thanks, dne@mayonnaise.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:06:00 +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 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
Adrian Holovaty d5c9e19403 Small cleanups to docs/model-api.txt and docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 05:07:33 +00:00
Malcolm Tredinnick 87709d3fa5 Fixed #1886 -- documented the syncdb option.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 04:12:16 +00:00
Malcolm Tredinnick 8632f8ac4a Documented that the development server does not, by default handle static
files. Included a pointer to the relevant document for changing that.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2943 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 03:47:59 +00:00
Malcolm Tredinnick 21dd8e272b Fixed #981 -- documented the SQL initial data insert files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 03:37:50 +00:00
Adrian Holovaty f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty 64153ef4d5 Implemented get_indexes() for Postgres backend, which means 'inspectdb' can introspect primary keys and unique indexes for Postgres now.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:04:52 +00:00
Adrian Holovaty ac97cf54af Fixed #1286 -- Improved 'inspectdb' so that it introspects primary_key=True and unique=True for MySQL. Thanks, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 21:26:28 +00:00
Adrian Holovaty 9423c4e4a8 Fixed #1328 -- Improved 'inspectdb' to handle Python reserved words as field names. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-04 20:08:30 +00:00