Malcolm Tredinnick
|
892202b319
|
Added workaround for loading duplicate model classes in management shell. Patch
from Curtis Thompson and Benjamin Slavin. Refs #1796.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-17 01:38:03 +00:00 |
Adrian Holovaty
|
de60cf04d0
|
Fixed #3299 -- Added 'site' to the list of INVALID_PROJECT_NAMES and improved the error message. Thanks for the patch, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4424 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-25 00:52:05 +00:00 |
Jacob Kaplan-Moss
|
dabf036604
|
Fixed #2452: comments can now be put within initial SQL files. Thanks, Pawel J. Sawicki.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-07 04:31:35 +00:00 |
Adrian Holovaty
|
41d11a685f
|
Fixed #2968 -- Changed arguments to __import__ to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-30 20:50:27 +00:00 |
Adrian Holovaty
|
4baeadb9a2
|
Fixed #2956 -- Made 'django-admin.py startproject' tolerant of filesystem arrangements that cannot accept file-permission changes. Thanks for the patch, masonsimon+django@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-27 02:19:32 +00:00 |
Adrian Holovaty
|
3536f89108
|
Fixed #2932 -- Added more details to the warning message in 'manage.py reset'. Thanks for the patch, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-24 22:21:55 +00:00 |
Russell Keith-Magee
|
afd9b87711
|
Fixed problem with debug message arguments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-09 05:55:04 +00:00 |
Russell Keith-Magee
|
8f91717c82
|
Modified sql_index function names to match pattern established by initial_data functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:58:33 +00:00 |
Russell Keith-Magee
|
f5087775b3
|
Refs #1828 -- Added creation of indexes as a step in syncdb. This is an interim solution; the long term solution requires a non-trivial refactoring of syncdb, install and the get_* calls in management.py. Thanks to mdt@emdete.de for the original report, and to Simon Greenhill for prodding me to an interim fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:46:11 +00:00 |
Russell Keith-Magee
|
b08a8dbb65
|
Cleaned up and clarified some log messages and docstrings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:23:49 +00:00 |
Russell Keith-Magee
|
d886e71f2b
|
Factored out per-model index generation code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 13:05:10 +00:00 |
Russell Keith-Magee
|
67eabb9299
|
Modified the default verbosity to be 1 (normal), and added some syncdb messages at verbosity 2.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 12:57:05 +00:00 |
Russell Keith-Magee
|
b5a7122408
|
Added ability to use --noinput flag for application reset.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 10:01:50 +00:00 |
Russell Keith-Magee
|
bf6257f1ee
|
Altered the order of arguments to the test function to match common practice in the rest of management.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-10-03 09:53:12 +00:00 |
Malcolm Tredinnick
|
0cc1815170
|
Fixed Python 2.3 compatibility problem in [3872].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-27 02:50:46 +00:00 |
Malcolm Tredinnick
|
6068f3e4cb
|
Reintroduced the changes from [3855] with more flexible handling of version
strings. Refs #2188, #2827.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-27 02:42:31 +00:00 |
Adrian Holovaty
|
38d80f8894
|
Fixed #2827 -- Reverted [3855]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 16:11:13 +00:00 |
Malcolm Tredinnick
|
4e76727fec
|
Fixed #2188 -- Raise an error when using long CharFields in combination with
older MySQL versions. Thanks, Fraser Nevett <mail@nevett.org> .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 10:46:34 +00:00 |
Malcolm Tredinnick
|
4ed82677be
|
Fixed #2783 -- Fixed one-to-one fields to work with any primary key data type
in the related model. Thanks, Joel Heenan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-26 02:58:36 +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
|
6dacb3d10b
|
Fixed #2729 -- Handle initial SQL with different line-ending styles (Windows
vs. Unix vs. Mac). Thanks, Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-25 07:36:46 +00:00 |
Malcolm Tredinnick
|
ff47dc6ba0
|
Fixed #2600 -- Added an option to allow serving admin media from a custom path
with dev server. Thanks, adurdin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-24 08:17:47 +00:00 |
Malcolm Tredinnick
|
6cdd341dab
|
Fixed #2425 -- Call validate() as part of generating SQL in order to catch a
few more errors. Thanks, Simon Greenhill.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-23 11:13:43 +00:00 |
Malcolm Tredinnick
|
dc39762fde
|
Fixed #2578 -- Give a more accurate error message for admin.list_display_links
at model validation time. Patch from Christopher Lenz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-22 12:22:32 +00:00 |
Adrian Holovaty
|
086992c739
|
Fixed #2689 -- Got 'manage.py diffsettings' working again. Thanks for the patch, Jeong-Min Lee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-11 18:42:56 +00:00 |
Russell Keith-Magee
|
5a9839c547
|
Fixes #2653 -- Modified related field utility methods to return None as the related name for symmetrical m2m fields on self. Updated validators and unit tests to account for the new behavior.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-07 13:29:56 +00:00 |
Jacob Kaplan-Moss
|
f89b9c8654
|
Fixed verbosity check in installing initial data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-28 20:44:35 +00:00 |
Russell Keith-Magee
|
77ab11be45
|
Refs #2333 - Added 'test' target to django-admin script. Includes addition of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-27 12:46:39 +00:00 |
Adrian Holovaty
|
20070d9117
|
Fixed #2372 -- manage.py runfcgi no longer ignore LANGUAGE_CODE. Thanks, ludo@qix.it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-12 05:55:28 +00:00 |
Adrian Holovaty
|
e5bf574678
|
Changed inspectdb to *not* trim trailing 's' from database table name to create class name, because Django no longer does that as of magic-removal
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 15:32:35 +00:00 |
Malcolm Tredinnick
|
01983c8fc3
|
Moved the space check from r3549 to before the Python keyword check so that
perverse column names like "fin ally" don't fall through the cracks.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-11 02:22:42 +00:00 |
Adrian Holovaty
|
caa51f4444
|
Fixed #2517 -- Improved inspectdb to handle table column names that contain spaces. Thanks, Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 16:58:26 +00:00 |
Malcolm Tredinnick
|
cba451c940
|
Fixed #2469 -- Fixed the constraint names in the sqlreset output (again!).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-10 03:48:34 +00:00 |
Malcolm Tredinnick
|
7a22a5194c
|
Fixed #2469 -- Made the "drop index" constraint names match those we create in the first place.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 11:22:14 +00:00 |
Malcolm Tredinnick
|
5ca28474f9
|
Fixed #2260 -- fixed a problem where some foreign key references were being
omitted during a "reset" or "sqlreset". Thanks, marcink@elksoft.pl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-09 07:16:35 +00:00 |
Malcolm Tredinnick
|
ae83871580
|
Fixed #2491 -- Pass the project directory back from setup_environ so that we
can set up the "startapp" command. Thanks, marcink@elksoft.pl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-06 10:35:25 +00:00 |
Malcolm Tredinnick
|
27bf70dcb9
|
Moved the environment setup into a method that can be called from other scripts.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-06 02:29:38 +00:00 |
Adrian Holovaty
|
350a4a4592
|
Fixed #2467 -- Improved model validator to check date_hierarchy. Thanks, Simon Greenhill
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-02 15:05:51 +00:00 |
Malcolm Tredinnick
|
fa5e0562dc
|
Fixed #2257 -- make constraint names unique across all table/column
combinations (for the benefit of MySQL).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-01 21:46:51 +00:00 |
Adrian Holovaty
|
aaa3cc0ea3
|
Changed output of django-admin.py --version to use a hyphen instead of parenthesis, to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-27 17:03:35 +00:00 |
Jacob Kaplan-Moss
|
a926046ba6
|
Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 20:39:17 +00:00 |
Jacob Kaplan-Moss
|
17d0bd1512
|
Fixed a bunch of spurious imports, typos, and other small errors turned up by a pass through PyFlakes. This covers about the first third of the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 17:11:13 +00:00 |
Russell Keith-Magee
|
bb1cb76dfb
|
Fixed keyboard slip that was accidentally committed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 03:56:06 +00:00 |
Russell Keith-Magee
|
edf68bede5
|
Cleanup of management.py; replaced uses of 'klass' with 'model', and normalized some variable naming in get_sql_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-21 03:55:07 +00:00 |
Malcolm Tredinnick
|
0016547e9b
|
Fixed #2257 -- MySQL wants constraint names to be unique per-database, so fixed
the SQL generation to ensure this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-19 10:14:43 +00:00 |
Russell Keith-Magee
|
8c705f02a9
|
Added command line flag to disable use of auto-reloader on development server.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 05:43:26 +00:00 |
Russell Keith-Magee
|
9bea530c33
|
Disable use of terminal colors when django-admin is run on a Pocket PC.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-14 05:26:55 +00:00 |
Adrian Holovaty
|
c1847294b8
|
Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-10 04:16:26 +00:00 |
Malcolm Tredinnick
|
5404e6e93b
|
Fixed #2285 -- Tweaked the error message after model errors at "syncdb" time so
that we don't report an app name of "None".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-05 05:11:20 +00:00 |
Malcolm Tredinnick
|
a778c9de47
|
Fixed #1578 -- fixed a corner-case where we still wanting core=True attributes
on a model that was not being edited inline.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-07-04 10:48:07 +00:00 |