| Age | Commit message (Collapse) | Author |
|
values.
Thanks danielsamuels for the report
|
|
|
|
|
|
Unicode method on model should return unicode
|
|
|
|
The example of a __unicode__ model method should return a unicode value
instead of a string.
|
|
|
|
Thanks Daniel Pope for the suggestion.
|
|
Thanks Rudolph for the report.
|
|
Removed the FieldError raised by ModelBase.__new__ in this case.
|
|
|
|
Fixed #20550 -- Added ability to preserve test db between runs
|
|
Thanks matklad for the report.
|
|
|
|
`makemigrations` will automatically create the package specified
in `MIGRATION_MODULES` if it doesn't already exist.
Thanks ovidiuc4 for the report.
|
|
|
|
`django.forms.extras.widets.SelectDateWidget`
Thanks danielsamuels for the report
|
|
|
|
|
|
Thanks semenov for the report.
|
|
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
|
|
|
|
Added documentation about `--dry-run` and `--merge`.
|
|
|
|
|
|
|
|
Refs #8620.
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
|
|
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
|
|
|
|
|
|
The first part of django.contrib.postgres, including model and two form
fields for arrays of other data types.
This commit is formed of the following work:
Add shell of postgres app and test handling.
First draft of array fields.
Use recursive deconstruction.
Stop creating classes at lookup time.
Add validation and size parameter.
Add contained_by lookup.
Add SimpleArrayField for forms.
Add SplitArrayField (mainly for admin).
Fix prepare_value for SimpleArrayField.
Stop using MultiValueField and MultiWidget.
They don't play nice with flexible sizes.
Add basics of admin integration.
Missing:
- Tests
- Fully working js
Add reference document for django.contrib.postgres.fields.ArrayField.
Various performance and style tweaks.
Fix internal docs link, formalise code snippets.
Remove the admin code for now.
It needs a better way of handing JS widgets in the admin as a whole
before it is easy to write. In particular there are serious issues
involving DateTimePicker when used in an array.
Add a test for nested array fields with different delimiters.
This will be a documented pattern so having a test for it is useful.
Add docs for SimpleArrayField.
Add docs for SplitArrayField.
Remove admin related code for now.
definition -> description
Fix typo.
Py3 errors.
Avoid using regexes where they're not needed.
Allow passing tuples by the programmer.
Add some more tests for multidimensional arrays.
Also fix slicing as much as it can be fixed.
Simplify SplitArrayWidget's data loading.
If we aren't including the variable size one, we don't need to search
like this.
|
|
|
|
Added ModelForm and NON_FIELD_ERRORS imports.
|
|
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path). A feature has been added to also allow a list of strings.
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
|
|
#22667 replaced occurrences of master/slave terminology with leader/follower
|
|
|
|
|
|
The paragraph was a copy of strictly_above.
|
|
modules."
This reverts commit 950b6de16ac2f8135612f2ed5984c090dd8e4dcf.
|
|
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path).
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
|
|
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309
Thanks michael.cherkasov for the report.
|
|
|
|
user_passes_test.
|
|
|
|
|
|
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
|
|
Exceptions from the (receiver, exception) tuples returned by
``send_robust()`` now have always their traceback attached as their
``__traceback__`` argument.
|
|
|
|
|
|
Authorization backends can now raise PermissionDenied in "has_perm"
and "has_module_perms" to short-circuit authorization process.
|