Commit Graph

734 Commits

Author SHA1 Message Date
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
Georg Bauer 4aedb7386a fixes #1029 - updated 'gl' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 15:15:10 +00:00
Georg Bauer 6e13e65568 fixes #1025 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 08:44:58 +00:00
Adrian Holovaty 9832abf6b4 Fixed #1022 -- Fixed bug in admin when deleting models with OneToOne. Thanks, Eric Moritz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 23:36:31 +00:00
Adrian Holovaty 668e8b3df9 Added 'It worked' page, in a empty_urlconf() view in views/debug.py. It's called if the URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 06:02:09 +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 7106c68e59 Fixed #985 -- Fixed admin docs behavior if docutils isn't installed. Thanks, Tim Keating
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:11:19 +00:00
Adrian Holovaty 4ed33777be Fixed #926 -- Fixed spacing in admin index template/CSS to handle wider words
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:04:07 +00:00
Georg Bauer cef2ffd7e1 fixes #1011 - updated 'es' translation for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 23:18:12 +00:00
Georg Bauer 48b67fe4bb fix for a problem with djangojs missing for some languages. Thx Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:56 +00:00
Georg Bauer 631d127bd2 added two more message IDs for translations to dateparse.js - month names and day names in the parser. Updated existing djangojs.po files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:20 +00:00
Georg Bauer f9941eca03 fixes #1005 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 17:59:52 +00:00
Georg Bauer 7119514fed fixes #1001 - new 'es' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 16:49:55 +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
Adrian Holovaty 85c369001b Debug 400 page now displays special error message if your URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:04:56 +00:00
Adrian Holovaty 54618dc0fe Improved django.contrib.admin.views.main to raise ImproperlyConfigured if admin app isn't in INSTALLED_APPS. This avoids one possibility of an obscure error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 04:55:33 +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
Georg Bauer 9aa1235779 fixes #997 - updated 'sr' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 16:28:29 +00:00
Adrian Holovaty 79be9b2e7d Changed CommonMiddleware so it doesn't assume HTTP_HOST is set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 15:25:55 +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 74d69af4e9 fixed #995 - updated 'it' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 20:53:16 +00:00
Georg Bauer 91bd17eb85 fixes #993 - updated 'cy' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 19:33:37 +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 9cdcef97e1 added more translation hooks for calendar (month names and day first characters where still missing) and updated translation files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 16:24:42 +00:00
Georg Bauer 2565d41fb5 fixes #991 - updated 'sv' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 15:25:19 +00:00
Georg Bauer 4040b99b5c fixes #990 - updated 'zh_CN' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 14:12:12 +00:00
Georg Bauer 7dbff908b5 updated all message files for possible new message IDs and new line numbers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:53:26 +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
Georg Bauer 77e8f50633 fixes #988 - new djangjs translation for 'it'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:47:13 +00:00
Georg Bauer eaed1a7ddb limit packages in javascript_catalog to settings.INSTALLED_APPS and 'django.conf'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:57:46 +00:00
Georg Bauer a841530a13 first take at admin JavaScript translation - translation hooks for the calendar and time picker are added and the german translation is updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:30:14 +00:00
Georg Bauer 5917fdcf2d added infrastructure code for later javascript translating (currently not active)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:06:16 +00:00
Georg Bauer 946bd1e370 again fix for the popen3 calls in make-messages.py - thx. Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 22:53:33 +00:00
Georg Bauer 90ff261fbc added 'b' modifier to popen3 calls in make-messages.py to help getting it to run with windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 19:04:31 +00:00
Adrian Holovaty 027c47b9b4 Fixed #983 -- Made 'django-admin.py --help' output easier to read. Thanks, Oliver
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-02 20:58:35 +00:00
Georg Bauer c75b1e2b82 fixes #976 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 14:57:54 +00:00
Georg Bauer f920559cda fixes #956, #969 and #955 - updated 'gl', 'sk' and 'es' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 10:40:07 +00:00
Adrian Holovaty b5288e732c Fixed #951 -- Admin bookmarklets no longer assume admin is rooted at '/'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 07:03:23 +00:00
Adrian Holovaty 15ea158c96 Fixed #893 -- Admin 'change password' and 'log out' links no longer assume admin lives at '/admin/'. Thanks, deric@monowerks.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:52:16 +00:00
Adrian Holovaty 3bf29d2184 Fixed #816 -- FileFields now work in the create_update generic view. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:36:47 +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 bf0f6ec3b4 Added allow_empty hook to archive_index date-based generic view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 22:03:50 +00:00