| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
deprecation timeline.
|
|
|
|
| |
Thanks Jaap Roes for the idea and initial patch.
|
|
|
|
|
| |
Forwardport of ae1d663b7913f6da233c55409c4973248372d302
from stable/1.8.x plus more.
|
| |
|
| |
|
|
|
|
|
| |
There's absolutely no advantage [and a mild performance hit] to using six.iter*
in these cases.
|
|
|
|
|
|
|
|
| |
value."
This reverts commit 72f769f494822981db6df9524b92a2d86f8e69fe.
There are several test failures that need to be fixed.
|
| |
|
|
|
|
|
|
| |
Added a django.template logger without a default handler. Added
logging if there is an exception while resolving variables in a
template.
|
|
|
|
|
|
|
|
| |
Field.rel is now deprecated. Rel objects have now also remote_field
attribute. This means that self == self.remote_field.remote_field.
In addition, made the Rel objects a bit more like Field objects. Still,
marked ManyToManyFields as null=True.
|
| |
|
|
|
|
| |
This method is unused since 337d102b8612503bb9dc712bfbf07432a9a96302
|
|
|
|
| |
Since Python 2.7 and 3.1, "{0} {1}" is equivalent to "{} {}".
|
|
|
|
| |
django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
|
|
|
|
| |
refs #23395.
|
| |
|
|
|
|
|
|
| |
When content is supposed to contain HTML, we do not try to add
line breaks in read-only contents.
Thanks Alexander Todorov for the report.
|
|
|
|
| |
Fixed #21923. Refs #21719.
|
| |
|
| |
|
|
|
|
|
| |
With Python 2.7 and up, named parameter keys are not limited to
bytestrings any longer. This mainly reverts 3bd384aa626.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
``ModelAdmin.view_on_site`` defines wether to show a link to the object on the
admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is
used to get the url. If it's a callable, the callable is called with the object
as the only parameter. If ``False``, not link is displayed.
With the aim of maitaining backwards compatibility, ``True`` is the default.
|
|
|
|
| |
Thanks bartTC for the report.
|
|
|
|
|
| |
Thanks PaulM for the suggestion and Luke Granger-Brown and
Wiktor Kołodziej for the initial patch.
|
|
|
|
|
| |
Thanks Kidwind for the report and Julien Phalip for the initial
patch.
|
| |
|
|
|
|
| |
Thanks CollinAnderson for the report.
|
| |
|
| |
|
|
|
|
|
|
| |
Refactoring: field was renamed to field_name, since flatten_fieldsets returns field name, not field.
Original patch from Marc Aymerich Gubern
|
|
|
|
| |
in change forms when the raw value is None.
|
|
|
|
|
|
| |
In Python 3, the str type has an __iter__ attribute. Therefore, the
presence of an __iter__ attribute is not sufficient to distinguish
'standard' iterables (list, tuple) from strings.
|
|
|
|
|
|
|
|
|
|
|
| |
* Renamed smart_unicode to smart_text (but kept the old name under
Python 2 for backwards compatibility).
* Renamed smart_str to smart_bytes.
* Re-introduced smart_str as an alias for smart_text under Python 3
and smart_bytes under Python 2 (which is backwards compatible).
Thus smart_str always returns a str objects.
* Used the new smart_str in a few places where both Python 2 and 3
want a str.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Thanks Vinay Sajip for the support of his django3 branch and
Jannis Leidel for the review.
|
|
|
|
|
| |
This new syntax for next() has been introduced in Python 2.6 and is
compatible with Python 3.
|
|
|
|
|
|
| |
`DEBUG` is `False`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
Thanks, guettli and claudep.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
|
|
| |
staticfiles contrib app.
Many thanks to Florian Apolloner and Jacob Kaplan-Moss for reviewing and eagle eyeing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
|
|
|
|
| |
admin to conventional file system location.
This also removes the need for ADMIN_MEDIA_PREFIX and replaces it with the convention to find admin's static files at STATIC_URL + 'admin/'.
Thanks to Jacob for the review and general help.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
and InlineModelAdmin to be able to handle prepopulated fields on a case-by-case basis. Thanks, leanmeandonothingmachine.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
`readonly_fields` by passing the right ModelAdmin (sub)class instance when instantiating inline forms admin wrappers. Also, added early validation of its elements. Thanks kmike for the report and Karen for the patch fixing the issue.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
the admin. Thanks to jester for the report, and to alexbmeng, subsume, wamberg and Julien Phalip for ther work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
|
|
|
|
|
| |
line. Thanks, julien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|