Adrian Holovaty
|
7d0bcc5727
|
Fixed exception-handling bug in defaulttags SsiNode. Thanks, Henryk on IRC
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:30:07 +00:00 |
Adrian Holovaty
|
5fe45cb0f8
|
Fixed #967 -- 'tables' parameter in DB API is now only quoted if needed. Thanks, Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:08:51 +00:00 |
Adrian Holovaty
|
99f0f414d5
|
Fixed #1006 -- Fixed error when using ChangeManipulator in a model with raw_id_admin on ForeignKey. Thanks, Gustavo Picon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:32:59 +00:00 |
Adrian Holovaty
|
58220b17d6
|
Fixed #1017 -- Admin now selects single choice for ForeignKey fields if only one choice is available. Thanks for reporting, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:25:17 +00:00 |
Adrian Holovaty
|
9e2b463baf
|
Fixed inconsistent spacing in core/meta/fields.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:15:54 +00:00 |
Adrian Holovaty
|
36f1aef5ff
|
Fixed #927 -- Non-integer primary keys save() method now works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 01:46:14 +00:00 |
Adrian Holovaty
|
374a6eaa4c
|
Fixed #1009 -- Fixed small typo in HasAllowableSize validator. Thanks, bsoltani
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-07 05:13:18 +00:00 |
Adrian Holovaty
|
28263d6675
|
Added conf/project_template/manage.py, which is a light wrapper around django-admin.py that gets installed in each project with 'startproject'. It takes care of the PYTHONPATH and DJANGO_SETTINGS_MODULE business automatically.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:53:31 +00:00 |
Adrian Holovaty
|
17108bc190
|
Negligible capitalization change in django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:38:56 +00:00 |
Adrian Holovaty
|
50cac9d276
|
Factored out django.core.management ACTION_MAPPING into DEFAULT_ACTION_MAPPING, so execute_from_command_line now takes an action_mapping parameter (DEFAULT_ACTION_MAPPING by default)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:35:07 +00:00 |
Adrian Holovaty
|
6d210ef403
|
Moved all logic from django-admin.py into django.core.management, into a new execute_from_command_line() function, so it can be called from other scripts. Also improved createproject to disallow 'django' and 'test' as project names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:17:52 +00:00 |
Jacob Kaplan-Moss
|
0020326520
|
Fixed bug in get_next_by_FOO/get_previous_by_FOO methods that caused a database error when using those methods along with joining lookup contraints (i.e. "obj.get_next_by_pub_date(related__id__in=some_list)")
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-05 17:40:19 +00:00 |
Adrian Holovaty
|
3cd7755ec6
|
Fixed #982 -- Added '__ne__' support for Django models, which apparently wasn't working on Python 2.3 (?)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-05 03:39:18 +00:00 |
Georg Bauer
|
c464e57da9
|
reverted changes from [1534] and [1536] regarding ticket #966
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 18:54:44 +00:00 |
Georg Bauer
|
4ef077c593
|
fixes #989 - new 'no' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 13:48:50 +00:00 |
Adrian Holovaty
|
9ede371c85
|
Fixed #971 -- inspectdb for SQLite now introspects field types.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:32:25 +00:00 |
Adrian Holovaty
|
38b8d18091
|
Fixed #965 -- 'django-admin.py sqlsequencereset' now includes m2m tables. Thanks for reporting, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:09:36 +00:00 |
Adrian Holovaty
|
a58dc0dbbd
|
Fixed #452 -- Fixed bug in generated DB API for models that have two ManyToManyFields to the same related model.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:02:45 +00:00 |
Adrian Holovaty
|
9e2eccc1ab
|
Improved model validator to throw error if a model has two ManyToMany relationships to the same model and doesn't set 'singular'. Refs #452.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 05:46:18 +00:00 |
Adrian Holovaty
|
e0f0532305
|
Small fix to a comment in django.core.meta.init
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 05:28:05 +00:00 |
Jacob Kaplan-Moss
|
c28daf2289
|
Fixed #757: manually set AutoField values are now respected; also added unit test to verify the correct behavior. Thanks, cygnus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 03:06:30 +00:00 |
Adrian Holovaty
|
9541d7a7c7
|
Fixed #251 -- Added OR support to queries, via the new 'complex' DB API keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 06:14:05 +00:00 |
Adrian Holovaty
|
991bb61242
|
Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 04:08:46 +00:00 |
Adrian Holovaty
|
3cb20c45c7
|
Moved Apache auth handler to django/contrib/auth/handlers/modpython.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 01:14:23 +00:00 |
Adrian Holovaty
|
e2e98aff6a
|
Fixed #962 -- Gave filter-registration decorator a return statement. Thanks, Kieran
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 00:08:56 +00:00 |
Jacob Kaplan-Moss
|
ae76186a4f
|
Added mod_python authentication handler and document on authenticating against Django's auth database from Apache
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 18:26:07 +00:00 |
Adrian Holovaty
|
29d1598cce
|
Added a GOTCHA comment in django/core/template/init.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 05:53:05 +00:00 |
Adrian Holovaty
|
1ce5ef6166
|
Fixed error in raw_id_admin on ManyToManyFields caused by [1434] -- they weren't working.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 05:22:51 +00:00 |
Adrian Holovaty
|
de7a336486
|
Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 02:05:32 +00:00 |
Adrian Holovaty
|
539e5af17c
|
Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused database_check functionality. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-29 01:04:28 +00:00 |
Adrian Holovaty
|
9e3efbecf8
|
Restored {% debug %} template tag, which was inadvertently removed in [1443]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-28 20:48:08 +00:00 |
Adrian Holovaty
|
e85b071e47
|
Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each use in shell scripts. Thanks for the patch, bjorn@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-28 02:57:38 +00:00 |
Adrian Holovaty
|
cc3660c07d
|
Fixed #878 -- URLconf regex captures no longer have to be named groups. Old URLconfs (with named groups) still work. This is backwards-incompatible if you've defined custom middleware with a process_view function. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 22:08:51 +00:00 |
Adrian Holovaty
|
8c3b41c3e9
|
Removed unnecessary load_template_source() function in django/core/template/loader.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 21:37:41 +00:00 |
Adrian Holovaty
|
3cf5d034db
|
Fixed #931 -- Fixed unordered_list template filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 19:38:07 +00:00 |
Adrian Holovaty
|
2fb95f1de6
|
Changed template library system so that it looks for a module-level variable named 'register' rather than the first instance of template.Library it finds
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 16:43:56 +00:00 |
Adrian Holovaty
|
fc102791d8
|
Fixed bug in [1443] -- slice filter was registered as 'slice_'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 01:55:55 +00:00 |
Georg Bauer
|
0e9081e6de
|
loading of templates in includes now reraises the template loading exception instead of returning nothing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 00:26:16 +00:00 |
Georg Bauer
|
53330a9274
|
unknown sources are now shown correctly as <unknown source> (before it was shown as a tag)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 00:01:11 +00:00 |
Adrian Holovaty
|
c83fa94391
|
Fixed bug in [1443] -- Missing Context import in django.core.template.loader
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 23:11:19 +00:00 |
Adrian Holovaty
|
adef71d2c4
|
Fixed bug in [1443] -- renamed compile_filters call to compile_filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 23:10:09 +00:00 |
Adrian Holovaty
|
ac91a22ec2
|
Fixed bug in [1443] -- a decorator call was left in
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 23:07:09 +00:00 |
Adrian Holovaty
|
3ede006fc9
|
Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 22:46:31 +00:00 |
Adrian Holovaty
|
5676d5b068
|
Fixed #923 -- Made WSGI handler tolerant of no QUERY_STRING in os.environ. Thanks, michael.mcewan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 18:41:29 +00:00 |
Adrian Holovaty
|
9dda4abee1
|
MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a separate commit)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 21:20:09 +00:00 |
Adrian Holovaty
|
69f8840900
|
Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. Thanks, ye7cakf02
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 04:27:50 +00:00 |
Adrian Holovaty
|
807b406859
|
Added translation strings to django/core/meta/fields.py. Taken from new-admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 02:37:57 +00:00 |
Adrian Holovaty
|
9898c4ae02
|
Added translation strings to core/formfields.py. Taken from new-admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 02:32:37 +00:00 |
Adrian Holovaty
|
c5e5c0fc35
|
Fixed #625 -- Added template-tag decorators simple_tag and inclusion_tag. Taken from new-admin. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 00:54:40 +00:00 |
Adrian Holovaty
|
22746d32a5
|
Added a get_template_sources generator function to filesystem and app_directories template loaders, so template-loader debugger can hook into it. Refs #892.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 21:14:42 +00:00 |