summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2005-09-29Changed [735] so that database-agnostic SQL always gets executed, even if ↵Adrian Holovaty
database-specific SQL doesn't exist. git-svn-id: http://code.djangoproject.com/svn/django/trunk@737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} ↵Jacob Kaplan-Moss
variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint. git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #363 - django-admin sqlall now uses database-specific initial data ↵Jacob Kaplan-Moss
files if they exist. git-svn-id: http://code.djangoproject.com/svn/django/trunk@735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #541 - generic views now may take a {{{template_loader}}} argument so ↵Jacob Kaplan-Moss
they can use a different template loader than Django's own. Thanks, Joao. git-svn-id: http://code.djangoproject.com/svn/django/trunk@734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #574 - small CSS issue in admin tables. Thanks, Hein-PieterJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #576 - popups no longer show "save & continue" buttons. Thanks, ↵Jacob Kaplan-Moss
Hein-Pieter git-svn-id: http://code.djangoproject.com/svn/django/trunk@731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Changed django.core.template_file to use absolute import for 'template' moduleAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #537 -- Fixed typo in [718]. Thanks, EsajAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #537; thanks, fonsoJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #546 - render_to_string and render_to_response may now take lists of ↵Jacob Kaplan-Moss
templates and use select_template instead of get_template. Thanks, hugo git-svn-id: http://code.djangoproject.com/svn/django/trunk@717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #106 - "Add another" now correctly works in IE - thanks, PaoloJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #501 -- Fixed block.super in multi-level templates, and added unit ↵Adrian Holovaty
tests to confirm. Thanks for the patch, django@kieranholland.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29Fixed #573 -- Added 'Add another' link to many-to-many fields in admin. ↵Adrian Holovaty
Thanks, hp@syntomax.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-28Fixed #553 -- Added django.core.meta.fields.Field.get_internal_type() hook, ↵Adrian Holovaty
for creating custom meta.Field subclasses. Thanks, wojtek3 git-svn-id: http://code.djangoproject.com/svn/django/trunk@713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Moved JING from django.core.validators into settings where it belongs. ↵Jacob Kaplan-Moss
Fixes #568. git-svn-id: http://code.djangoproject.com/svn/django/trunk@712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #567 -- Added HttpRequest.has_key() method. Thanks, wojtek3@brandlay.comAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Added EMAIL_SUBJECT_PREFIX setting so you can customize the "[Django]" prefixJacob Kaplan-Moss
on emails send with mail_admins/mail_managers. Refs #568. git-svn-id: http://code.djangoproject.com/svn/django/trunk@710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #544 -- Added xmlns and lang attributes to <html> tag in ↵Adrian Holovaty
admin_templates/base.html, so that the admin works when served as application/xhtml+xml. Thanks, Sune Kirkeby git-svn-id: http://code.djangoproject.com/svn/django/trunk@706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #131 -- URLconfs that are 'included' now receive captured parameters ↵Adrian Holovaty
from parent URLconfs. Thanks for the idea, jcernelli@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27Fixed #213 -- Improved formfields.TimeField.html2python() so that it doesn't ↵Adrian Holovaty
fail for None input git-svn-id: http://code.djangoproject.com/svn/django/trunk@702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Quick bug fix to [699] - fixes #515.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Fixed type in static view URL pattern example (refs #428)Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Added exception handlers to take care of the bugs with the file and db backendsJacob Kaplan-Moss
(refs #515). Eugene, I'm going to leave #515 open; can you check the bug fixes in this revision and mark the ticket as closed if you're satisfied? I don't run Django in a threaded environment, so I'm having issues reproducing your errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Subclassed models now use their own class name (or explicitly defined ↵Adrian Holovaty
verbose_name) as the verbose_name, not the parent's verbose_name. See also #558 and [697]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Fixed #558 -- Subclassed models now use their own class name (or explicitly ↵Adrian Holovaty
defined module_name) as the module_name, not the parent's module_name git-svn-id: http://code.djangoproject.com/svn/django/trunk@697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Fixed #515 (again) - renamed "key" field in SQL cache to "cache_key" because Jacob Kaplan-Moss
MySQL reserves "key". git-svn-id: http://code.djangoproject.com/svn/django/trunk@695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26Fixed #489 -- Changed MySQL backend to use longtext for XMLFieldAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #469 -- Admin changelist no longer assumes ForeignKey has 'ordering' ↵Adrian Holovaty
set when ordering by a ForeignKey field git-svn-id: http://code.djangoproject.com/svn/django/trunk@693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added a database-backed cache backend, along with a tool in django-admin to Jacob Kaplan-Moss
create the necessary table structure. This closes #515; thanks again, Eugene! git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #468 -- Model classes now get an accessor method to get the ↵Adrian Holovaty
human-readable value for each field that has 'choices' set. Thanks, Robert git-svn-id: http://code.djangoproject.com/svn/django/trunk@687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Added "locmem" and "file" cache backends. "locmem" is a thread-safe ↵Jacob Kaplan-Moss
local-memory cache, and "file" is a file-based cache. This refs #515; much thanks to Eugene Lazutkin! git-svn-id: http://code.djangoproject.com/svn/django/trunk@686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Improved model validator so that it checks for PIL if ImageFields are usedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #550 -- Default admin template now checks user permissions, hiding ↵Adrian Holovaty
apps/modules/actions for which the user doesn't have permissions. Thanks, Jason Huggins git-svn-id: http://code.djangoproject.com/svn/django/trunk@684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #428 -- added a "static pages" view. Note that this view should only ↵Jacob Kaplan-Moss
be used for testing! git-svn-id: http://code.djangoproject.com/svn/django/trunk@683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25Fixed #556 -- ManyToManyField join tables no longer assume the primary keys ↵Adrian Holovaty
of both associated tables are integers. Also added unit tests to confirm. git-svn-id: http://code.djangoproject.com/svn/django/trunk@682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-24Fixed #489 -- Changed MySQL backend to use longtext instead of text for ↵Adrian Holovaty
TextField git-svn-id: http://code.djangoproject.com/svn/django/trunk@680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Made a small improvement to django.views.core.flatfiles so that it only uses ↵Adrian Holovaty
select_template if a custom template is available, so as not to hit the filesystem. git-svn-id: http://code.djangoproject.com/svn/django/trunk@677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Changed django.views.core.flatfiles to use get_object_or_404Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Changed django.views.admin.template to use render_to_response, to cut on codeAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Changed django.views.admin.main to use get_object_or_404 and ↵Adrian Holovaty
render_to_response, to cut on code git-svn-id: http://code.djangoproject.com/svn/django/trunk@674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Added django.core.extensions get_object_or_404 and get_list_or_404Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #543 -- Fixed broken mod_python support due to an import in the wrong ↵Adrian Holovaty
place git-svn-id: http://code.djangoproject.com/svn/django/trunk@672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #264 -- Added django.core.validators.isValidIPAddress4. Thanks, Hugo ↵Adrian Holovaty
and Simon git-svn-id: http://code.djangoproject.com/svn/django/trunk@671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/html; ↵Adrian Holovaty
charset=utf-8' by default git-svn-id: http://code.djangoproject.com/svn/django/trunk@670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Added request.session.delete_test_cookie()Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #236 -- Added HttpResponse.delete_cookie() method.Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Removed a legacy 'TODO' from django.middleware.sessionsAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-23Fixed #539 -- Added support for strides to 'slice' template filter, and made ↵Adrian Holovaty
the code more efficient. Thanks, Esaj git-svn-id: http://code.djangoproject.com/svn/django/trunk@666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-22Converted load_and_render() calls to render_to_response() because of [664].Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-22Added django.core.template_loader.render_to_string and ↵Adrian Holovaty
django.core.extensions.render_to_response. django.core.extensions.load_and_render is deprecated in favor of render_to_response. git-svn-id: http://code.djangoproject.com/svn/django/trunk@664 bcc190cf-cafb-0310-a4f2-bffc1f526a37