Commit Graph

1589 Commits

Author SHA1 Message Date
Joseph Kocherhans 7e3abb4c35 magic-removal: Updated tests to reflect new location of django.utils.httpwrappers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 21:46:32 +00:00
Joseph Kocherhans 36566e0ab1 magic-removal: Moved django.utils.httpwrappers to django.http and updated dependencies.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 21:45:38 +00:00
Adrian Holovaty 8013f76a40 magic-removal: Merged to [1903]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 05:07:38 +00:00
Joseph Kocherhans 8f42a92465 magic-removal: Fixed breadcrumb links for add forms in the admin system.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 22:15:46 +00:00
Joseph Kocherhans 3215cc769b magic-removal: updated django.views.auth.login to reflect new location of sites and auth.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 21:00:39 +00:00
Joseph Kocherhans 67a3f9d0c5 magic-removal: updated comments templatetags to use django.contrib.contenttypes and new-style (magic-less) models classes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 20:39:45 +00:00
Joseph Kocherhans f5bca32553 magic-removal: updated reference to django.models.sites in django.contrib.admin.views.template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 20:28:05 +00:00
Joseph Kocherhans 945cae9aae magic-removal: removed django.models.core. It should no longer be needed as of [1888].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:33:14 +00:00
Joseph Kocherhans 78abbaff9b magic-removal: updated MIDDLEWARE_CLASSES of the settings.py template to reflect the new location of the session middleware. See [1866] for details on the move.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:31:39 +00:00
Joseph Kocherhans af1f95bc31 magic-removal: added auth, contenttypes, sessions, and sites to INSTALLED_APPS in the default settings.py template. They need to be there for django-admin.py init to run successfully.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:29:34 +00:00
Joseph Kocherhans e65f226623 magic-removal: updated django-admin.py init and init-minimal to install django.contrib.contenttypes. init-minimal does so because it is run before the tests, and the tests require django.contrib.contenttypes to be installed. This should be revisited. See the comments in django.core.management.init_minimal for details.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:23:30 +00:00
Joseph Kocherhans 6cdb3c57d8 magic-removal: updated (most) dependencies to reflect new location of django.models.core Package and ContentType.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:20:06 +00:00
Joseph Kocherhans 24f8e94563 magic-removal: added django.contrib.contenttypes in anticipation for move from django.models.core
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 18:07:01 +00:00
Russell Keith-Magee 0389e6261b magic-removal: Cleaned up get_in_bulk() and __get_date_list() DB queries to match documentation and improve error checking.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 14:34:17 +00:00
Russell Keith-Magee dde6963869 magic-removal: Fixed #1133 -- Added ability to use Q objects as args
in DB lookup queries.


git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 11:01:38 +00:00
Adrian Holovaty e9a13940d3 magic-removal: Merged to [1878]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:57:26 +00:00
Adrian Holovaty 8b1662a185 magic-removal: Changed 'reserved_names' model unit tests to add tests that get_date_extract_sql and get_date_trunc_sql properly escape table and column names
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:48:02 +00:00
Adrian Holovaty 1994ebb811 magic-removal: Merged to [1875]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:38:19 +00:00
Adrian Holovaty aa2da5f4de magic-removal: Added 'db_table' for Site model to restore backwards compatibility until we decide for certain that the table should be renamed
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:25:10 +00:00
Adrian Holovaty 5df59f478e magic-removal: Merged to [1872]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:55:23 +00:00
Adrian Holovaty 49fa5cbf1f magic-removal: Changed redirects models.py to reflect new location of Site model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:40:41 +00:00
Adrian Holovaty 2b8f54fa33 magic-removal: Changed flatpages models.py to reflect new location of Site model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:33:13 +00:00
Adrian Holovaty ca4aaca109 magic-removal: Moved session middleware from django/middleware/sessions.py to django/contrib/sessions/middleware.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 18:28:38 +00:00
Jacob Kaplan-Moss 1b0ccdce17 Moved admin options into inner "class Admin." Also refactored the model code so
that models.fields.Admin became models.options.AdminOptions.  This means that
old code that uses "admin = models.Admin()" will now break until it's replaced
with the new syntax.

(You can still use "admin = meta.AdminOptions(...)" if you care to, but I don't
see why.)


