Adrian Holovaty
|
1aaa3358b9
|
Fixed ReST bug in docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-26 05:34:37 +00:00 |
Adrian Holovaty
|
3db068f7fa
|
Fixed bug in docs/tutorial02.txt related to model syntax change. Thanks, Jeremy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-26 05:32:30 +00:00 |
Adrian Holovaty
|
939e2bccd5
|
Changed django-admin.py inspectdb to output new-style model syntax
git-svn-id: http://code.djangoproject.com/svn/django/trunk@550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-26 04:06:18 +00:00 |
Adrian Holovaty
|
25264c8604
|
Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to use fieldname=FieldClass() syntax. See ModelSyntaxChangeInstructions for important information on how to change your models
git-svn-id: http://code.djangoproject.com/svn/django/trunk@549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 22:51:30 +00:00 |
Adrian Holovaty
|
aec0a73d73
|
Changed 'coding error' and 'database error' e-mails to include request.path in subject
git-svn-id: http://code.djangoproject.com/svn/django/trunk@548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-25 00:50:01 +00:00 |
Jacob Kaplan-Moss
|
9fb3f7fa93
|
Fixed a small bug in admin changelist view -- the code that handles ordering by
a related field still assumed the outdated ordering syntax.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-23 20:17:36 +00:00 |
Adrian Holovaty
|
fffe1d1472
|
Fixed #406 -- Fixed small typo in docs/forms.txt. Thanks, Tom Haddon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-23 14:31:08 +00:00 |
Adrian Holovaty
|
928832d6e0
|
Changed SessionMiddleware to use process_request instead of process_view -- that way it always gets called, even for 404s
git-svn-id: http://code.djangoproject.com/svn/django/trunk@545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-22 19:19:54 +00:00 |
Adrian Holovaty
|
601a892ea0
|
Fixed #380 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-21 18:28:04 +00:00 |
Adrian Holovaty
|
297731c657
|
Fixed #381 -- Clarified tutorial 1. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-21 18:26:56 +00:00 |
Adrian Holovaty
|
33f2304ea9
|
Fixed #383 -- Clarified tutorial 2. Thanks, ssteiner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-21 18:25:36 +00:00 |
Adrian Holovaty
|
e5e1ea602d
|
Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from [540] pass. Thanks, ronan@cremin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:51:14 +00:00 |
Adrian Holovaty
|
9180112f02
|
Added 'limit' and 'offset' unit tests, one of which fails in MySQL 3 (refs #350)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:35:02 +00:00 |
Adrian Holovaty
|
00c6acaaf3
|
Fixed #360 -- runserver now takes optional 'ip:port' in addition to 'port'. Thanks, benno@jeamland.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 21:23:56 +00:00 |
Adrian Holovaty
|
8d6c276328
|
Fixed #371 -- Fixed bug in 'random' template filter. Thanks, Boffbowsh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-19 14:59:09 +00:00 |
Wilson Miner
|
a9c36d8db5
|
Modified admin styles to make headers and buttons readable with images off.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 22:27:27 +00:00 |
Adrian Holovaty
|
2972e8b5d5
|
Improved session code to force creation of a new session key if the given session key doesn't exist -- for extra security
git-svn-id: http://code.djangoproject.com/svn/django/trunk@536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 16:45:15 +00:00 |
Adrian Holovaty
|
cb022650e7
|
Clarified docs/django-admin.txt to say 'runserver' runs the model validator automatically
git-svn-id: http://code.djangoproject.com/svn/django/trunk@535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 04:50:09 +00:00 |
Adrian Holovaty
|
1dccbcdcc1
|
Added a link to docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 04:13:48 +00:00 |
Adrian Holovaty
|
94960d5635
|
Added docs/legacy_databases.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 04:12:01 +00:00 |
Adrian Holovaty
|
28d41fe270
|
Tweaked [531] slightly, so that it checks for 'is None' instead of boolean 'not'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 00:15:39 +00:00 |
Adrian Holovaty
|
8a939224fa
|
Added friendly error message if a view returns None instead of an HttpResponse object.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-18 00:14:15 +00:00 |
Adrian Holovaty
|
f5ab1320ed
|
Fixed bug in manipulator_valid_rel_key() -- it assumed the related object's primary key was called 'id'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 22:46:43 +00:00 |
Adrian Holovaty
|
b1d9682a38
|
Fixed #335 -- Admin login form now checks that cookies are enabled.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 22:04:53 +00:00 |
Adrian Holovaty
|
8acb6c836b
|
Fixed typo in docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 19:48:40 +00:00 |
Adrian Holovaty
|
81c4649944
|
Made some tiny tweaks to docs/tutorial02.txt -- thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 15:01:12 +00:00 |
Adrian Holovaty
|
5f37a627da
|
Fixed #340 -- Default admin settings (in django-admin startproject) now include cache middleware. Thanks, Bless
git-svn-id: http://code.djangoproject.com/svn/django/trunk@525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 14:27:30 +00:00 |
Adrian Holovaty
|
99d8bb34fe
|
Added 'Session object guidlines' section to docs/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 04:05:42 +00:00 |
Adrian Holovaty
|
21c4526557
|
Added doc/sessions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 04:00:02 +00:00 |
Adrian Holovaty
|
a579724852
|
Fixed #336 -- Typo in docs/generic_views.txt. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-17 02:05:53 +00:00 |
Adrian Holovaty
|
7d022cd48f
|
Fixed small bug in parts.auth.formfields.AuthenticationForm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-08-16 23:16:55 +00:00 |
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 |