1. Luke Plant
  2. django

Branches

attic/new-admin

View source
attic/new-admin
  • Contributors
    1. Loading...
Author Commit Message Date Builds
250+ commits behind default.
uber...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Move the new-admin branch into the attic.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk 1432
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Merged to trunk 1430
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible formatting changes to admin.templatetags.admin_list and admin.views.main -- and removed multi-line import in templatetags/admin_list, for Python 2.3 compatibility
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Added docstring to contrib.admin.filterspecs and cleaned up spacing
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Merged to trunk 1424
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible spacing change in d.c.m.init
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newadmin: Added missing ngettext import in core/formfields.py
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin and trunk: Normalized spacing differences in bin/validate.py between trunk and new-admin
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible space change to contrib/admin/templates/admin/index.html to stay consistent with trunk
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible formatting changes to django/core/formfields.py and fixed small bug in CheckboxSelectMultipleField.render()
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Removed space at top of views/debug.py module
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible formatting changes to django/core/meta/fields.py
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible formatting changes to django/core/meta/__init__.py
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk 1407
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible formatting changes to admin.templatetgas.admin_modify and template.decorators
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
newadmin: Converted django/models/__init__.py to use unix newlines, not DOS
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Normalized spacing in admin template tags
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Fixed spacing issue in setup.py
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Changed runtests.py not to display full exception if test database can't be created
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Fixed spacing issues in template tests
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Changed django.core.management.init to sys.exit(1) instead of raise on error
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Removed django/contrib/admin/media/css/template_errors.css -- it wasn't being used.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: merged to trunk r1385
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
remove purposeful error
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merge to trunk r1381
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Removed old filter parser
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix #885
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible syntax changes in django.views.debug in preparation for merge to trunk
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new-admin: Negligible syntax changes in django.core.template in preparation for merge to trunk
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Exception handling fix for change lists. Cheers plisk.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
test-commit
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
fixed missing """ in the code
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: updated message files to reflect code moves and fixed some small merge breakage in .po/.mo files
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1359
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: the same language 'cs' fix as in trunk for DATE_FORMAT and friends
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Tiny change to spacing in new-admin django.core.formfields, so it's identical to trunk version
adr...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Tiny change to spacing in new-admin django.utils.httpwrappers, so it's identical to trunk version
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1320
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: updated 'sk' translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: updated 'sr' translation
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merge to trunk r1307
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed 858. Got rid of confusing query_string tag.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to trunk r1298
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Integrated template errors into new error pages.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix #844
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixes #843 - updated 'sk' translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixed another missing ngettext (core/formfields).
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix #841.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Actually include the filter specs file. Fixes #840.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Moved filterspecs to their own module, minor cleanup of bound manipulator
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixes #835 and #836 - updated 'no' and 'sk' translations
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1281
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixes #833. updated 'cs' translation and changed a message to pluralization
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: updated "sk" translation. fixes #831
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
mergeed to trunk r1266
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: added a missing translation hook
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
recompiled two broken message files (.mo can be corrupted after merge, better to run a compile-messages before committing)
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1253
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Auto now fix.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: even more translation hooks. This time only 'de' updated (to reduce file-number on update).
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: added some more translation hooks
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: just rebuilt the message files after last changes
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed auto_now_add weird editable behaviour.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: added more translation hooks, this time in fields and formfields for validation errors
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: added translation hooks to builtin comment application
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1234
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixed a missing message catalog compile
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1221
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixes a problem with init on ManyToMany fields with only one possible selection
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1197
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
String origin fix for template debugging
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed admin history links. Should be applied to trunk as well.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: removed a "fuzzy" in the de translation
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1185
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix for stray get_db_column calls left around. Thanks Eric Moritz.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added i18n to change_list so subparts can use i18n.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Pagination fix. Thanks bitprophet.
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixed messageID duplicates in translation files
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed manytoones in change_lists, cheers garthk
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1174, some other fixes
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1168
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1158
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixes for attname & date hierarchy
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1152
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to trunk r1143
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Template debug fixes. Now pinpoints character range rather than just line.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1137
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix for #743
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Templatised date_hierarchy.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Small template debugging fixes. Filter specs now have totally template driven output
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
fixed import typo
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to trunk r1124
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixes #731, updated gl translation
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: updated all translation files for new message IDs and updated german translation
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to trunk r1080
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed save_as option
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: added more translations to the admin (mostly view functions and decorators)
hu...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
new_admin: fixed a problem with make-messages.py and added first new translations (mostly to checkout the toolchain)
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix for view on site in change forms
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed RegexFilterParser for i18n
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
mod fix in result_headers
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added change_list_results.html and fixed order_type
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged i18n from trunk . To r1068.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Refixed raw_id admin, cheers bitprophet. Tiny regex filter parser change.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Raw id admin fix. Thanks bitprophet.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1044
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
More repr cleanups. Fixed template debugging and now it captures exceptions that occur during rendering. This pinpoints which template tag caused the exceptions and cuts down the stacktrace to what happened inside the template tag. Refactored some change list stuff.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Rationalised use of repr & str. Basically, use %s for any non error messages going to the user, including log messages. This means people can use __str__ and __repr__ in their models according to normal python conventions.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r1039
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Regex based filter profiler. 150% -> 170% speed up of parsing a filter. Also preserves i18n behaviour from i18n branch. Fix for auto populated field js and setup.py
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk 1024. Typo fixes to changelist stuff - thanks Bruce Mitchener.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed order_with_respect_to (finally), but still didn't add dom-drag.js because I don't know the licence. Fixes for some filtering stuff. Other cleanups.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged 1022
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to 1021. Initial split up of change lists to tags and templates. Needs work. Rationalised related object methods. Various bug fixes. A lot of changes here, so please let me know of any issues. Also I would appreciate examples of models with funky list views, eg searchs, pagination, filtering etc.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Synced to trunk. Fixed views/decorators/auth.py. Added extra customisation points to admin change_forms.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r985
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Changed how edit_inline works in the admin. Now it is done by a subclass of BoundRelatedObject. This means anyone using edit_inline="path/to/template" will need to subclass this ( or TabularBoundRelatedObject or StackedBoundRelatedObject). The functionality may be restored if it becomes obvious exactly what information should be available to these templates; before it was kind of random. So you can do class MyBoundRelatedObject(TabularBoundRelatedObject): def template_name(self): return "path/to/template" and then edit_inline=MyBoundRelatedObject to duplicate the previous functionality.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Rationalised related object methods
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Cleanups of whitespace changes and errors after big merge
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to r979
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to trunk r972
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix for doc view in admin due to merge. Thanks Ian.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r960. Nightmare. Removed old view functions in admin.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Add forgotten 'template_debug' template
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added TemplateDebugMiddleware. This intercepts TemplateSyntaxErrors that have been annotated with origin information and highlights where the problems are.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to 940
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixes for inline editing with custom follow.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r631.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixes for follow and manipulator stuff. And a fix for manipulator_save. Cheers bitprophet.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r911
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Cleanups of old debug bits. Fully clean DebugLexer. Reverted some testing changes.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Template fixes(unclosed div). Fix for manipulator save with add manipulators and follow arguments. Changed imports in template/decorators.py and removal of pointless code from DebugLexer
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Removed debug cruft
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r880. Fixed lexing bug in DebugLexer.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r875. Last commit message had r670, should have been r870.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r670. Moved decorators.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fix for null values in foreign keys. Thanks Andreas.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r863. Fixes to template error reporting and som cleanup of field binding
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r852. Cleaned up some templates. Efficiency fix in field_widget tag.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged to 818
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Small fixes: context for add_stage was wrong, and labels for booleans.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
clean up token parsing for error stuff and removed debug statements.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r802
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Fixed token parsing bug in the error stuff. Reorganisation and rationalisation of helper objects for admin templates.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Remove 'intentional' error for error message testing ;-)
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Template fixes for inline tabular to let errors show up properly Typo fix for extends tag doc Hugely improved messages for template syntax errors. Tokens and nodes are tagged with file and line numbers. These are used in error messages. Example: TemplateSyntaxError: Unclosed tag 'if' starting at /usr/lib/python2.4/site-packages/django/conf/admin_templates/admin_submit_line.html, line 6. Looking for one of: else, endif
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r789
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
small change to undo javascript testing modification
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged to r778. Added template tag decorators: * simple_tag : transforms a function outputting a string into a tag. arguments are converted into tag arguments, and defaults are supported. * inclusion_tag : transforms a function outputting a dictionary into a tag which renders an included template. The name of the template is given as an argument to the decorator, and the dictionary returnd by the function is used to populate the context to render the included template. The template is loaded at compile time, and the nodelist cached. Also made the {%include %} tag load the template at compile time if the argument is a constant string.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added templates for 'funny' widgets here: django/conf/admin_templates/widget Added a follow argument to manipulators. This allows you to exclude/include fields and related objects ( recursively), defaulting to current behaviour, meaning that forms can modify a subset of fields. This should fix #445. Fixed update generic view to use this (will change others soon). Merged to trunk r772.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Undo bad fix for #684
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merge to r764. Fix 684, also allow overloading indivual fields templates in the admin.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
merged r741:748 into new-admin
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Possible fix for #499. Also gets error handling working properly in the admin without changing field names.
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Merged trunk changes, and converted submit lines to use a template
rjwi...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Initial checkin of new admin branch. Ticket #535. I've tried to cover the changes below, but may have forgotten some. M django/conf/urls/admin.py Modified to allow running the old and new code in parallel. Simply add _old on the end of a change or add form to check against the behaviour of the old admin. eg http://myadmin/auth/users/1/ -> http://myadmin/auth/users/1_old/ A django/conf/admin_templates/admin_change_form.html A django/conf/admin_templates/admin_edit_inline_stacked.html A django/…
ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37
Added new-admin branch.