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 |
Russell Keith-Magee
|
2adbe11678
|
Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-27 15:21:43 +00:00 |
Russell Keith-Magee
|
23c24fc08b
|
Fixes #1812 -- Added model validity checks to ensure that models.py exists, and has been successfully imported for all INSTALLED_APPS. Previous behaviour was to silently ignore empty/problem models, which resulted in the display of an admin page that doesn't display a supposedly installed model. Thanks to Ian Holsman for the original report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-25 04:24:15 +00:00 |
Russell Keith-Magee
|
0d4b5b9b4a
|
Fixed #1662 -- Added resolver for string-form model references for models that have already been loaded, with tests to validate both forward and backward referenced model names. Light refactoring of model loading to make regression tests behave more like normal model loading. Also clarifies the text of some validation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-23 04:37:00 +00:00 |
Malcolm Tredinnick
|
ba22f55aa2
|
Fixed #1928 -- Correctly create foreign key references when there are multiple
keys on multiple models. Based on a patch from Geert Vanderkelen and some
diagnosis from hornero.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-21 03:39:47 +00:00 |
Malcolm Tredinnick
|
92571b0d48
|
Fixed #2119 -- fixed problems with splitting SQL statements into separate
statements. Uses a patch from eaw@woudy.org and some contributions from
jpellerin@gmail.com. Also fixes #2034 and #1935.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 08:00:44 +00:00 |
Malcolm Tredinnick
|
3e97535907
|
Fixed #2161 -- handle trailing newlines in initial SQL data. Includes
regression test. Thanks to russellm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 07:12:45 +00:00 |
Adrian Holovaty
|
32228d2031
|
Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-20 05:24:19 +00:00 |
Jacob Kaplan-Moss
|
bca5327b21
|
Added generic foreign key support to Django. Much thanks to Ian Holsman and
Luke Plant -- most of this code is theirs. Documentation is to follow; for now
see the example/unit test. Fixes #529.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-16 19:18:30 +00:00 |
Adrian Holovaty
|
22da62f239
|
Fixed #1503 -- Improved model validator to throw an error if a model doesn't manually define a primary key and has a field named 'id', which conflicts with the auto-primary-key convention. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:22:42 +00:00 |
Adrian Holovaty
|
0b92bd11db
|
Removed legacy deprecated_args check from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 04:15:18 +00:00 |
Adrian Holovaty
|
1926428a55
|
Fixed #2098 -- Loosened validation for model 'ordering' parameter by allowing periods. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:47:53 +00:00 |
Adrian Holovaty
|
f3f002b161
|
Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-07 02:46:08 +00:00 |
Jacob Kaplan-Moss
|
42a34423f2
|
Fixed stupid bug in [3802]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:25:12 +00:00 |
Jacob Kaplan-Moss
|
55b6559b0e
|
Small refactoring of django.core.management to allow a custom argv to be passed into execute_manager(). This makes custom manage scripts with extra options possible
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-05 15:20:47 +00:00 |
Adrian Holovaty
|
88d215f702
|
Fixed #2073 -- Improved 'manage.py shell' not to pass argv to IPython if it's installed. Thanks, jpellerin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-06-02 19:04:09 +00:00 |
Adrian Holovaty
|
d3b1a9ba39
|
Fixed #2015 -- Fixed sqlinitialdata regexp to handle empty string insertions. Thanks, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-30 01:11:27 +00:00 |
Adrian Holovaty
|
0fd9eef86f
|
Fixed #1935 -- Initial SQL data now works in SQLite if there are multiple statements. Thanks, jpellerin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-26 05:20:21 +00:00 |
Malcolm Tredinnick
|
816b65f260
|
Prevent people from using "startapp" to create apps with the same name as their project. Might stop some of the accidents.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-19 07:40:06 +00:00 |
Adrian Holovaty
|
c63372f3c4
|
Fixed #1819 -- inspectdb no longer puts null=True for TextField and CharField. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-09 15:36:14 +00:00 |
Adrian Holovaty
|
058ab898b0
|
Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 03:29:22 +00:00 |
Adrian Holovaty
|
cca0e7346d
|
Fixed #1762 -- Fixed Windows error in django.core.management. Thanks, ross.lazarus@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-05 04:08:14 +00:00 |