Gary Wilson Jr
|
928e68192c
|
Some Django coding style fixes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-10-13 15:59:54 +00:00 |
Adrian Holovaty
|
8ae74eae55
|
Fixed #5738 -- Fixed bug with defective Unicode strings in a URL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-10-13 02:57:57 +00:00 |
Gary Wilson Jr
|
d2952d47ce
|
Refs #5690 -- Changed path joining to use `os.pardir` instead of `'..'`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-10-06 02:23:59 +00:00 |
Gary Wilson Jr
|
39d61439e0
|
Re-organized imports to adhere to PEP 8.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6430 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-27 17:01:34 +00:00 |
Gary Wilson Jr
|
1f42d1c9a5
|
Removed unused import, unneeded due to [4144].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-27 17:00:07 +00:00 |
Gary Wilson Jr
|
f4bb24658b
|
Fixed #5604 -- Check for use of HTTPS by looking at the `wsgi.url_scheme` environment variable instead of the `HTTPS` environment variable since `wsgi.url_scheme` is required by the WSGI spec, while `HTTPS` is not. Thanks, ramiro.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6428 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-27 16:57:55 +00:00 |
Russell Keith-Magee
|
872f06d770
|
Fixed #5566 -- Fixed typo from [6042]. Thanks to thomas@gumption.com and mir for bringing attention to this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-22 00:27:07 +00:00 |
Russell Keith-Magee
|
87d71277b8
|
Fixed misleading comment from [6402].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-21 17:54:15 +00:00 |
Russell Keith-Magee
|
901c3708fb
|
Fixed #5564 -- Fixed handling of the ProjectCommand used by startapp.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-21 17:52:36 +00:00 |
Russell Keith-Magee
|
626a341587
|
Clean up of the command line argument error processing from [6400].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-21 16:52:32 +00:00 |
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 |
Malcolm Tredinnick
|
1ef4f5eac6
|
Fixed #4710 -- Improved mod_python HTTPS checking. Thanks, Aaron Maxwell, SmileyChris and Graham Dumpleton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-16 12:10:28 +00:00 |
Malcolm Tredinnick
|
c694587ebb
|
Fixed #4049 -- Improved error handling in auth() context processor. Based on a patch from gregorth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-16 11:27:40 +00:00 |
Ian Kelly
|
4f87e34315
|
Fixed two more instances of bug #4827 in the management code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 17:56:36 +00:00 |
Malcolm Tredinnick
|
4b610f42d3
|
Added a get_host() method to HttpRequest. There is still an http.get_host() version in place, so this is fully backwards compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 17:46:03 +00:00 |
Malcolm Tredinnick
|
8d3d5a37b4
|
Fixed #5109 -- Pass the request object to any exception signal handler. Thanks, Collin Anderson.
This is fully backwards compatible, despite the addition of an extra argument.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 16:34:41 +00:00 |
Malcolm Tredinnick
|
e461646b94
|
Fixed #5242 -- Fixed table processing for some databases with case insensitive tables. Patch from Filip Wasilewski.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 16:19:10 +00:00 |
Malcolm Tredinnick
|
1788b0c96f
|
Variable renaming. I didn't feel comfortable with the tricky re-aliasing in the line table_list=table_list().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 16:18:44 +00:00 |
Malcolm Tredinnick
|
7ca1a04633
|
Fixed #5443 -- Handle lack of os.access() and os.chmod() in Jython. Thanks, Leo Soto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 11:19:50 +00:00 |
Malcolm Tredinnick
|
cd8959c82a
|
Fixed #5486 -- Worked around the lack of os.getpid() in Jython, whilst still using it for CPython. Patch from Leo Soto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 09:51:41 +00:00 |
Russell Keith-Magee
|
84e824fbbf
|
Fixed #3036 -- Fixed some doctest strings that were failing. Thanks to pterk for the original patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 08:29:56 +00:00 |
Russell Keith-Magee
|
314536190b
|
Fixed #4714 -- Modified serializers to handle None primary keys correctly. This slightly changes the output format for primary keys on JSON and YAML serializers (PKs will be output as 1, rather than "1". However, fixtures in the old format will still load ok. Thanks for the patch, pigletto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-15 05:32:29 +00:00 |
Adrian Holovaty
|
e74880ed22
|
Negligible formatting change to [6211]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 22:49:01 +00:00 |
Jacob Kaplan-Moss
|
ca9388cdaf
|
Added more dict-like methods to HttpResponse as part of the response.headers -> response._headers move, and fixed a few direct uses of response.headers in Django itself. Thanks to PhiR for tracking down and slaying these bugs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6235 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 22:33:56 +00:00 |
Jacob Kaplan-Moss
|
27d027782c
|
Fixed #3381 - manage.py shell now respects PYTHONSTARTUP/.pythonrc.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 22:16:14 +00:00 |
Jacob Kaplan-Moss
|
4100eab823
|
Fixed the breakage in [6164] in a different, better way: HttpResponse now implements __contains__ along with __get/set/delitem__, as it should. This is a bit more robust, and should prevent similar breakage from user code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 21:41:48 +00:00 |
Jacob Kaplan-Moss
|
06f4c38b55
|
Case-insensitive HttpResponse headers ([6212]) broke absolute URL redirects ([6164]); this fixes the breakage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 21:36:39 +00:00 |
Jacob Kaplan-Moss
|
ad077ccbc0
|
Fixed #5445: added some compatibility code for the lack of __iter__ in Jython 2.2. Thanks, Leo Soto.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 19:55:24 +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
|
c998feb3bb
|
Fixed #5286 -- Fixed non-HTML output bug in adminindex command. Thanks, dan.fairs@gmail.com and piranha
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 18:29:34 +00:00 |
Ian Kelly
|
93f60163e8
|
Fixed #5218: Made Oracle create autoinc triggers using the correct name
of the AutoField column rather than always assume "ID".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 18:12:36 +00:00 |
Russell Keith-Magee
|
63dd4f5322
|
Fixed #3848 -- Added more comprehensive checks to ImageField validation, checking for image truncation or corruption. Thanks to Andrew C <andrewc-djangotrac1@piffle.org> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 07:18:27 +00:00 |
Malcolm Tredinnick
|
3f030a7472
|
Removed really obsolete file. I've been informed by reliable sources that this should only affect World Online.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 06:09:15 +00:00 |
Malcolm Tredinnick
|
e70d7e6064
|
Fixed #987 -- Convert relative URI portions into absolute URIs in HTTP Location headers. Based on a patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 05:28:00 +00:00 |
Russell Keith-Magee
|
87e77ffca0
|
Fixed #1795 -- Added page_range to paginators in generic list views. Thanks to polarcowz@gmail.com and Marc Fargas <telenieko@telenieko.com> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-14 01:01:02 +00:00 |
Russell Keith-Magee
|
7115465afa
|
Fixed #4478 -- Added a catch for an error thrown by PIL when attempting to validate MS OLE files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 13:13:35 +00:00 |
Adrian Holovaty
|
2cf419d9ed
|
Got runserver auto-reloading working again by removing what appeared to be debugging code in django.core.management.base. Refs #5369
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 04:37:23 +00:00 |
Adrian Holovaty
|
2554ea352e
|
Restored 'django-admin.py --help'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 04:27:06 +00:00 |
Adrian Holovaty
|
a77a02359d
|
Updated runfcgi management command to include 'subcommand' argument to usage()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 04:25:55 +00:00 |
Adrian Holovaty
|
a291952a7d
|
Refactored some small parts of core.management -- ManagementUtility.execute() no longer takes an argument, and ManagementUtility.__init__() now takes argv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 04:24:35 +00:00 |
Adrian Holovaty
|
a247c726c2
|
Changed core.management print_help() methods to accept a prog_name argument instead of an argv list, in an attempt to figure out why auto reloading stopped working
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 03:46:35 +00:00 |
Adrian Holovaty
|
c554858f6b
|
Renamed 'args' variables in django.core.management to 'argv' to be more clear, and removed an unneeded import
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-11 02:49:07 +00:00 |
Adrian Holovaty
|
f15a5c7abb
|
Renamed a variable in ManagementUtility.execute() for clarity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-10 04:33:24 +00:00 |
Russell Keith-Magee
|
3b6f032850
|
Fixed #5375 -- Added base command options to the options registered against dumpdata. Thanks for the fix, Matthew Flanagan <mattimustang@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-10 02:07:57 +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 |
Gary Wilson Jr
|
b0e173ae3f
|
Fixed imports to adhere to PEP 8 and stripped trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-08 19:26:15 +00:00 |
Gary Wilson Jr
|
7e57576ff7
|
Fixed #5232 -- Fixed the validation of `DecimalField` so that the negative sign is not counted as a digit. Thanks, Andrew Durdin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6067 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-08 19:24:46 +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
|
8ae1a78e47
|
Fixed #5319 -- Changed terminal colors in django.core.management.colors not to be used under Jython. Thanks, Marty Alchin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-09-02 17:05:13 +00:00 |
Adrian Holovaty
|
d09d1428f8
|
Fixed #5307 -- startproject/startapp now makes sure all files it creates are writeable. Thanks, Thomas Stromberg
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-31 04:35:03 +00:00 |
Adrian Holovaty
|
44e620972d
|
Changed 'validate' and 'runserver' management commands to display the number of errors. This was previous behavior before the management.py refactoring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-27 00:30:37 +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
|
de64e0d570
|
Fixed #5224 -- Corrected name of admin media option in management runserver command. Thanks for the report, alberto@ingparo.it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-25 11:17:33 +00:00 |
Adrian Holovaty
|
f0decc18cf
|
Removed legacy django.db.backend import in sql_delete()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:13:03 +00:00 |
Adrian Holovaty
|
b105a52882
|
Refactored get_drop_sequence() to DatabaseOperations.drop_sequence_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 03:08:32 +00:00 |
Adrian Holovaty
|
6d8e6090e5
|
Removed a bunch of legacy django.db.backend imports
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 02:28:40 +00:00 |
Adrian Holovaty
|
1a8f9b2b97
|
Implemented BaseDatabaseFeatures and changed all code to access it -- connection.features.foo instead of backend.foo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 02:20:33 +00:00 |
Adrian Holovaty
|
221f99ed58
|
Refactored quote_name() to DatabaseOperations.quote_name(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 01:03:33 +00:00 |
Adrian Holovaty
|
d4f218bd91
|
Refactored get_tablespace_sql() to DatabaseOperations.tablespace_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:30:19 +00:00 |
Adrian Holovaty
|
13061bf20b
|
Refactored get_start_transaction_sql() to DatabaseOperations.start_transaction_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5965 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:24:03 +00:00 |
Adrian Holovaty
|
147e99a08a
|
Refactored get_sql_sequence_reset() to DatabaseOperations.sequence_reset_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:21:10 +00:00 |
Adrian Holovaty
|
aaed6e04ec
|
Refactored get_sql_flush() to DatabaseOperations.sql_flush(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-20 00:15:53 +00:00 |
Adrian Holovaty
|
e4b7e369dd
|
Refactored get_max_name_length() to DatabaseOperations.max_name_length(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:53:39 +00:00 |
Adrian Holovaty
|
23a736dca9
|
Refactored get_drop_foreignkey_sql() to DatabaseOperations.drop_foreignkey_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:07:34 +00:00 |
Adrian Holovaty
|
8e84d35d38
|
Refactored get_deferrable_sql() to DatabaseOperations.deferrable_sql(). Refs #5106
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 23:03:38 +00:00 |
Adrian Holovaty
|
38b5d7f23d
|
Began implementing BaseDatabaseOperations class for every database backend. This class will be used to hold the database-specific methods that currently live at the module level in each backend. Only autoinc_sql() has been implemented so far.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-19 22:29:57 +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
|
7fc5a3b2d2
|
Finished a sentence that didn't get committed in [5923].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 04:54:08 +00:00 |
Russell Keith-Magee
|
6ad0a01887
|
Added the ability for end users to register commands with management.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-18 04:51:51 +00:00 |
Adrian Holovaty
|
a89e401648
|
Fixed 'django-admin.py syncdb' to take verbosity into account when loading initial_data fixture
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-17 22:56:36 +00:00 |
Russell Keith-Magee
|
0b7f5def7f
|
Added fix for verbosity handling in loaddata and test commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-17 00:11:56 +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
|
a5400cf873
|
Added shutdown_message to runserver command -- a hook for specifying a message to display after the server is shut down
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 22:48:32 +00:00 |
Adrian Holovaty
|
89ebb6177d
|
Removed some trailing space in commands/syncdb.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 19:34:25 +00:00 |
Adrian Holovaty
|
e8cae6f96d
|
Fixed bug in django.core.management.base.copy_helper, related to refactoring in [5903]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 19:14:09 +00:00 |
Adrian Holovaty
|
c5505c4c8e
|
Fixed #5182 -- Fixed missing 'import sys' in syncdb.py. Thanks, John Shaffer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 15:14:21 +00:00 |
Russell Keith-Magee
|
83f5f700b0
|
Improved error handling for management.py commands, especially for no argument or non-applabel argument commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 14:34:01 +00:00 |
Russell Keith-Magee
|
296d8d4553
|
Fixed #5179 -- Added missing kwargs to startapp command. Thanks for the report, Vsevolod Solovyov <vsevolod.solovyov@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 13:41:42 +00:00 |
Russell Keith-Magee
|
d5e695cd89
|
Fixed #5178 -- Added missing 'import sys' in management/commands/test.py. Thanks for picking this up, michal@plovarna.cz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 11:06:49 +00:00 |
Adrian Holovaty
|
01adbb55e6
|
Major refactoring of django.core.management -- it's now a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5898 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-16 06:06:55 +00:00 |
Malcolm Tredinnick
|
ce151bb8e4
|
Fixed #5156 -- Added some translation calls to a couple of missed words. Based on a patch from dAniel hAhler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-15 12:09:32 +00:00 |
Adrian Holovaty
|
9b99a60cfa
|
Made some negligible formatting changes to django/core/management.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-14 21:44:39 +00:00 |
Malcolm Tredinnick
|
534671a46f
|
Fixed #4933 -- Fixed a typo and reformatted a fairly long line in passing. Thanks, Ludvig Ericson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-12 10:29:59 +00:00 |
Malcolm Tredinnick
|
6d31e431c3
|
Fixed #4909 -- Fixed a race condition with middleware initialisation in multi-threaded setups. Thanks, colin@owlfish.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-12 10:24:05 +00:00 |
Adrian Holovaty
|
f128c7bbb7
|
Fixed #5011 -- Fixed usage of ungettext in hasNoProfanities validator. Thanks, tzellman@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-12 03:27:57 +00:00 |
Malcolm Tredinnick
|
1777e74d2a
|
Fixed #4910 -- Allow Unicode content to be passed in for text-based e-mail
attachments. Thanks, djoume@taket.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-11 12:10:07 +00:00 |
Malcolm Tredinnick
|
01906de5c2
|
Fixed #4827 -- Fixed a problem when converting Unicode table names to upper-case in Oracle backend. Based on a patch from timchen119@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-11 11:11:16 +00:00 |
Adrian Holovaty
|
3c733bb690
|
Fixed #5071 -- Fixed 'global name ugettext is not defined' error in django.core.validators. Thanks, Marco Bonetti
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-06 05:07:38 +00:00 |
Adrian Holovaty
|
e301d8992c
|
Fixed #5082 -- Enabled tab completion in 'django-admin.py shell' for objects that were imported into the global namespace at runtime. Thanks, dusk@woofle.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-06 05:04:27 +00:00 |
Gary Wilson Jr
|
212ee65be7
|
Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-08-05 05:14:46 +00:00 |
Russell Keith-Magee
|
650cea9170
|
Fixed #4460 -- Added the ability to be more specific in the test cases that are executed. This is a backwards incompatible change for any user with a custom test runner. See the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-28 04:02:52 +00:00 |
Russell Keith-Magee
|
1b7fe09660
|
Fixed #3771 -- Modified the test runner to observe the --noinput argument controlling script interactivity. This means that test scripts can now be put in a buildbot environment. This is a backwards incompatible change for anyone that has written a custom test runner. Thanks for the suggestion, moof@metamoof.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-23 12:14:32 +00:00 |
Russell Keith-Magee
|
7cc2bf2f03
|
Fixed #4304 -- Modified sys.exit to os._exit to make sure development server quits when an error occurs attempting to bind to the requested port (e.g., if another server is already running). Thanks, Mario Gonzalez <gonzalemario@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-21 03:30:38 +00:00 |
Russell Keith-Magee
|
3fef1f4c8d
|
Fixed #4558 -- Modified XML serializer to handle whitespace better around None tags. Thanks to Bill Fenner <fenner@gmail.com> for the report and fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-20 12:07:58 +00:00 |
Adrian Holovaty
|
0827f4ac7e
|
Simplified the indent level in management.py _get_sql_model_create() by using a 'continue' statement rather than nesting everything in an 'if'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5726 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-20 06:34:26 +00:00 |
Adrian Holovaty
|
ac2b9f2a3f
|
Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-20 06:28:56 +00:00 |
Malcolm Tredinnick
|
c92ce31d60
|
Fixed #4898 -- Fixed a precendence problem when constructing HTTP Date header.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-17 04:22:11 +00:00 |
Malcolm Tredinnick
|
2679bc0304
|
Fixed #4845 -- Fixed some problems with Unicode usage and caching. Thanks,
Jeremy Dunck.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-16 09:36:10 +00:00 |
Malcolm Tredinnick
|
5dd9a2ab38
|
Fixed #4199 -- Changed date formatting in HTTP expires header to be spec
compliant. Thanks, Chris Bennett.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-07-16 03:50:22 +00:00 |