| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
variables.
Thanks Florian for the bug report, luyikei for the initial code patch, and
Bouke for the code review feedback.
|
|
Thanks smeaton for report and Joël Rochat for spell check
|
|
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 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
|
|
|
|
|
|
`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.
|
|
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.
|
|
|
|
|
|
|
|
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
|
|
|
|
Clarified the explanation on the order in which user provided variables
to render_to_response, RequestContext and context processors are
loaded.
|
|
|
|
Added DateTimeCheckMixin to avoid the use of default, auto_now, and
auto_now_add options together. Added the fields.E151 Error that is raised
if one or more of these options are used together.
|
|
|
|
Thanks Stephen Burrows for work on the patch as well.
Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
|
|
|
|
|