Commit Graph

18554 Commits

Author SHA1 Message Date
Adrian Holovaty a7237aafac Fixed #71 -- Changed default admin base_site template to use example.com instead of mysite.com. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:43:57 +00:00
Adrian Holovaty 12c04fbf29 Fixed bug in dynamically-generated docs -- ForeignKeys were throwing an exception
git-svn-id: http://code.djangoproject.com/svn/django/trunk@182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:35:51 +00:00
Adrian Holovaty cf4c164e9f Changed core.handlers.modpython.populate_apache_request NOT to have side effects on http_response. This has no effect on legacy code but will prevent problems in new code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 20:14:05 +00:00
Adrian Holovaty 8fd94405b5 Added django.middleware.cache, which lets you cache an entire Django-powered site by adding a line to your settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 19:07:37 +00:00
Adrian Holovaty 0944653673 Added link to compiled Windows psycopg in docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:47:55 +00:00
Adrian Holovaty 32e9209dd9 Fixed #68 -- Changed reference to deprecated mod_python config in tutorial 2. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 18:10:41 +00:00
Adrian Holovaty 912253371d Moved django.views.decorators.cache.compress_string into django.utils.text
git-svn-id: http://code.djangoproject.com/svn/django/trunk@175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 17:23:04 +00:00
Adrian Holovaty b68c478aa5 Added 'django-admin.py runserver', which starts a lightweight development server running Django on a local port
git-svn-id: http://code.djangoproject.com/svn/django/trunk@174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 15:25:58 +00:00
Adrian Holovaty fbfa3d603e Improved docs/install.txt to say you don't have to run 'setup.py install' if you're using SVN. Thanks, dp_wiz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 14:03:56 +00:00
Adrian Holovaty fe8ca41e63 Fixed #57 -- Added some more helpful mod_python information to tutorial 2 -- thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 13:57:25 +00:00
Adrian Holovaty 78206fd08c Fixed #56 -- MySQL id columns are now UNSIGNED. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 13:53:45 +00:00
Adrian Holovaty 86d9ae269d Moved django.bin.profiling.handler to django.core.handlers.profiler-hotshot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 06:34:34 +00:00
Adrian Holovaty ca3d89b70f Added WSGI support. Created core.handlers package. Moved ALL mod_python-specific code to django.core.handlers.modpython. Note that django.core.handler is still a valid mod_python handler but IS DEPRECATED. Use django.core.handlers.modpython, instead.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 06:30:26 +00:00
Adrian Holovaty 4e094e26e6 Renamed django.core.handler.CoreHandler to ModPythonHandler, in preparation for WSGI support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 06:10:00 +00:00
Adrian Holovaty feeeda969c Rolled django.core.extensions.DjangoRequest into django.utils.httpwrappers.ModPythonRequest, in preparation for WSGI support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 06:05:18 +00:00
Adrian Holovaty 246c1f88d9 Removed legacy CMSContext and CMSRequest from django.core.extensions, because all World Online code has been changed to remove those. This has no effect on anybody other than World Online
git-svn-id: http://code.djangoproject.com/svn/django/trunk@166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 06:01:39 +00:00
Adrian Holovaty ac2a7c116d Changed django.utils.httpwrappers.parse_file_upload() NOT to be coupled to mod_python
git-svn-id: http://code.djangoproject.com/svn/django/trunk@165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 05:52:06 +00:00
Adrian Holovaty f3a43a2dd4 Folded django.core.handler.CoreHandler.get_request() into CoreHandler.call()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 03:13:02 +00:00
Adrian Holovaty dd85d8da10 Fixed #50 -- Fixed small bug in tutorial1 directory-listing example. Thanks, sirpete@iki.fi!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:48:52 +00:00
Adrian Holovaty 683755118f Fixed #53 -- Thanks, Dobbes!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-18 02:38:44 +00:00
Adrian Holovaty b1c543d091 Factored out database-specific date_trunc behavior into dbmod.get_date_trunc_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 20:16:06 +00:00
Adrian Holovaty d4ddc06021 Changed core.db to give a friendlier error message if the DATABASE_ENGINE setting is invalid
git-svn-id: http://code.djangoproject.com/svn/django/trunk@160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 20:03:24 +00:00
Adrian Holovaty 272b217557 Factored out database-specific date_extract behavior into dbmod.get_date_extract_sql(). Refs #46
git-svn-id: http://code.djangoproject.com/svn/django/trunk@159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 18:23:34 +00:00
Adrian Holovaty 35e81ce5af Changed models.auth.LogEntry.get_admin_url NOT to be hard-coded with an initial slash
git-svn-id: http://code.djangoproject.com/svn/django/trunk@158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:44:57 +00:00
Adrian Holovaty 58df4ce636 Fixed #40 -- Removed legacy code from meta.py method_set_related_many_to_many(). Thanks, jforeman@hark.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:27:34 +00:00
Adrian Holovaty 6ae4def03b Fixed #42 -- OneToOneField now works with SQL generation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:22:17 +00:00
Adrian Holovaty 729fc547ef Changed setup.py to include admin_templates. Thanks for the heads-up, Freewheel and Nicholas Riley!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 17:05:01 +00:00
Wilson Miner 9629e40f35 Fixed img paths in css to point to img/admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@154 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:26:46 +00:00
Wilson Miner 1680686e3a Fixed path to icon_searchbox.png
git-svn-id: http://code.djangoproject.com/svn/django/trunk@153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:14:29 +00:00
Wilson Miner 35c16cba2c Moved admin images to correct path specified in views/admin/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 16:11:13 +00:00
Adrian Holovaty fe3373c794 Fixed inevitable ReST bugs in [150]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:59 +00:00
Adrian Holovaty f87473e12d Fixed inevitable ReST bugs in [149]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:59:37 +00:00
Adrian Holovaty 7718319cbd Fixed inevitable ReST bugs in [148]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:58:53 +00:00
Adrian Holovaty ad8e55db9b Added notes to documentation that MySQL support has not been comprehensively tested. Thanks, Simon!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:53:56 +00:00
Wilson Miner aef751972c Fixed #43
git-svn-id: http://code.djangoproject.com/svn/django/trunk@147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:35:22 +00:00
Adrian Holovaty 7e951c92f3 Changed tutorial01 to clarify how to set an environment variable in Windows. Thanks, JZ!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:23:34 +00:00
Adrian Holovaty 136d78b86e Fixed typo in template docs -- Thanks, Nicholas Riley and Robin Munn!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 15:15:26 +00:00
Adrian Holovaty 0b62adddb2 Linked tutorial 2 to the admin CSS guide
git-svn-id: http://code.djangoproject.com/svn/django/trunk@144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:30:31 +00:00
Adrian Holovaty a1ef6aa10b Fixed mistake in tutorial01 -- it mentioned expiration date by mistake. Thanks for the pointer, Barryp!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:12:58 +00:00
Adrian Holovaty c9cc6f87f9 Finished tutorial02 and added a link to it from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 06:11:33 +00:00
Adrian Holovaty 7ade767819 Tiny tweaks to tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:54:43 +00:00
Adrian Holovaty 069bd054fd Fixed small formatting errors in [139]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:53:34 +00:00
Adrian Holovaty 081f2f8c8d Added 'Customize the admin change list' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:52:07 +00:00
Adrian Holovaty 5162e4745f Fixed the inevitable ReST bug in [137]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:22:48 +00:00
Adrian Holovaty af86b4e4b1 Added 'Adding related objects' section to docs/tutorial02.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 05:21:19 +00:00
Adrian Holovaty 5e309eb6e4 Copy-edited model-API docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 04:20:57 +00:00
Wilson Miner d0e5eab657 Added missing admin images (for real this time)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 03:58:08 +00:00
Adrian Holovaty 81215d7933 Improved tutorial02 to discuss login errors, linking to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:59:31 +00:00
Adrian Holovaty 4211bcb437 Added an example to one of the FAQ answers from [132]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:46:04 +00:00
Adrian Holovaty 364f3704b0 Added two admin login-related questions to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-07-17 02:43:18 +00:00