Karl Hobley
bd36438545
Added system check for ForeignKey cascade
...
Pages can be linked to other Pages, Images, etc through ForeignKeys. If
the object being referenced by a page gets deleted, the page itself will
be deleted as well. Also, the page will not be cleanly removed from the
tree (leaving orphans, out of date num_child, etc). It is very common to
accidentally forget to set the on_delete action to models.SET_NULL.
This pull request checks all ForeignKey fields on pages and makes sure
that they are not set to cascade. If they are set to cascade, the
developer will be warned of their mistake.
This only works for Django 1.7 users as it uses the system checks
framework.
2014-10-17 16:46:46 +01:00
Karl Hobley
d770e94687
Merge pull request #713 from nimasmi/fix_wagtailforms_formfields
...
Fix typo in wagtailforms.forms.FormBuilder.formfields
2014-10-17 12:14:33 +01:00
Nick Smith
0349b71766
Fix typo in wagtailforms.forms.FormBuilder.formfields
2014-10-17 10:57:42 +01:00
Karl Hobley
3d38e7dd1b
Release note for 1377a6c
2014-10-17 09:02:38 +01:00
Karl Hobley
281e4e8908
Changelog for 1377a6c
2014-10-17 09:01:46 +01:00
Karl Hobley
994a919a25
Release note for #697
2014-10-17 09:00:12 +01:00
Karl Hobley
c84f04281c
Changelog for #697
2014-10-17 08:59:43 +01:00
Chris Rogers
89fc679270
Merge pull request #697 from davecranwell/return-to-edit
...
Editing/Publishing/Submitting a page no longer leaves the page editor
2014-10-16 11:12:08 +01:00
Dave Cranwell
4eabb3f928
Weird hanging sentence removed.
2014-10-15 15:20:16 +01:00
Karl Hobley
7fe1c0b09b
Release note for #690
2014-10-14 18:11:33 +01:00
Karl Hobley
38df0574e9
Changelog for #690
2014-10-14 18:10:40 +01:00
Karl Hobley
d4ace07ca0
Added @jsma to contributors
2014-10-14 18:07:49 +01:00
Karl Hobley
292b15d82e
Merge pull request #690 from jsma/patch-1
...
Fixes for custom user models support
2014-10-14 18:06:33 +01:00
Karl Hobley
7530ed4500
Changelog for #686
2014-10-14 18:04:55 +01:00
Karl Hobley
666771565f
Minor tweak to #686 relase note
2014-10-14 18:04:20 +01:00
Karl Hobley
8380096f2c
Merge pull request #686 from takeflight/feature/register-signals-in-appconfigs
...
Use AppConfig.ready to register signal handlers
2014-10-14 18:02:42 +01:00
Tim Heap
7d22f34996
Use AppConfig.ready to register signal handlers
...
Also remove references to `admin.autodiscover()`, as this is called from
the AdminConfig when `django.contrib.admin` is loaded.
2014-10-14 09:33:19 +11:00
Matt Westcott
cd279ebb19
Merge pull request #698 from dericcrago/patch-1
...
ubuntu.sh & debian.sh missing from https://wagtail.io/
2014-10-13 17:44:56 +01:00
Deric Crago
7602cf820b
ubuntu.sh & debian.sh missing from https://wagtail.io/
...
ubuntu.sh & debian.sh missing from https://wagtail.io/
switched to:
https://raw.githubusercontent.com/torchbox/wagtail/master/scripts/install/ubuntu.sh
https://raw.githubusercontent.com/torchbox/wagtail/master/scripts/install/debian.sh
2014-10-13 11:05:01 -04:00
Dave Cranwell
7ef1b7e59b
Placeholder for 0.8 added
2014-10-13 15:32:12 +01:00
Dave Cranwell
87ee7c8d07
date/time/datetime picker shoudl close after choice.
2014-10-13 15:31:11 +01:00
Dave Cranwell
a3a79185a8
updated tests
2014-10-13 12:35:54 +01:00
Dave Cranwell
b99f21c861
Merge branch 'master' into return-to-edit
2014-10-13 12:17:45 +01:00
Dave Cranwell
6b3fecaf3b
Merge remote-tracking branch 'upstream/master'
2014-10-13 12:15:24 +01:00
Dave Cranwell
61d54f5d4f
fixed tests broken by new abstract class 'indicator'
2014-10-13 12:15:02 +01:00
Karl Hobley
1377a6c756
Fixed pinned dependency versions
...
These can cause real headaches if you have a different version of six or requests on your host machine.
This should fix the ``pkg_resources.DistributionNotFound`` error some people have been getting with the "wagtail start" command.
2014-10-13 12:08:36 +01:00
Dave Cranwell
48cd39f740
tweaks to unusual formatting
2014-10-13 11:56:12 +01:00
Dave Cranwell
20172065d3
tweaks to unusual formatting
2014-10-13 11:55:45 +01:00
Dave Cranwell
0f3ecf262a
tweaked empty dash appearing for non-default sites
2014-10-13 11:50:11 +01:00
Dave Cranwell
1c551b55e9
creating should also remain on page after submit
2014-10-13 11:44:16 +01:00
Dave Cranwell
29d5cc0cb1
mistake
2014-10-13 11:40:06 +01:00
Dave Cranwell
cfae30a328
corrected redirect
2014-10-13 11:39:03 +01:00
Dave Cranwell
e18e156564
added missing indicators on pages_for_moderation and recent_edits
2014-10-13 11:31:10 +01:00
Dave Cranwell
78d9dede0b
editing a page no longer redirects to explorer. success messages added to locking/unlocking process.
2014-10-13 11:17:58 +01:00
Karl Hobley
d78b540e20
Merge pull request #691 from zerolab/seperated-separated-typo
...
Typo fix in wagtailforms help text
2014-10-10 10:51:55 +01:00
John-Scott Atlakson
f058e89e4d
Fixed more instances of username => get_username()
2014-10-09 20:10:13 -04:00
John-Scott Atlakson
6edaa095bf
Fixed admin home page for custom user models
2014-10-09 19:33:35 -04:00
Dan Braghis
f3569c61fc
Fix typo
2014-10-09 20:53:53 +01:00
Matt Westcott
d5d0dcc5c5
update translations
2014-10-09 20:10:29 +01:00
Matt Westcott
aa0f0b942e
prepare for 0.7 release
2014-10-09 19:51:26 +01:00
Karl Hobley
9640030e4c
Merge pull request #688 from gasman/fix/delete_duplicate_renditions
...
update focal_point_key migrations to delete duplicate renditions (ref: #685 )
2014-10-09 17:32:00 +01:00
Matt Westcott
4bc657e1a2
release note re updating custom Rendition models - fixes #685
2014-10-09 17:29:10 +01:00
Matt Westcott
44b7fb247d
update focal_point_key migrations to delete duplicate renditions
2014-10-09 17:04:01 +01:00
Karl Hobley
0264c794bd
Update images/index.rst
2014-10-09 13:10:18 +01:00
Matt Westcott
1ef27b5b25
Merge branch 'kaedroho-feature/order-by-last-revision-date'
2014-10-09 12:24:50 +01:00
Matt Westcott
f2af37cc6c
release note for #683
2014-10-09 12:24:31 +01:00
Matt Westcott
55adcf63c6
Consistently include the word 'ago' when using the timesince filter
2014-10-09 12:18:51 +01:00
Matt Westcott
ad9468b550
Merge branch 'feature/order-by-last-revision-date' of https://github.com/kaedroho/wagtail into kaedroho-feature/order-by-last-revision-date
2014-10-09 12:07:50 +01:00
Karl Hobley
d1d5e68ed4
Fixed test
2014-10-08 18:38:16 +01:00
Matt Westcott
58e42e9acd
Update the Sites documentation, because the Sites UI is no longer in the future :-)
2014-10-08 16:56:12 +01:00