git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 15:56:51 +00:00
Jacob Kaplan-Moss 8c07571a15 magic-removal: fixed django.contrib.comments to work with the new location of auth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 15:10:08 +00:00
Russell Keith-Magee ea35b35a14 magic-removal: Fixes #1052 -- Added a 'weeks' fidelity to strings returned by timesince()/timeutil().
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 13:17:36 +00:00
Adrian Holovaty f998c7bcc6 magic-removal: Fixed #1186 -- Fixed problem resolving primary key in some 'pk' database queries. Also lightly refactored query-parsing code. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 06:16:05 +00:00
Adrian Holovaty 2bc39d88e6 magic-removal: Changed get_all_related_many_to_many_objects to use caching. Refs #1186. Thanks, Russ
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 06:04:44 +00:00
Adrian Holovaty b23b39342b magic-removal: Merged to [1853]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 05:56:45 +00:00
Joseph Kocherhans d22d53caf0 magic-removal: django-admin.py init-minimal works now.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 23:51:31 +00:00
Joseph Kocherhans fbb47dbd9d magic-removal: django-admin.py init now installs django.contrib.auth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 23:43:20 +00:00
Joseph Kocherhans 4d6ab8b308 magic-removal: removed django.models.auth and updated dependencies. django.models.auth is now django.contrib.auth.models.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 23:42:07 +00:00
Joseph Kocherhans 62ee6fac3b magic-removal: added models to django.contrib.auth in preparation for move from django.models.auth.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 23:37:54 +00:00
Joseph Kocherhans 1091c18c39 magic-removal: django-admin.py init now installs django.contrib.sessions and django.contrib.sites. Also added init_minimal and changed runtests to use it. Note that init_minimal is not available as a django-admin.py command yet.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:45:00 +00:00
Joseph Kocherhans 33451f2172 magic-removal: Removed Sites from django.models.core and updated dependencies.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:29:01 +00:00
Adrian Holovaty c4076a4314 magic-removal: Fixed some bugs in User.get_group_permissions()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:18:50 +00:00
Joseph Kocherhans 4e713af133 magic-removal: Added django.contrib.sites in preparation for moving it out of django.models.core.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:18:19 +00:00
Jacob Kaplan-Moss 548ee3795b magic-removal: fixed a Python2.4-ism in db.models.manipulators (use of keywords to list.sort)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:10:35 +00:00
Jacob Kaplan-Moss 037a6ede40 Oops, removed commented-out code from [1839]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:06:50 +00:00
Jacob Kaplan-Moss 84b7590ba6 magic-removal: cleaned up edit-inline tabular interface in preparation for new edit-inline interface (thanks for the new CSS/images, Wilson)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 22:06:22 +00:00
Joseph Kocherhans c93965bbef magic-removal: updated session docs to reflect move of sessions to django.contrib.sessions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1838 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 21:07:15 +00:00
Joseph Kocherhans 617f63a0f6 magic-removal: Removed Session from django.models.core and updated session middleware to work with django.conrib.sessions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 21:06:22 +00:00
Joseph Kocherhans 170c4261fb magic-removal: Added django.contrib.sessions in preparation for moving it out of django.models.core.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1836 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 21:04:07 +00:00
Adrian Holovaty bb8fb814a6 magic-removal: Merged to [1834]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 20:49:38 +00:00
Jacob Kaplan-Moss d33099252a Removed ellington cruft from admin urlconf.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 19:53:55 +00:00
Adrian Holovaty f89510c60c magic-removal: Changed manipulator unit tests to remove usage of sorted() function, which is Python 2.4 only
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 22:10:41 +00:00
Adrian Holovaty d975a92676 magic-removal: Added missing staff_member_required decorator for change_stage admin view
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 21:42:54 +00:00
Adrian Holovaty 3802561731 magic-removal: Tiny refactoring/reformatting of admin code
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 21:42:04 +00:00
Adrian Holovaty 1885443c82 magic-removal: Fixed #1159 -- Fixed error in 'unique' manipulator validator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 21:12:42 +00:00
Adrian Holovaty 9033ba7d36 magic-removal: Fixed bug in Field.get_validator_unique_lookup_type. Also, negligible spacing/formatting changes
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 17:28:53 +00:00