0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Andreas Bernacca
3cb59c2667 Remove Page & Site models from Django admin
- added instructions to release notes on how to reinstate on a per project basis
- Resolves #5703
2019-11-26 22:49:48 +10:00
Timothy Bautista
1b0aed7b20 use block.super in extra CSS/JS blocks
- ensure templates that have extra css/js blocks call {{ block.super }} in them
- wagtail.contrib.settings edit
- modeladmin templates
2019-11-20 20:34:00 +10:00
Karl Hobley
d37d5c1c60 Changelog/release notes for #5676 and #5688 2019-11-19 14:50:01 +00:00
LB
9b64a8647c Update contributor name 2019-11-16 18:28:21 +10:00
Brady Moe
f8c7d7f5f7 adds mark_safe to the render_form method on the structblock (#5687) 2019-11-08 11:03:09 +00:00
WinterComes
06fb0764e0 Move get_document_model to __init__ & add get_document_model_string
Avoids issues where models are not yet loaded and document model is needed.

- apply isort
- fix minor typos
- fixes #5614
2019-11-07 07:47:12 +10:00
Matt Westcott
e756a1879d Add release note for dropping Django 2.0 support 2019-11-06 17:10:32 +00:00
Fidel Ramos
b9f585a6c9 Compare foreign keys using pk, not id (#5681)
Trying to compare revisions of a page that includes changes to a foreign key
field of a related model that declared a custom primary key failed with an
uncaught exception.

The root cause was ForeignObjectComparison filtering by the id field, which is
not present in models that declare a custom primary key.

The solution is simply to filter by pk instead of id, which always maps to the
primary key of the corresponding model.

Include a regression unit test.
2019-11-06 17:00:41 +00:00
Nick Smith
1c1341e477 Improve contrast of disabled inputs
Fixes #5649
2019-11-03 07:41:08 +10:00
Matt Westcott
6ce9f3a717 Unbundle the l18n library
This was previously bundled in #4721 to avoid installation errors on non-Unicode locales. As of v2018.5, this has now been fixed upstream: https://bitbucket.org/tkhyn/l18n/issues/4/setuppy-raises-unicodedecodeerror-trying

isort fix
2019-10-30 08:03:41 +10:00
Karl Hobley
40dbb940e7 Improve diffing behavior for text fields 2019-10-29 17:22:49 -04:00
Igoranze
a459e91692 Fix submenu footer blocking items in admin
- items longer then the page height are no longer broken by the submenu footer
- long lists of submenu items are no longer blocked by the footer (version number)
2019-10-24 08:17:55 +10:00
LB
57d44a38bd Admin documents listing - rename 'uploaded' to 'created
Other changes

- documents listing template - clean up white space

Documentation changes (editors manual)

- update images
- remove popular tags mention as this is no longer applicable
- add references to 'collection'

Resolves #2827
2019-10-24 07:40:59 +10:00
Sergey Fedoseev
eab9198f4c Move flake8 config to setup.cfg 2019-10-23 18:09:07 +02:00
Sergey Fedoseev
40e56cbd7a Remove RichText.__nonzero__() unused on Python 3 2019-10-23 18:05:42 +02:00
Loic Teixeira
80c70c5de8 Add 2.8 section to changelog and release notes 2019-10-23 17:52:20 +02:00