Adrian Holovaty
|
257f7090ef
|
magic-removal: Added Manager.__get__ method that forbids access by instances. Also added unit tests. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:44:54 +00:00 |
Adrian Holovaty
|
0438b6848b
|
magic-removal: Changed django.core.management.init to display full traceback if there's an error during database initialization
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:19:40 +00:00 |
Adrian Holovaty
|
d0c3aee64c
|
magic-removal: Small simplification of test_namespace assignment in runtests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-13 16:17:33 +00:00 |
Adrian Holovaty
|
17c2c4362a
|
magic-removal: Moved django/contrib/admin/models/admin.py to django/contrib/admin/models.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 05:51:32 +00:00 |
Adrian Holovaty
|
c6cdd4d7f6
|
magic-removal: Changed the way app_label is calculated
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 05:42:22 +00:00 |
Adrian Holovaty
|
683e075a01
|
magic-removal: Changed runtests.py to use new modeltests package and to import model classes directly, rather than magic modules
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 05:40:09 +00:00 |
Adrian Holovaty
|
750963bfc8
|
magic-removal: Added __init__.py to tests/modeltests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:13:59 +00:00 |
Adrian Holovaty
|
9b1dd36665
|
magic-removal: Moved model unit tests from 'testapp' package into 'modeltests' package, with each model test getting its own app
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1606 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 04:07:46 +00:00 |
Adrian Holovaty
|
0309650237
|
magic-removal: Changed Model.delete() not to use get_model_module()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:56:42 +00:00 |
Adrian Holovaty
|
82920f423d
|
magic-removal: Fixed a couple of bugs
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1604 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:47:34 +00:00 |
Adrian Holovaty
|
24cf934578
|
magic-removal: Fixed bugs in custom_methods unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:35:17 +00:00 |
Adrian Holovaty
|
141a5382d8
|
magic-removal: Fixed some bugs in unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 03:01:57 +00:00 |
Adrian Holovaty
|
c60ac8f480
|
magic-removal: Refactored method_get_many_to_many and method_set_many_to_many to be methods of Model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 02:56:36 +00:00 |
Adrian Holovaty
|
795ac34f3b
|
magic-removal: Changed ManyToOne, ManyToMany and OneToOne to store the model class, not the Options instance, as the 'to' attribute. Also refactored many-to-one lookup function to be a method of Model.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 02:40:29 +00:00 |
Adrian Holovaty
|
99431aae66
|
magic-removal: Fixed bug in [1598] -- get_image_width and get_image_height methods weren't being assigned correctly
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 01:54:02 +00:00 |
Adrian Holovaty
|
1926ff4b31
|
magic-removal: Added Manager class. Refactored module-level functions to be methods of Manager. Moved most model-method and module-function creation from the ModelBase metaclass to new a _prepare() method in both Model and Manager.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-12 01:32:32 +00:00 |
Adrian Holovaty
|
5f420e14a9
|
magic-removal: Added get_pub_date_list() unit tests to basic model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:57:14 +00:00 |
Adrian Holovaty
|
577ac01250
|
magic-removal: Added 'choices' model unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:22:49 +00:00 |
Adrian Holovaty
|
c1be782510
|
magic-removal: Changed model unit tests to use new Model.objects.* syntax instead of models.*
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-11 22:10:02 +00:00 |
Adrian Holovaty
|
69b82e1ca1
|
magic-removal: Merged to trunk [1593]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-10 22:19:05 +00:00 |
Adrian Holovaty
|
fb0638a349
|
magic-removal: Made Model __init__(), __eq__(), __ne__(), save() and delete() methods bona fide methods on the Model class, so they can be overridden.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-10 05:36:47 +00:00 |
Adrian Holovaty
|
f0dd6b86e1
|
Created magic-removal branch, from revision [1586] of trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1587 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 04:53:58 +00:00 |
Adrian Holovaty
|
63cf85b64d
|
Moved custom unit-test templatetag library into the unit test module itself, to fix errors when running the test module directly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1586 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 04:29:20 +00:00 |
Adrian Holovaty
|
4e7006856d
|
Fixed grammar error in docs from [1584]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1585 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:40:27 +00:00 |
Adrian Holovaty
|
e6745d3420
|
Fixed #857 -- Changed default session cookie name from hotclub to sessionid. Django is now 10% less pornish.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:39:31 +00:00 |
Adrian Holovaty
|
06a2dc42b2
|
Fixed #1032 -- CREATE TABLE SQL in Postgres now quotes column name in 'CHECK' clause. Thanks, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:32:45 +00:00 |
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
|
a8b3d67b7a
|
Fixed #975 -- JavaScript shortcut in raw_id_admin for ManyToManyFields no longer replaces existing values.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 03:00:57 +00:00 |
Adrian Holovaty
|
f6b90c8c2a
|
Fixed #977 -- Fixed timesince() utility. Thanks, pgross@thoughtworks.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:52:27 +00:00 |
Adrian Holovaty
|
d06a12406b
|
Fixed #998 -- Fixed edge-case bug in debug view for templates with only one line. Thanks, andy@jadedplanet.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:35:38 +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
|
661613e529
|
Fixed #1008 -- Added {{ block.super }} in change_form.html admin template. Thanks, Kieran
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:29:56 +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
|
dc2daff31f
|
Fixed inconsistent spacing in contrib.admin.views.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:16: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
|
cecd295187
|
Negligible quoting change to contrib/admin/templates/admin/change_form.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:15:23 +00:00 |
Adrian Holovaty
|
b625153b49
|
Fixed #992 -- Fixed bug in archive_month generic view leaving out the last day of the month. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 01:55:53 +00:00 |
Adrian Holovaty
|
8da17bacf3
|
Fixed #972 -- Improved docs for 'choices' model field option. Thanks, radek
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 01:53:30 +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 |
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 |