summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2005-08-29Fixed bug in metasystem manipulator_validator_unique_for_date(), related to ↵Adrian Holovaty
[549] git-svn-id: http://code.djangoproject.com/svn/django/trunk@571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-29Fixed bug in metasystem method_get_next_in_order and ↵Adrian Holovaty
method_get_previous_in_order, related to [549] git-svn-id: http://code.djangoproject.com/svn/django/trunk@570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26Fixed #423 -- Fixed bug in ForeignKey admin filters. Thanks, jkocherhansAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-26Changed django-admin.py inspectdb to output new-style model syntaxAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-25Fixed #122 -- BIG, BACKWARDS-INCOMPATIBLE CHANGE. Changed model syntax to ↵Adrian Holovaty
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-25Changed 'coding error' and 'database error' e-mails to include request.path ↵Adrian Holovaty
in subject git-svn-id: http://code.djangoproject.com/svn/django/trunk@548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-23Fixed a small bug in admin changelist view -- the code that handles ordering byJacob Kaplan-Moss
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-22Changed SessionMiddleware to use process_request instead of process_view -- ↵Adrian Holovaty
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-19Fixed #350 -- 'offset' DB API parameter now works in MySQL 3. Tests from ↵Adrian Holovaty
[540] pass. Thanks, ronan@cremin.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-19Fixed #360 -- runserver now takes optional 'ip:port' in addition to 'port'. ↵Adrian Holovaty
Thanks, benno@jeamland.net git-svn-id: http://code.djangoproject.com/svn/django/trunk@539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-19Fixed #371 -- Fixed bug in 'random' template filter. Thanks, BoffbowshAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18Modified admin styles to make headers and buttons readable with images off.Wilson Miner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18Improved session code to force creation of a new session key if the given ↵Adrian Holovaty
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-18Tweaked [531] slightly, so that it checks for 'is None' instead of boolean 'not'Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-18Added friendly error message if a view returns None instead of an ↵Adrian Holovaty
HttpResponse object. git-svn-id: http://code.djangoproject.com/svn/django/trunk@531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17Fixed bug in manipulator_valid_rel_key() -- it assumed the related object's ↵Adrian Holovaty
primary key was called 'id' git-svn-id: http://code.djangoproject.com/svn/django/trunk@530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17Fixed #335 -- Admin login form now checks that cookies are enabled.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-17Fixed #340 -- Default admin settings (in django-admin startproject) now ↵Adrian Holovaty
include cache middleware. Thanks, Bless git-svn-id: http://code.djangoproject.com/svn/django/trunk@525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed small bug in parts.auth.formfields.AuthenticationFormAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed small bug in views.auth.login.loginAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Added SessionMiddleware to MIDDLEWARE_CLASSES in global_settings, so it's ↵Adrian Holovaty
available by default. git-svn-id: http://code.djangoproject.com/svn/django/trunk@519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed #1 -- Added anonymous session support via middleware and ↵Adrian Holovaty
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-16Small formatting change to validation error in [516], to be consistent with ↵Adrian Holovaty
other validation errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Added raw_id_admin support to ManyToManyField objects; fixes #260Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Fixed typo in django.views.auth.loginAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Removed special-case test for '_files' URL in common middleware -- thanks, ↵Adrian Holovaty
Jeremy Dunck git-svn-id: http://code.djangoproject.com/svn/django/trunk@513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-16Changed 'django-admin startproject' to included MIDDLEWARE_CLASSES in ↵Adrian Holovaty
settings/main.py. git-svn-id: http://code.djangoproject.com/svn/django/trunk@512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Changed handlers (both mod_python and WSGI) to support setting multiple ↵Adrian Holovaty
cookies per request git-svn-id: http://code.djangoproject.com/svn/django/trunk@511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Changed meta.py save() code from [507] to work under sqlite. All tests now ↵Adrian Holovaty
pass in all 3 database backends. git-svn-id: http://code.djangoproject.com/svn/django/trunk@510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Improved model validator to validate 'choices' for a fieldAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@509 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Fixed #320 -- Changed save() code so that it doesn't rely on ↵Adrian Holovaty
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-15Fixed #322 -- Development server now calls validate() again. Thanks, rmunnAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Fixed #322 -- 'django-admin runserver' no longer validates models.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Added 'django-admin.py validate', which validates all installed models. ↵Adrian Holovaty
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-15Improved error handling for invalid model parameters that aren't custom ↵Adrian Holovaty
functions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Fixed #93 and #279 -- 'django-admin startproject' no longer creates invalid ↵Adrian Holovaty
settings/admin.py on Windows git-svn-id: http://code.djangoproject.com/svn/django/trunk@498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Fixed #316 -- Added special-case for MySQL microseconds, so that it doesn't ↵Adrian Holovaty
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-15Fixed #311 -- Small change to docstring. Thanks, rmunnAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-15Fixed #321 -- Undid [494], which assumed the installed version of MySQLdb ↵Adrian Holovaty
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-14Fixed #316 -- Changed MySQL backend to disregard warningsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-12Fixed #310 -- thanks, mordahaJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-12Moved django.core.handlers.wsgi.AdminMediaHandler to ↵Adrian Holovaty
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-12Removed <meta http-equiv='content-type'...> from admin base template, ↵Adrian Holovaty
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-11Changed timestamp and time typecasting to preserve microseconds. Added unit ↵Adrian Holovaty
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-10Refactored django.core.urlresolvers a tiny bitAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #126 -- HttpRequest now has a 'raw_post_data' attribute.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #118 -- Renamed 'flat files' to 'flat pages' in the admin. Didn't ↵Adrian Holovaty
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-10Fixed #192 -- File uploads now work with built-in Web server. Thanks, ↵Adrian Holovaty
mordaha@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Added help_doc to django.core.management.installAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-08-10Fixed #81 -- Admin now supports primary_key=True for non-integer fields. ↵Adrian Holovaty
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