Commit graph

1768 commits

Author SHA1 Message Date
Tom Talbot
f4b5145368 Merge branch 'master' into 146-display-calculated-usage 2014-07-14 11:25:32 +01:00
Tom Talbot
1aefd60bd6 Fix unit test failures 2014-07-14 11:23:36 +01:00
Tom Talbot
edf10d4c6f Improve 'used by/usage count' implementation
- used_by() generates a database query instead of looping over a list of
  objects.
- usage_count() removed. Call count() on the queryset returned by
  used_by()
- Changed USAGE_COUNT to WAGTAIL_USAGE_COUNT_ENABLED. Added an inclusion
  tag for it.
2014-07-14 10:30:53 +01:00
Karl Hobley
67aa7f9406 Merge pull request #464 from kaedroho/makemessages
Rerun makemessages
2014-07-11 14:43:58 +01:00
Karl Hobley
5f83b4a423 Improvements to PageQuerySet docs 2014-07-11 14:25:14 +01:00
Karl Hobley
9958b67acc Merge pull request #391 from kaedroho/autodoc
Enable autodoc sphinx extension. Document PageQuerySet
2014-07-11 12:55:08 +01:00
Karl Hobley
1be09f2e1a Improvements to Page documentation 2014-07-11 12:50:35 +01:00
Karl Hobley
c05211d684 Improvements to PageQuerySet docs 2014-07-11 12:39:56 +01:00
Karl Hobley
4bfd0e5a20 Merge branch 'master' into autodoc
Conflicts:
	runtests.py
2014-07-11 12:23:25 +01:00
Karl Hobley
1ddf5651ba Run makemessages on wagtailstyleguide 2014-07-11 11:57:36 +01:00
Karl Hobley
a90bd0b0f1 Rerun makemessages on wagtailsnippets 2014-07-11 11:55:25 +01:00
Karl Hobley
e1754ebfa1 Rerun makemessages on wagtailsearch 2014-07-11 11:54:35 +01:00
Karl Hobley
acfcbe9aa3 Rerun makemessages on wagtailimages 2014-07-11 11:54:01 +01:00
Karl Hobley
6c3d1275cb Rerun makemessages on wagtailusers 2014-07-11 11:53:13 +01:00
Karl Hobley
8302cf2866 Rerun makemessages on wagtailredirects 2014-07-11 11:47:50 +01:00
Karl Hobley
3ceb816f45 Run makemessages on wagtailforms 2014-07-11 11:46:12 +01:00
Karl Hobley
88ea61ee38 Rerun makemessages on wagtailembeds 2014-07-11 11:45:35 +01:00
Karl Hobley
ba662ae9b1 Rerun makemessages on wagtaildocs 2014-07-11 11:43:25 +01:00
Karl Hobley
a4c7e90de9 Rerun makemessages on wagtailcore 2014-07-11 11:42:37 +01:00
Karl Hobley
40054a12f5 Rerun makemessages on wagtailadmin 2014-07-11 11:42:17 +01:00
Tom Talbot
d023614d7f Alter wagtailadmin.utils.used_by()
wagtailadmin.utils.used_by() no longer assumes that model
relationships to pages are named 'page'. Instead it assumes that all
ParentalKey relationships are relationships to pages.
2014-07-11 11:14:43 +01:00
Tom Dyson
00bc387ab2 consistent editors / editor's / Editor's 2014-07-10 17:28:07 +01:00
Karl Hobley
ab8bb0e5c6 Removed redundant 'in development' notice 2014-07-10 17:27:38 +01:00
Karl Hobley
f60dd67d86 Put 0.5 above 0.4 in menu 2014-07-10 17:26:01 +01:00
Karl Hobley
32be550ece Added 0.5 release notes to menu 2014-07-10 17:24:42 +01:00
Karl Hobley
ce679fced3 Made contents a bit smaller 2014-07-10 17:23:01 +01:00
Dave Cranwell
1d802e35c4 Update private_pages.rst 2014-07-10 17:22:07 +01:00
Tom Dyson
d1285af5c5 python -> Python 2014-07-10 17:20:48 +01:00
Tom Talbot
6ab88c9b58 Change assertRegexMatches to assertRegex 2014-07-10 17:15:56 +01:00
Dave Cranwell
a7576faebd Added contents 2014-07-10 17:11:23 +01:00
Dave Cranwell
46d8f61659 Added contents 2014-07-10 17:11:03 +01:00
Karl Hobley
6c6cd98e1f Added 0.5 release notes 2014-07-10 17:08:54 +01:00
Tom Dyson
883d6534e9 Typos in 0.4 release notes 2014-07-10 16:44:08 +01:00
Tom Talbot
844e1a66ef Remove stray print statement 2014-07-10 16:30:00 +01:00
Matt Westcott
ea7db7ba97 add note about fixing old migrations that break on the expired column 2014-07-10 16:28:51 +01:00
Tom Talbot
44429b96d2 Merge branch 'master' into 146-display-calculated-usage 2014-07-10 16:12:50 +01:00
Tom Talbot
4824286d31 Add unit tests for usage feature 2014-07-10 16:09:42 +01:00
Matt Westcott
a9b247b781 more explicit instructions for migrating away from deprecated things 2014-07-10 15:47:14 +01:00
Matt Westcott
de4381aaac Merge branch 'stable/0.4.x' 2014-07-10 13:40:42 +01:00
Matt Westcott
91d449de1b add changelog entry for private pages 2014-07-10 13:39:33 +01:00
Matt Westcott
f939af74dc Fix more doc syntax errors 2014-07-10 13:33:20 +01:00
Matt Westcott
4f8cfa6346 version / date bump to 0.4 in changelog, setup.py and docs 2014-07-10 12:57:56 +01:00
Dave Cranwell
5faa0652a2 Update frontenddevelopers.rst 2014-07-10 11:51:06 +01:00
Dave Cranwell
f73c5416ba Update frontenddevelopers.rst 2014-07-10 11:49:41 +01:00
Dave Cranwell
0987946786 Update frontenddevelopers.rst 2014-07-10 11:48:57 +01:00
Dave Cranwell
bd1c72c0aa References to image.src corrected - it's image.url 2014-07-10 11:47:40 +01:00
Tom Talbot
ae0d26e71b 'Usage' page now displays a table of pages. Add new 'USAGE_COUNT' setting. 2014-07-10 11:23:18 +01:00
Matt Westcott
2cc8629ab4 Merge branch 'kaedroho-searchchanges/bits-and-pieces-2' 2014-07-09 23:29:43 +01:00
Matt Westcott
9b8ee979d2 fix tests for lt, gte, lte filters to expect a multi_match response 2014-07-09 23:29:37 +01:00
Matt Westcott
3d161f1aa7 Merge branch 'searchchanges/bits-and-pieces-2' of https://github.com/kaedroho/wagtail into kaedroho-searchchanges/bits-and-pieces-2
Conflicts:
	wagtail/wagtailcore/models.py
	wagtail/wagtailcore/query.py
2014-07-09 23:28:55 +01:00