Joseph Kocherhans
9a9e2730bc
magic-removal: Updated docs to reflect move/rename of DjangoContext.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 18:27:40 +00:00
Joseph Kocherhans
042d1df0e7
magic-removal: renamed DjangoContext to RequestContext and moved it to django.template. Updated dependencies.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 18:26:57 +00:00
Joseph Kocherhans
5a54e18f9b
magic-removal: fixed old imports of django.core.template_loader
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:46:02 +00:00
Joseph Kocherhans
58c97d9884
magic-removal: updated docs to reflect new location of django.core.template
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:37:10 +00:00
Joseph Kocherhans
fe02b0e998
magic-removal: updated tests to reflect new location of django.core.template
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:36:53 +00:00
Joseph Kocherhans
7f354d91de
magic-removal: Removed django.core.template... it has been moved to django.template.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:36:03 +00:00
Joseph Kocherhans
96116f60b4
magic-removal: Moved django.core.template to django.template and updated dependencies.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:35:02 +00:00
Adrian Holovaty
b6954b5ffc
magic-removal: Fixed #1217 -- Added some template-tag unit tests. Thanks, nick at efford.net
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 17:22:44 +00:00
Adrian Holovaty
e31e75c736
magic-removal: Fixed bug in calling of manipulator_valid_rel_key()
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 04:54:25 +00:00
Adrian Holovaty
a9297c7a5d
magic-removal: Spacing change in dispatcher.connect() calls
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 04:26:28 +00:00
Adrian Holovaty
22260f968c
magic-removal: Added slash at the end of ChangeList.url_for_result()
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 04:21:55 +00:00
Adrian Holovaty
5e57f795b5
magic-removal: Added db_table to Session model. Note that this is changed from current Django trunk
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 04:14:05 +00:00
Adrian Holovaty
41511cc3bd
magic-removal: Updated docs to reflect new location of session middleware
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 03:53:45 +00:00
Adrian Holovaty
b2e4952f02
magic-removal: Moved django/contrib/admin/urls/admin.py to django/contrib/admin/urls.py, to cut down on code length.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 03:42:26 +00:00
Adrian Holovaty
df36b25d65
magic-removal: Changed django.core.xheaders to take 'model' parameter instead of 'package' and 'python_module_name'
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 03:34:55 +00:00
Adrian Holovaty
6fb7423bb0
magic-removal: Got generic views working. Their info_dicts now take 'model' instead of 'app_label' and 'module_name'. Updated docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 03:24:07 +00:00
Joseph Kocherhans
0e66c7adec
magic-removal: removed bad import. django.models is gone as of [1919].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 23:47:32 +00:00
Joseph Kocherhans
02f03e7b93
magic-removal: Oops.. this should have been committed in [1916].
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 22:15:07 +00:00
Adrian Holovaty
5aa3c38b1b
magic-removal: Removed django.models -- it's no longer used.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1919 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 22:03:02 +00:00
Joseph Kocherhans
c4b139eabd
magic-removal: Updated docs to reflect new location of django.exceptions.Http404
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 21:58:40 +00:00
Joseph Kocherhans
7ff20316f0
magic-removal: Moved django.exceptions.Http404 to django.http.Http404 and updated references.
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 21:57:59 +00:00
Joseph Kocherhans
1c989f59d4
magic-removal: Updated docs to reflect new location of django.utils.httpwrappers
...
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@1916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 21:46:50 +00:00
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