1
0
mirror of https://github.com/django/django.git synced 2025-07-05 02:09:13 +00:00

1962 Commits

Author SHA1 Message Date
Luke Plant
f95dd12050 magic-removal: Removed an unused instance variable from Options class, meant to do this in r2547.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 19:10:10 +00:00
Luke Plant
b9f4a027b4 magic-removal: Added a 'description' option to fieldset options that allows extra HTML to be displayed at the top of each fieldset in the admin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 19:05:46 +00:00
Jacob Kaplan-Moss
dc0fe82957 magic-removal: doc model detail views now correctly show model methods callable from the template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 16:29:22 +00:00
Jacob Kaplan-Moss
90d5426adc magic-removal: made a few tweaks to admin documentation views to better handle
new-style relation descriptors and deal with non-named groups in urlpatterns.


git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 16:13:57 +00:00
Jacob Kaplan-Moss
0cfe7fe53e magic-removal: fixed a small bug (typo, really) in RelatedManager
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 00:29:47 +00:00
Adrian Holovaty
cb5e2764be magic-removal: Removed app-specific stuff from django.core.management.syncdb, in favor of an event-based system. Permissions, superusers and the example.com site are now all done via a management.py file within the appropriate contrib app. This also means 'createsuperuser' is no longer a django-admin command...We'll probably want to restore that somehow, or add another utility that does it from the command line.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-23 00:55:30 +00:00
Adrian Holovaty
17a4401f4c magic-removal: Merged to [2548]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-22 22:35:14 +00:00
Luke Plant
e134da8a1a magic-removal: Fixed limit_choices_to functionality in m-r branch (bug introduced by a refactoring error AFAICS)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-22 19:05:43 +00:00
Luke Plant
3da050e44e magic-removal: Updated docstring for LazyDate.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-22 00:56:48 +00:00
Joseph Kocherhans
c0f3555eef magic-removal: Fixed 'allow_tags' behavior for model methods in admin change lists.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-21 18:31:31 +00:00
Luke Plant
4927c2cf1e magic-removal: Negligible whitespace fix
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 23:05:57 +00:00
Adrian Holovaty
7f722a6425 magic-removal: Made 'Would you like to create a superuser' raw_input() more fault-tolerant in django/core/management.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 19:58:37 +00:00
Jacob Kaplan-Moss
8d238ce536 magic-removal: fixed #1489 - objects with 1-to-1 relations may be deleted in the admin (thanks, Christopher Lenz)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 17:56:37 +00:00
Luke Plant
3c7e06e103 magic-removal: Fixed a variable name change that was omitted in r2529
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 13:48:26 +00:00
Adrian Holovaty
4f2752c333 magic-removal: Merged to [2533]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 01:05:16 +00:00
Adrian Holovaty
52a96c1686 magic-removal: Merged to [2531]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-19 23:45:00 +00:00
Luke Plant
9f248bf394 magic-removal: Fixed #1505 - Link to non-existant URL in admin
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-18 23:04:43 +00:00
Luke Plant
cb828b5494 magic-removal: Changed 'manage.py sql myapp' to print references to tables in other apps correctly (and print them commented out if those tables don't physically exist)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-18 00:24:12 +00:00
Adrian Holovaty
404421895a magic-removal: Fixed #1464 -- Updated tutorial01 for magic-removal. Thanks, Jeremy D.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-17 05:43:37 +00:00
Adrian Holovaty
fd00f02ce0 magic-removal: Changed django.VERSION to use two digits -- (0, 91) instead of (0, 9, 1)
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-17 05:04:14 +00:00
Adrian Holovaty
fde2cb50ac magic-removal: Changed welcome text in django.views.debug
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-17 04:55:34 +00:00
Adrian Holovaty
ff48a48b6a magic-removal: Merged to [2523]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-16 03:02:51 +00:00
Luke Plant
bcacb8843e magic-removal: Added a fix to allow UserWrapper and request objects to be unpickled without infinite recursion loops.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 22:10:59 +00:00
Luke Plant
4ddf1b3dc7 magic-removal: Fixed User.get_all_permissions() and related methods (including User.has_perm())
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 21:24:25 +00:00
Adrian Holovaty
bbc62cdccc magic-removal: Added first bit of validation-aware models. Model objects now have a validate() method. See docstrings in db.models.base and db.models.fields.__init__ for information. Also added unit tests for all the currently supported validation.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 01:33:45 +00:00
Adrian Holovaty
ce41a3e736 magic-removal: Fixed #1460 -- Fixed pub_date__lt behavior in SQLite. Thanks for the patch, Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 01:08:04 +00:00
Adrian Holovaty
ba273d88ac magic-removal: Fixed #1482 -- Corrected 'SET NAMES' syntax for MySQL backend. Thanks, Geert Vanderkelen
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 00:41:49 +00:00
Adrian Holovaty
0690229a3b magic-removal: Fixed #1485 -- Made admin template updates for changes to LogEntry model. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 00:39:43 +00:00
Adrian Holovaty
0d9ab72fea magic-removal: Fixed #1471 -- Changed manage.py installperms to work with apps without model classes. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-13 00:20:57 +00:00
Adrian Holovaty
e695567d10 magic-removal: Fixed #1492 -- Fixed typo in docs/transactions.txt. Thanks, Armin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-12 23:00:00 +00:00
Adrian Holovaty
8addbfa0d2 magic-removal: Fixed #1494 -- Added missing import to django.contirb.auth.decorators
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-12 22:41:04 +00:00
Russell Keith-Magee
7a0b04fdc3 magic-removal: Modified descriptor to return None rather than raising DoesNotExist if null=True for a related field.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-12 04:10:57 +00:00
Russell Keith-Magee
a5bd0543f1 magic-removal: Added descriptor code for assignment of related object sets (Reporter.article_set = [a,b,c]).
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-12 03:58:11 +00:00
Luke Plant
9460c54e22 magic-removal: Fixed HTML error in delete_confirmation template
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-10 00:20:24 +00:00
Joseph Kocherhans
7ec0ebc022 magic-removal: added a couple of constructor tests for model_inheritance.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 21:05:10 +00:00
Joseph Kocherhans
4b0fcefbc2 magic-removal: model inheirtance can now be more than 1 level deep.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 20:59:00 +00:00
Joseph Kocherhans
7df29c013e magic-removal: Fixed #1479. I tried to track down the *real* problem to no avail. This fix is a total hack, but it works for now, and core is going to be re-removed soon anyhow.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 20:54:03 +00:00
Joseph Kocherhans
a8efa34283 magic-removal: added trivial tests for model inheritance.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 20:08:05 +00:00
Joseph Kocherhans
875d215818 magic-removal: fixed #1478. Thanks Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-08 19:10:43 +00:00
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