Commit Graph

1873 Commits

Author SHA1 Message Date
Jacob Kaplan-Moss 738d9af1e8 magic-removal: fixed #1330: edit-inline works again on magic-removal. Note that the API will change *substantailly* before we're done (for example, this reintroduces core fields, which suck) but this at least gives us a place to start with.
Many many thanks for Christopher Lenz, my new hero.


git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 17:53:55 +00:00
Jacob Kaplan-Moss 4e292dabc0 magic-removal: oops, [2500] had tabs instead of spaces; fixed (thanks cmlenz)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 18:50:56 +00:00
Jacob Kaplan-Moss 3d64e7e63f magic-removal: fixed #1475 - debug mode now logs failsed queries, as well (thanks, cmlenz)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 17:57:15 +00:00
Georg Bauer b1e6e88495 magic-removal: fixed #1472, removed masking of original exception in transactional decorator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 11:32:08 +00:00
Joseph Kocherhans 3a88988f9a magic-removal: moved contents of django.views.registration to django.contrib.auth.views and django.contrib.auth.decorators
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 02:47:11 +00:00
Joseph Kocherhans cad2fa4e8b magic-removal: Moved django.views.decorators.auth.* to django.contrib.auth.decorators
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 02:11:54 +00:00
Joseph Kocherhans 0ec5a547c9 magic-removal: Moved django.views.auth.login.* to django.contrib.auth.views
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2496 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 02:06:28 +00:00
Joseph Kocherhans 345463ad8e magic-removal: django.parts is empty now. Removed it.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 01:55:28 +00:00
Joseph Kocherhans dc63d91c56 magic-removal: moved django.parts.auth.anonymoususers.AnonymousUser to django.contrib.auth.models.AnonymousUser
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 01:53:20 +00:00
Joseph Kocherhans bc851653b7 magic-removal: Moved django.parts.auth.formfields to django.contrib.auth.forms
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 01:47:43 +00:00
Joseph Kocherhans f5dd6b9a45 magic-removal: Changed RequestUserMiddleware to AuthenticationMiddleware in settings.py template. This should have been a part of [2490]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-07 01:43:31 +00:00
Joseph Kocherhans 9a25318939 magic-removal: [2498] forced apps to have a models module. Fixed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-06 23:20:29 +00:00
Joseph Kocherhans 043175c3fb magic-removal: moved request.user handling out of django.core.handlers
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-06 22:30:18 +00:00
Luke Plant 15f52f0c5b magic-removal: Changed usage of __import__() in order to fix some obscure bugs caused by reloading of model classes.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-06 19:32:49 +00:00
Russell Keith-Magee 6e82705741 magic-removal: Modified bulk delete algorithnm to remove objects and relations in chunks. This prevents the WHERE x IN (...) statements causing a stack overflow when there are lots objects, or lots of of relationships between objects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-04 23:40:15 +00:00
Russell Keith-Magee fdd1e3682f magic-removal: Fixed problem with delete where dependent objects would be deleted in the incorrect order due to a fragile sort algorithm. Thanks to Luke Plant and Malcolm Tredinnick for helping to track this one down.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-04 12:13:41 +00:00
Luke Plant 3a1cc65322 magic-removal: Fixed uniqueness constraint on ContentType model.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-04 00:53:52 +00:00
Luke Plant ecd7f948dc magic-removal: Implemented 'laziness' for QuerySet slicing, to restore functionality that was previously possible with generic views via 'limit' and 'extra_lookup_args'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-04 00:19:59 +00:00
Jacob Kaplan-Moss f1c36bc4b3 magic-removal: syncdb now prompts to create a superuser when you install the auth models.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 23:41:02 +00:00
Jacob Kaplan-Moss 3cf23a5c36 magic-removal: django-admin syncdb now installs example site object (and doesn't fail on install perms anymore)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 23:13:38 +00:00
Jacob Kaplan-Moss 397139f32c magic-removal: django-admin syncdb now installs initial data.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 23:07:35 +00:00
Jacob Kaplan-Moss 809f9e9925 magic-removal: syncdb now installs permissions (if necessary)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 22:48:47 +00:00
Luke Plant 242e652fe7 magic-removal: Improved clarity of a test (now possible due to ordering on model)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 22:42:16 +00:00
Jacob Kaplan-Moss 4456e2c26c magic-removal: refactored django.core.management some more: cleaned up duplicate validation code, and made sqlreset remove permissions/content-types correctly.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 21:12:37 +00:00
Russell Keith-Magee cb0a57fc8b magic-removal: Fixes #1459 -- Modified the way the row count is compared to accommodate SQLite. Thanks, Malcolm Tredinnick.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 10:20:35 +00:00
Russell Keith-Magee eb4c05e031 magic-removal: Updated unit tests to reflect changes in validation errors introduced by r2472.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 10:14:53 +00:00
Adrian Holovaty 650b042001 magic-removal: Fixed #1447 -- More old-style DB API fixes. Thanks, russell@hbd
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 15:49:30 +00:00
Adrian Holovaty 85f7fba723 magic-removal: Fixed #1445 -- Moved response middleware-handling code inside try/finally that closes DB connection
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 14:34:37 +00:00
Russell Keith-Magee fd3de3e29e magic-removal: Modified model validation error messages to suggest a way of fixing name clash problems.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 10:05:09 +00:00
Adrian Holovaty 5e6d82a83c magic-removal: Fixed #1436 -- Fixed typo in django-admin.py error messages. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:45:19 +00:00
Adrian Holovaty bfbd1a9434 magic-removal: Merged to [2468] (who do we appreciate)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:09:10 +00:00
Adrian Holovaty 2695d52f50 magic-removal: Fixed #1440 -- Changed django.core.management not to execute multiple SQL statements in the same cursor.execute(). Thanks, Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:04:21 +00:00
Adrian Holovaty 6dd46ebc50 magic-removal: Changed commit_on_success section of docs/transactions.txt to be more clear
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:01:04 +00:00
Adrian Holovaty a93fbfd616 magic-removal: Removed introspection table_exists() functions -- they weren't being used, and you can just use get_table_list()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 04:50:43 +00:00
Adrian Holovaty 910986dde2 magic-removal: Removed _get_packages_insert() from django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 04:47:06 +00:00
Adrian Holovaty 25391d5e98 magic-removal: Fixed typo in modeltests/transactions/models.py docstring
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 04:20:22 +00:00
Adrian Holovaty 8c8afa22c0 magic-removal: Typo corrections in transaction code and docs
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 01:37:06 +00:00
Jacob Kaplan-Moss 27bb553ba0 Added introspection.table_exists() method to db instrospection; this is used all over the place in django.db.management and will break under database backends that don't support LIMIT.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 00:28:40 +00:00
Jacob Kaplan-Moss 7e11865b84 magic-removal: Refactored a bunch of django.core.management, including fixes to syncdb and permissions.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 00:02:20 +00:00
Jacob Kaplan-Moss c6ab599431 Fixed #1434 -- added tests for ObjectPaginator (thanks, Matt)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 20:27:58 +00:00
Jacob Kaplan-Moss 3ecacdb5fa magic-removal: Added a clarification to docs/transactions.txt (thanks, Malaprop)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 18:24:35 +00:00
Jacob Kaplan-Moss 2a65b00381 magic-removal: added transaction support to Django! see transactions.txt (in magic-removal) for the details.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 17:08:33 +00:00
Adrian Holovaty 7901c93328 magic-removal: Merged to [2454]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:57:57 +00:00
Adrian Holovaty b2dd439085 magic-removal: Fixed #1405 -- 'createsuperuser' no longer assumes 'import pwd' will work. Thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:26:08 +00:00
Adrian Holovaty e8cfcf28e6 magic-removal: Merged to [2450]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:21:51 +00:00
Duncan Foster 53ac6f9782 magic-removal: Fixed #1172, Datetime fields in admin interface shouldn't be cleared for validation errors.
Simply return the bad data.


git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 19:27:42 +00:00
Jacob Kaplan-Moss 2f27df2784 magic-removal: removed "follow" tests since follow is going away and isn't worth fixing.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 18:10:21 +00:00
Duncan Foster a86b6287de magic-removal: Fixed #1384: Don't return when sending email fails, just skip to the next address.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 15:02:03 +00:00
Adrian Holovaty a3aa545250 magic-removal: Fixed #1418 -- Applied management.py fixes for 'sqlclear'. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 14:27:00 +00:00
Adrian Holovaty 18d1b8177d magic-removal: Fixed #1417 -- Fixed admin.models.LogEntry.get_admin_url() to use new ContentType model fields. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 14:23:53 +00:00