| Age | Commit message (Collapse) | Author |
|
|
|
Also added a compatibility check for changed middleware defaults.
Forwardport of d94de802d3 from stable/1.7.x
|
|
Thanks to @gdub for the report and intial patch and
@charettes and @timgraham for the review.
|
|
Thanks chrj for the suggestion.
|
|
Moved logic to syncdb command for backwards compatibility.
|
|
Credits for the initial patch go to ejucovy;
big thanks to Tim Graham for the review.
|
|
|
|
|
|
|
|
Fixes #19905 again.
|
|
Refs #19973.
|
|
Prevented clashes in the app registry.
Fixed #22790. Thanks timo for the report.
|
|
|
|
|
|
ValueError.
This prevents silent data loss.
Thanks Aymeric Augustin for the initial patch and Loic Bistuer for the review.
|
|
|
|
|
|
|
|
choices"
This reverts commit 9d1987d7679165ad3a7c2b713a8a488cc1421905.
|
|
|
|
Fixed #20550 -- Added ability to preserve test db between runs
|
|
|
|
Thanks Simon Charette and Tim Graham for the reviews.
|
|
|
|
|
|
Thanks Tim Graham for the report.
|
|
|
|
|
|
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.
|
|
When using ManifestStaticFilesStorage, deleted static files would be
correctly cleaned up by "collectstatic --clear", but the manifest file
would still contain the stale entries.
Thanks to tedtieken for the report
|
|
|
|
|
|
|
|
Thanks alexdlaird for the report.
|
|
Considering that these apps only translate their app name, it's not
worth having a whole bunch of po files just for that. The translatable
app name for those apps will be integrated in Django core catalog.
|
|
The tests would error out with an ImproperlyConfigured error
if the user had psycopg installed but not geos.
Thanks to mcgohier for the report.
|
|
Workaround for now, Andrew will look into it.
|
|
Authorization backends can now raise PermissionDenied in "has_perm"
and "has_module_perms" to short-circuit authorization process.
|
|
(django.contrib.admin)
|
|
|
|
|
|
Thanks Stephen Burrows for work on the patch as well.
Forwardport of 2914f66983a92fcae55673c517dd8d01e8c238c4 from stable/1.7.x
|
|
This is a security fix. Disclosure following shortly.
|
|
session.
Previously, when logging out, the existing session was overwritten by a
new sessionid instead of deleting the session altogether.
This behavior added overhead by creating a new session record in
whichever backend was in use: db, cache, etc.
This extra session is unnecessary at the time since no session data is
meant to be preserved when explicitly logging out.
|
|
|
|
It's the one shown when the optional integration described in
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature
is used.
Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix
different small UI regressions after a962286b74.
Refs #21293.
|
|
|
|
user password change in the admin.
Thanks ross at servercode.co.uk for the report.
|
|
Refs #22451.
|
|
|