Adrian Holovaty
|
659ab9846e
|
Fixed small bug in views.auth.login.login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 23:15:13 +00:00 |
Adrian Holovaty
|
72109f4e35
|
Added SessionMiddleware to MIDDLEWARE_CLASSES in global_settings, so it's available by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 23:02:06 +00:00 |
Adrian Holovaty
|
07889c13a6
|
Fixed #1 -- Added anonymous session support via middleware and request.session. Removed the former request.session, which wasn't being used anyway. Removed auth.Session model. See the BackwardsIncompatibleChanges wiki page for IMPORTANT notes on code you'll have to change and a DB table you'll have to create.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 22:54:05 +00:00 |
Adrian Holovaty
|
f21ff30b10
|
Small formatting change to validation error in [516], to be consistent with other validation errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 18:28:00 +00:00 |
Jacob Kaplan-Moss
|
7d374ad597
|
Added raw_id_admin support to ManyToManyField objects; fixes #260
git-svn-id: http://code.djangoproject.com/svn/django/trunk@516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 18:08:37 +00:00 |
Adrian Holovaty
|
935daf0626
|
Fixed typo in django.views.auth.login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 16:57:20 +00:00 |
Adrian Holovaty
|
00da60e932
|
Removed special-case test for '_files' URL in common middleware -- thanks, Jeremy Dunck
git-svn-id: http://code.djangoproject.com/svn/django/trunk@513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 00:47:53 +00:00 |
Adrian Holovaty
|
071037ff80
|
Changed 'django-admin startproject' to included MIDDLEWARE_CLASSES in settings/main.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 00:41:42 +00:00 |
Adrian Holovaty
|
d22e88898f
|
Changed handlers (both mod_python and WSGI) to support setting multiple cookies per request
git-svn-id: http://code.djangoproject.com/svn/django/trunk@511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 22:47:41 +00:00 |
Adrian Holovaty
|
c727729183
|
Changed meta.py save() code from [507] to work under sqlite. All tests now pass in all 3 database backends.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 20:03:34 +00:00 |
Adrian Holovaty
|
7cfddb3c43
|
Improved model validator to validate 'choices' for a field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 19:00:50 +00:00 |
Adrian Holovaty
|
56071754ea
|
Fixed #318 -- Fixed typo in docs/model-api.txt. Thanks, django@sharpbanana.co.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 16:15:26 +00:00 |
Adrian Holovaty
|
27986994ee
|
Fixed #320 -- Changed save() code so that it doesn't rely on cursor.rowcount. MySQLdb sets cursor.rowcount to 0 in an UPDATE statement even if the record already exists. Now save() does a SELECT query to find out whether a record with the primary key already exists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 16:00:28 +00:00 |
Adrian Holovaty
|
b5ed20434e
|
Added unit test that tests #323 -- currently fails for MySQL and passes for PostgreSQL
git-svn-id: http://code.djangoproject.com/svn/django/trunk@506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 15:43:59 +00:00 |
Adrian Holovaty
|
db127b7983
|
Fixed #322 -- Development server now calls validate() again. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 15:24:56 +00:00 |
Adrian Holovaty
|
91c71d36e6
|
Fixed #322 -- 'django-admin runserver' no longer validates models.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 14:48:07 +00:00 |
Adrian Holovaty
|
8f9e5b6b3b
|
Added 'django-admin.py validate', which validates all installed models. Validation only handles common errors at this point, but we'll be improving it each time we think of a potential model syntax problem. Also changed the development Web server to validate automatically at server start.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 05:05:52 +00:00 |
Adrian Holovaty
|
4a7159865e
|
Improved error handling for invalid model parameters that aren't custom functions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:44:19 +00:00 |
Adrian Holovaty
|
e004d2a0f7
|
Changed docs/tutorial01.txt to be clearer about PYTHONPATH environment variable -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:19:16 +00:00 |
Adrian Holovaty
|
025b16178f
|
Changed docs/tutorial01.txt to use a tree format instead of 'ls' output -- thanks for the suggestion, Ken Kinder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:15:59 +00:00 |
Adrian Holovaty
|
1303933fd9
|
Fixed typo in docs/tutorial04.txt -- thanks, 'nitpicker'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 04:08:28 +00:00 |
Adrian Holovaty
|
1e479ba90d
|
Fixed #93 and #279 -- 'django-admin startproject' no longer creates invalid settings/admin.py on Windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:24:16 +00:00 |
Adrian Holovaty
|
bc00059b2f
|
Fixed #316 -- Added special-case for MySQL microseconds, so that it doesn't throw a warning when microseconds are given.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 01:03:39 +00:00 |
Adrian Holovaty
|
2c3067b5e5
|
Fixed #311 -- Small change to docstring. Thanks, rmunn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 00:53:18 +00:00 |
Adrian Holovaty
|
bf108187a2
|
Fixed #321 -- Undid [494], which assumed the installed version of MySQLdb had a 'cursors.CursorNW'. Thanks for being consistent, MySQLdb. This opens #316 again.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-15 00:50:31 +00:00 |
Adrian Holovaty
|
a9b43edde2
|
Fixed #316 -- Changed MySQL backend to disregard warnings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-14 23:59:29 +00:00 |
Jacob Kaplan-Moss
|
54f93895a8
|
Added a quick example of prepopulate_from to clarify the description
git-svn-id: http://code.djangoproject.com/svn/django/trunk@493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-14 01:09:51 +00:00 |
Jacob Kaplan-Moss
|
b149fc3671
|
Fixed #310 -- thanks, mordaha
git-svn-id: http://code.djangoproject.com/svn/django/trunk@492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-12 14:19:34 +00:00 |
Adrian Holovaty
|
199aa88ffb
|
Moved django.core.handlers.wsgi.AdminMediaHandler to django.core.servers.basehttp. Makes more sense to have it in there, because its only use is for the development server.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-12 04:16:29 +00:00 |
Adrian Holovaty
|
43f3b984e8
|
Removed <meta http-equiv='content-type'...> from admin base template, because Django sends out correct content-type HTTP header as of [340]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-12 03:59:38 +00:00 |
Adrian Holovaty
|
8d8da826db
|
Changed timestamp and time typecasting to preserve microseconds. Added unit tests to test this behavior, and added a db_typecast unit test module. Refs #306.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 19:34:34 +00:00 |
Adrian Holovaty
|
8ebe5db684
|
Added link to mod_python doc from docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 19:00:56 +00:00 |
Jacob Kaplan-Moss
|
6f4e6b4bcb
|
Changed markup tests to not fail if required modules are not installed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 18:32:19 +00:00 |
Adrian Holovaty
|
8dac184adc
|
Fixed ReST bugs in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 16:05:25 +00:00 |
Adrian Holovaty
|
aed151d3d8
|
Improved docs/tutorial01.txt thanks to reader suggestions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-11 16:01:09 +00:00 |
Adrian Holovaty
|
e67882721d
|
Refactored django.core.urlresolvers a tiny bit
git-svn-id: http://code.djangoproject.com/svn/django/trunk@479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 22:20:18 +00:00 |
Adrian Holovaty
|
fcfb8edc15
|
Fixed #126 -- HttpRequest now has a 'raw_post_data' attribute.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 22:12:05 +00:00 |
Adrian Holovaty
|
bdcea2e6ca
|
Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't rename it in the Python code, because too many things would break.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 21:46:40 +00:00 |
Adrian Holovaty
|
77d20bedd4
|
Fixed #192 -- File uploads now work with built-in Web server. Thanks, mordaha@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 21:20:45 +00:00 |
Adrian Holovaty
|
7bb1a2bbba
|
Changed docs/django-admin.txt to add note about which databases 'inspectdb' works with.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 21:02:07 +00:00 |
Adrian Holovaty
|
9c2d890eec
|
Added link to docs/django-admin from tutorial01
git-svn-id: http://code.djangoproject.com/svn/django/trunk@474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:38:00 +00:00 |
Adrian Holovaty
|
78387d5e34
|
Fixed another ReST bug in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:30:30 +00:00 |
Adrian Holovaty
|
066722db04
|
Added 'Available options' section to docs/django-admin.txt, and fixed the inevitable ReST errors
git-svn-id: http://code.djangoproject.com/svn/django/trunk@472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:29:55 +00:00 |
Adrian Holovaty
|
055f1d0de6
|
Added docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:24:51 +00:00 |
Adrian Holovaty
|
46d8bbab3d
|
Added help_doc to django.core.management.install
git-svn-id: http://code.djangoproject.com/svn/django/trunk@470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 20:16:15 +00:00 |
Adrian Holovaty
|
199938649e
|
Fixed #81 -- Admin now supports primary_key=True for non-integer fields. Note that you'll have to make a change to your database if you're using a previous Django installation and want to use non-integer primary key fields. See the BackwardsIncompatibleChanges wiki page for info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 19:32:38 +00:00 |
Adrian Holovaty
|
b3ae12fa4a
|
Cleaned up admin view code to use new 'pk' lookup syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 18:46:11 +00:00 |
Jacob Kaplan-Moss
|
8e2d275390
|
Fixed #241 -- added django.contrib.markup app with markup templatetags for Textile, ReST and Markdown
git-svn-id: http://code.djangoproject.com/svn/django/trunk@467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 18:31:33 +00:00 |
Jacob Kaplan-Moss
|
f65350b197
|
Doctest now uses the ELLIPSIS option, which allows the one_to_one test to pass under sqlite. This fixes #238.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 18:10:38 +00:00 |
Jacob Kaplan-Moss
|
3a1ae2164b
|
Added a custom doctest OutputChecker that ignores differences between ints and longs in values returned from the database; refs #238
git-svn-id: http://code.djangoproject.com/svn/django/trunk@465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-10 18:00:52 +00:00 |