Matt Westcott
b1c75644f6
Stop replace_text from replacing multiple times on MTI subclasses.
...
Iterating over get_page_models means that these will be visited once
per superclass. To avoid this, we filter the page list to those exactly
matching the page class. This is done via a new `exact_type` method
on `PageQuerySet`.
2015-12-01 12:35:31 +00:00
Matt Westcott
c35ae95d9b
Document the remaining PageQuerySet methods
2015-11-30 22:16:08 +00:00
Matt Westcott
c025e1d3e5
Add a can_choose_root flag to PageChooserPanel.
...
This restores the previous behaviour, since there are plausible scenarios where choosing the root might be appropriate.
2015-11-02 15:12:42 +00:00
Karl Hobley
6eae465e64
Renamed "self" template variable to "page" in docs
2015-10-13 09:52:16 +01:00
Matt Westcott
c21800b7b0
Merge branch 'inline-panel-min-max' of https://github.com/kaedroho/wagtail into kaedroho-inline-panel-min-max
...
Conflicts:
wagtail/wagtailadmin/edit_handlers.py
2015-10-09 15:42:54 +01:00
Matt Westcott
7d67e4b448
Minor copyediting on the Pages docs
2015-10-05 21:07:09 +01:00
Karl Hobley
1b282d49bc
Work on "Page models"
2015-10-05 21:07:09 +01:00
Karl Hobley
e1bb391625
editing_api => panels
2015-10-05 21:07:08 +01:00
Karl Hobley
85414a8b54
Fixed headings
2015-10-05 21:07:08 +01:00
Karl Hobley
f72b8302f9
Moved "setting up the page editor interface" into topics
2015-10-05 21:07:08 +01:00
Tim Heap
bc6b5a8a6c
Normalise all code blocks in the docs
...
All `.. code::` instances have been changed to use `.. code-block::`,
and have been properly formatted. The syntax names have been normalised,
so all django templates use the `html+django` syntax, shell commands use
`sh`, and plain text uses `text`.
2015-10-05 16:55:58 +01:00
Tim Heap
5df60caef3
Rename is_abstract
to is_creatable
...
`is_creatable` better reflects what it is used for, and stops any
confusion between Wagtail's `is_abstract` and Django's `Meta.abstract`.
`is_creatable` takes in to account `Meta.abstract` now, so developers
will no longer need to set both `is_abstract` and `Meta.abstract`.
Documentation for the new attribute has been added, as well as tests.
2015-09-04 09:59:01 +10:00
Matt Westcott
e60e57016e
Merge branch 'bug/tagged-snippets' of https://github.com/takeflight/wagtail into takeflight-bug/tagged-snippets
...
Conflicts:
docs/topics/snippets.rst
2015-09-03 12:18:25 +01:00
Matt Westcott
2ed16e3ee2
Update documentation to indicate that SnippetChooserPanel no longer requires a snippet_type argument
2015-08-28 10:57:31 +01:00
Matt Westcott
7076e06ce7
Documentation for #1621
2015-08-25 16:15:31 +01:00
Tim Heap
537502b521
Add documentation for tagging snippets
2015-08-24 10:22:02 +10:00
Matt Westcott
85707d5925
Revert "Multiple page types in page chooser"
2015-08-11 18:00:05 +01:00
Karl Hobley
337a979257
#1582 - Fix typo in model reference
2015-08-05 14:13:00 +01:00
Nick Smith
38ee0991e6
Update #1533 according to feedback: docs and error message changes
2015-08-03 18:08:20 +01:00
Karl Hobley
faabc18ce7
Docs for multiple page types in PageChooserPanel
2015-07-20 14:55:58 +01:00
Karl Hobley
d7953cc501
Added min_num and max_num parameters to InlinePanel
...
Fixes #669
2015-07-19 20:32:41 +01:00
Karl Hobley
ad25aec535
Merge pull request #1480 from kaedroho/model-reference-tweaks
...
Model reference formatting tweaks
2015-07-14 09:38:50 +01:00
Karl Hobley
26dde89011
Tweaks to model reference
...
Now formatted in a similar way Django formats model references
2015-07-07 09:18:22 +01:00
Karl Hobley
25e5b97680
Tweaks to headers
2015-07-06 19:22:48 +01:00
Karl Hobley
70e83e8821
modelcluster.tags => modelcluster.contrib.taggit
2015-07-06 09:29:18 +01:00
Tim Heap
7d7eece0d1
Add .specific()
page queryset method
2015-06-29 15:53:18 +01:00
Karl Hobley
9713250c42
Moved theory doc into reference
2015-06-05 13:54:15 +01:00
Karl Hobley
201164ccb5
Moved page privacy to advanced topics
2015-06-02 09:14:55 +01:00
Karl Hobley
3b26ddc162
Fixed module names for a few classes
2015-06-01 16:03:59 +01:00
Karl Hobley
f9f6d52670
Moved page editor customisation to customisation section
2015-05-30 23:17:39 +01:00
Karl Hobley
9885d2fb7d
Fix typos
2015-05-29 14:21:08 +01:00
Karl Hobley
77d143a099
Some edits to model reference
2015-05-29 12:53:48 +01:00
Karl Hobley
2e0dcc88d5
Moved some of the reference docs into topics
2015-05-28 12:57:00 +01:00
Karl Hobley
f2012bcde0
Merge pull request #1319 from kaedroho/more-pages-docs-tweaks
...
Various improvements to pages docs
2015-05-27 09:47:34 +01:00
Harris L.
de7f1b4456
Update creating_pages.rst
...
Restore a missing `+`.
2015-05-20 12:25:09 -04:00
Karl Hobley
9139e6454f
Removed the little sites doc
...
Sites now have some reference documentation in the page models reference
2015-05-18 16:34:42 +01:00
Karl Hobley
ec0c9917c6
Improvements to the page model reference docs
2015-05-18 16:30:55 +01:00
Karl Hobley
6d6863c01d
Link to routablepage from "adding endpoints to pages" docs
2015-05-18 15:17:27 +01:00
Karl Hobley
29cd935dc3
Rename queryset reference and privacy pages
2015-05-18 15:12:19 +01:00
Karl Hobley
d2d43dca0a
Better formatting for page fields reference
...
No on the class so they can now be referenced with :meth:
2015-05-18 15:09:12 +01:00
Karl Hobley
01c38e27cd
Improvements to cross-linking
2015-05-18 15:09:12 +01:00
Karl Hobley
605fdc62f7
Moved page field reference to page model reference
2015-05-18 15:09:12 +01:00
Karl Hobley
2940ea9c9b
Fix too short underline
2015-05-18 13:24:48 +01:00
Karl Hobley
9dd4b0391a
Improvements to Page model reference docs
...
- Rename to "Page model reference"
- Add docs for fields
- Add docs for other models such as revisions, group page permissions, etc
2015-05-18 12:14:01 +01:00
Karl Hobley
980a29d839
Tweaks to editing api docs
...
Based on feedback from @tomdyson on #1310
2015-05-18 10:49:12 +01:00
Karl Hobley
b078bb755a
Spellchecked editing api docs
2015-05-18 10:44:07 +01:00
Karl Hobley
e04fa2b471
Merge rich text docs
2015-05-18 10:43:36 +01:00
Karl Hobley
866b762b7b
Merge "collapsing multi field panels" into MultiFieldPanel
2015-05-18 10:43:36 +01:00
Karl Hobley
3f780a1d8c
2 => 4 spaces
2015-05-18 10:43:36 +01:00
Karl Hobley
b92b1f7edb
Remove duplicate docs for col classes
2015-05-18 10:43:36 +01:00
Karl Hobley
a2804d2fe6
Move chooser panels next to other panels
2015-05-18 10:43:36 +01:00
Karl Hobley
e3fc465360
Move panels explanation above listing of panels types
2015-05-18 10:43:36 +01:00
Karl Hobley
457f5908a8
Break down FieldRowPanel docs
...
Hopefully, more reabable
2015-05-18 10:43:36 +01:00
Karl Hobley
ad222ffb18
Restructured basic panels docs
2015-05-18 10:43:36 +01:00
Karl Hobley
175d147e09
Tweaks to coding style of model examples
2015-05-18 10:43:36 +01:00
Karl Hobley
22ba2328a1
Don't document Documents here
...
Not the right place for it
2015-05-18 10:43:36 +01:00
Dave Cranwell
5c16f9e7e0
moved attr/prop/method reference into pages section
2015-05-14 11:54:41 +01:00
Dave Cranwell
3e5eb60bf9
moved pages, images, snippets, form builder, search into reference. Updated requirements, removed conflicting theme css file, updated README
2015-05-14 11:20:50 +01:00