Robert Wittams
|
8b857e8044
|
Changes to get admin semi-working
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 23:26:04 +00:00 |
Adrian Holovaty
|
bc1cef4e7b
|
magic-removal: Merged to [1671]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 03:27:45 +00:00 |
Adrian Holovaty
|
3e294964e9
|
magic-removal: Changed project_template not to create an 'apps' directory. Apps can go directly in the project directory, to avoid unnecessary directory depth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 01:22:59 +00:00 |
Adrian Holovaty
|
00d434999e
|
magic-removal: Changed app_template to create models.py instead of models package
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 01:21:55 +00:00 |
Adrian Holovaty
|
f34d4fad4b
|
magic-removal: More conversion of old-style module imports to new-style
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 01:04:23 +00:00 |
Adrian Holovaty
|
2478533c82
|
magic-removal: Changed get_list_or_404 to take the model class, not the magic model module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 01:01:23 +00:00 |
Adrian Holovaty
|
a56ba15f73
|
magic-removal: Changed get_object_or_404 to take the model class, not the magic model module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 01:00:22 +00:00 |
Adrian Holovaty
|
eaeb1acebc
|
magic-removal: Moved django.contrib.comments models from a package to a module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:55:22 +00:00 |
Adrian Holovaty
|
036611724e
|
magic-removal: Converted a bunch of stuff to use the new model import syntax
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:53:34 +00:00 |
Robert Wittams
|
9701daeb72
|
Allow importing of nested model modules.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:47:30 +00:00 |
Adrian Holovaty
|
a57b462757
|
magic-removal: Removed django/views/rss, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:34:40 +00:00 |
Adrian Holovaty
|
bdb1776a8f
|
magic-removal: Removed django/views/core, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:33:33 +00:00 |
Adrian Holovaty
|
8f696be3b7
|
magic-removal: Removed get_model_module() call in django.db.models.fields
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:13:09 +00:00 |
Adrian Holovaty
|
867fdd5084
|
magic-removal: Removed get_model_module() call in django.contrib.admin.filterspecs
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:12:51 +00:00 |
Adrian Holovaty
|
dac14ee6a4
|
magic-removal: Changed django.contrib.admin.templatetags.log to use new-style model import
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:03:41 +00:00 |
Adrian Holovaty
|
13edf04d6c
|
magic-removal: Fixed bug in django.core.management.validate -- it used get_model_module
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:01:51 +00:00 |
Adrian Holovaty
|
2e9a29c307
|
magic-removal: Negligible spacing change
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 23:38:31 +00:00 |
Robert Wittams
|
2961e0cc58
|
magic-removal: Fixed m2m set method
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 23:37:21 +00:00 |
Robert Wittams
|
24c2187082
|
magic-removal: fix model module lookup
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 22:48:15 +00:00 |
Adrian Holovaty
|
96afbcff43
|
magic-removal: Fixed bug in custom_pk unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:50:37 +00:00 |
Robert Wittams
|
765abe8f70
|
magic-removal: related classes methods now added
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 21:30:49 +00:00 |
Adrian Holovaty
|
ecc57b0b07
|
magic-removal: More various fixes
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 19:12:47 +00:00 |
Adrian Holovaty
|
47a0ec00f2
|
magic-removal: Converted core and contrib models to use managers, and fixed some API code in django.middleware.sessions and django.contrib.admin.views.main
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 19:07:41 +00:00 |
Adrian Holovaty
|
e18d87f84e
|
magic-removal: Implemented hook for custom managers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:49:48 +00:00 |
Adrian Holovaty
|
af96c19be2
|
magic-removal: Added custom_managers model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:41:48 +00:00 |
Adrian Holovaty
|
ebcc0dad23
|
magic-removal: Removed subclassing model unit tests for now
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 18:03:33 +00:00 |
Adrian Holovaty
|
9027ed6ea6
|
magic-removal: Fixed various breakage due to removal of magic modules. Several bits of calling code still use magic modules.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 07:02:42 +00:00 |
Adrian Holovaty
|
a5489c964e
|
magic-removal: Fixed syntax error in django.contrib.flatpages.models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:41:10 +00:00 |
Adrian Holovaty
|
31e500d750
|
magic-removal: Moved django.contrib.redirects models to a models.py file rather than a models package
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:40:39 +00:00 |
Adrian Holovaty
|
7be28246ed
|
magic-removal: Moved django.contrib.flatpages models to a models.py file rather than a models package
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:40:22 +00:00 |
Adrian Holovaty
|
9f6f675e7b
|
magic-removal: More cleanup due to django.db move
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:30:14 +00:00 |
Adrian Holovaty
|
aecff3e245
|
magic-removal: Various cleanup and moving, with respect to the recent django.core.db -> django.db move
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 06:24:32 +00:00 |
Adrian Holovaty
|
394ad9aa7f
|
magic-removal: Moved the rest of django/core/db to django/db/backends
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:51:47 +00:00 |
Adrian Holovaty
|
295f00d099
|
magic-removal: Moved django/core/db/__init__.py to django/db/__init__.py and cleaned it up
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:37:28 +00:00 |
Adrian Holovaty
|
e1bcf1f311
|
magic-removal: Removed django/db/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:33:25 +00:00 |
Adrian Holovaty
|
1036a4ae10
|
magic-removal: Renamed wrapper.py in each db backend to base.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:22:25 +00:00 |
Adrian Holovaty
|
6928f18493
|
magic-removal: Moved django.core.db.backends to django.db.backends
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:21:44 +00:00 |
Adrian Holovaty
|
d0fabc0499
|
magic-removal: Moved django.core.meta to django.db.models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 05:02:51 +00:00 |
Adrian Holovaty
|
55933c86e7
|
magic-removal: Removed bin/validate.py -- it wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:55:15 +00:00 |
Adrian Holovaty
|
16f354236a
|
magic-removal: Removed unnecessary import in runtests.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:47:09 +00:00 |
Adrian Holovaty
|
0e5b7d88f2
|
magic-removal: Commented-out django/models/__init__.py because it's no longer used
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:30:33 +00:00 |
Adrian Holovaty
|
746946375b
|
magic-removal: Changed _get_cached_row to take klass, not opts
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:27:52 +00:00 |
Adrian Holovaty
|
464b638d90
|
magic-removal: Removed module_name calls in model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:25:46 +00:00 |
Adrian Holovaty
|
e8db0b01d2
|
magic-removal: Removed has_related_links Model parameter
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:19:54 +00:00 |
Adrian Holovaty
|
81bd41f23e
|
magic-removal: Changed Model metaclass to no longer create magic modules. Shed a single tear.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 04:03:39 +00:00 |
Adrian Holovaty
|
6493164e91
|
magic-removal: Removed _orig_init_args hack in Options class. It was necessary for model subclassing and is no longer necessary.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:54:11 +00:00 |
Adrian Holovaty
|
4cb3e7279c
|
magic-removal: Added support for properties (and any other arbitrary attributes on models). This required making Model a new-style class, which required some reordering of code. Also removed replaces_module support, support for model subclassing, and default manipulators.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:52:29 +00:00 |
Adrian Holovaty
|
710d865b9d
|
magic-removal: Changed runtests.py to fix import-order error in overriding settings.INSTALLED_APPS
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:50:46 +00:00 |
Adrian Holovaty
|
8d4f9f73c8
|
magic-removal: Improved 'properties' model unit tests to test for setting attribute on a property
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:36:20 +00:00 |
Adrian Holovaty
|
bac086ba43
|
magic-removal: Added 'properties' model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-14 03:29:58 +00:00 |