Tim Heap
96e9079890
Add Page.parent_page_types to the docs
2014-09-10 15:17:12 +10:00
Tim Heap
7b89f283db
Force Page._clean_sub/parent_page_types to be a list
2014-09-10 15:17:12 +10:00
Tim Heap
9aae3a1a23
Restrict child page types when creating them
...
The list of allowed child page types was restricted, but if you could
guess the URL to create a disallowed page type, nothing would stop you
creating it. Fixes a failing test case.
2014-09-10 15:17:12 +10:00
Tim Heap
4bcacfabf2
Add tests for new Page.parent_page_types setting
2014-09-10 15:17:12 +10:00
Tim Heap
42e175392e
Implement Page.parent_page_types
...
Similar to `Page.subpage_types`, but restricts which pages can have a
specific page type as a child.
Useful for Blog posts being restricted to Blog list pages, or similar
things.
2014-09-10 15:17:12 +10:00
Dave Cranwell
6d05fd79fe
Added get_verbose_name
2014-09-09 16:46:44 +01:00
Dave Cranwell
03745d01cb
added docstring to get_verbose_name, which is a particularly handy method for front enders
2014-09-09 16:47:35 +01:00
Matt Westcott
743717a46c
Add unit test to verify that URL methods on non-routable pages return None
2014-09-09 14:24:49 +01:00
Karl Hobley
3264d92db3
Fixed merge issue
2014-09-09 09:12:50 +01:00
Karl Hobley
82d60e514e
Changelog and contributers files updates
2014-09-08 09:20:25 +01:00
Karl Hobley
77b52b0a13
Merge pull request #603 from thenewguy/nosouth
...
do not import south for dj17
2014-09-08 09:05:16 +01:00
gordon
9f96f676fd
do not import south for dj17
2014-09-06 18:03:22 -04:00
Karl Hobley
ecd8d22c04
Merge pull request #599 from gasman/fix/child_relations
...
Fix page copy and replace_text to pick up child relations that are defined on a superclass
2014-09-05 12:49:57 +01:00
Matt Westcott
ecd8657523
add dj1.7 migration for adding 'colour' to AdvertPlacement test model
2014-09-05 12:37:58 +01:00
Matt Westcott
663218c458
fix tests I broke by fiddling with the AdvertPlacement test model
2014-09-05 12:17:26 +01:00
Karl Hobley
47fca3fac6
Improved consisntancy of spacing in 0.6 release notes
2014-09-05 11:47:00 +01:00
Matt Westcott
e94f610241
changelog entry for child_relations bugfixes
2014-09-05 11:46:49 +01:00
Matt Westcott
626526fe8c
Fix replace_text to catch child relations that are defined on a superclass
2014-09-05 11:38:40 +01:00
Karl Hobley
35035d7339
Added note to 0.6 saying that all features deprecated in 0.4 have been removed
2014-09-05 11:33:19 +01:00
Karl Hobley
fb23878ccb
Changelog and release notes for #535
2014-09-05 11:29:20 +01:00
Karl Hobley
dbd0834624
Merge pull request #535 from gasman/feature/menu-api
...
Refactor admin menu API to allow menu items to have bundled JS
2014-09-05 11:28:43 +01:00
Matt Westcott
609b22f722
Fix Page.copy() to copy child objects that are defined on a superclass of the model
2014-09-05 11:25:04 +01:00
Matt Westcott
339aff8026
Test the register_admin_menu_item hook, including the use of classnames/attrs and is_shown
2014-09-05 10:26:14 +01:00
Matt Westcott
9319667a23
Merge branch 'master' of github.com:torchbox/wagtail
2014-09-04 21:33:08 +01:00
Matt Westcott
2e20faa094
upgrade modelcluster to 0.4 - fixes #545
2014-09-04 21:32:39 +01:00
Matt Westcott
db41badd8c
add tests for accessing advert_placements on a subclass of Page - these require modelcluster 0.4 to pass
2014-09-04 16:04:59 +01:00
Dave Cranwell
36d5d747aa
Detail about image renditions and abstractimage fields
2014-09-04 11:01:24 +01:00
Karl Hobley
73d29b99c0
Fixes to RoutablePageMixin examples
2014-09-04 09:20:53 +01:00
Karl Hobley
a314285a1d
Changed versionadded for RoutablePageMixin to 0.6
2014-09-04 09:18:13 +01:00
Dave Cranwell
95d249918b
Update creating_pages.rst
2014-09-01 16:39:48 +01:00
Dave Cranwell
22f81498b5
Update creating_pages.rst
2014-09-01 16:39:33 +01:00
Dave Cranwell
6c159bee59
Update creating_pages.rst
2014-09-01 16:39:07 +01:00
Dave Cranwell
84aa8a1887
Update creating_pages.rst
2014-09-01 16:34:32 +01:00
Dave Cranwell
98fd81e910
Update creating_pages.rst
2014-09-01 16:33:15 +01:00
Dave Cranwell
04c65833f0
Update creating_pages.rst
2014-09-01 16:31:41 +01:00
Dave Cranwell
e2a3d549f8
Added how to add model descriptions
2014-09-01 16:30:43 +01:00
Dave Cranwell
0b3515a916
Update creating_pages.rst
2014-09-01 16:16:15 +01:00
Dave Cranwell
f0db8082c8
Better description of purpose
2014-09-01 16:09:22 +01:00
Matt Westcott
b0e97c954a
release notes / changelog for #574
2014-09-01 10:44:42 +01:00
Matt Westcott
6369fb2f6b
Merge pull request #574 from kaedroho/issue/573
...
Prevent rendition filenames going over 60 chars (even with a large focal_point_key)
2014-09-01 10:39:51 +01:00
Karl Hobley
0aee07fd5a
Exclude south_migrations from test coverage
2014-08-28 10:33:42 +01:00
Matt Westcott
f75ec76b3a
fix more documentation links in the readme
2014-08-27 17:12:54 +01:00
Karl Hobley
48401244ea
Changelog, readme, docs and release notes for Django 1.7 support
2014-08-27 16:08:10 +01:00
Matt Westcott
c558f25c52
Merge branch 'kaedroho-dj17_2'
2014-08-27 15:59:25 +01:00
Matt Westcott
f471f0bbf6
avoid using 'self' as a parameter to the non-method form of get_upload_to
2014-08-27 15:56:22 +01:00
Matt Westcott
2640258450
use the more natural 'django.VERSION < (1.7)' for version tests
2014-08-27 15:54:00 +01:00
Matt Westcott
075c9e8da0
add python3 + django 1.7 + sqlite as valid tox config
2014-08-27 15:43:46 +01:00
Matt Westcott
325d445592
Merge branch 'dj17_2' of https://github.com/kaedroho/wagtail into kaedroho-dj17_2
2014-08-27 15:40:17 +01:00
Karl Hobley
e8ea53f8e3
Fixed reference to non existant migration
2014-08-27 15:14:06 +01:00
Karl Hobley
e15134ecb3
Remade migrations for tests app
2014-08-27 15:09:52 +01:00