kopia lustrzana https://github.com/wagtail/wagtail
Documentation edits
rodzic
7d43a45dd3
commit
c9704caf17
|
@ -2,7 +2,7 @@
|
|||
Edit Page tabs
|
||||
================
|
||||
|
||||
A common feature of the *Edit* pages for all page types is the two tabs at the top of the screen. The first, Content, is where you build the content of the page itself.
|
||||
A common feature of the *Edit* pages for all page types is the three tabs at the top of the screen. The first, *Content*, is where you build the content of the page itself.
|
||||
|
||||
The Promote tab
|
||||
~~~~~~~~~~~~~~~
|
||||
|
@ -22,8 +22,7 @@ The second, *Promote*, is where you can set all the 'metadata' (data about data!
|
|||
The Settings Tab
|
||||
~~~~~~~~~~~~~~~~
|
||||
|
||||
The *Settings* has two fields by default.
|
||||
The *Settings* tab has two fields by default.
|
||||
|
||||
* **Go Live date/time:** Sets the time in which the changes should go live when published. If you publish a page that has this field set to a time in the future it will be scheduled until the time comes.
|
||||
See :ref:`scheduled_publishing` for more details.
|
||||
* **Expiry date/time:** Sets the time in which this page should be unpublished.
|
||||
* **Go Live date/time:** Sets the time at which the changes should go live when published. See :ref:`scheduled_publishing` for more details.
|
||||
* **Expiry date/time:** Sets the time at which this page should be unpublished.
|
||||
|
|
|
@ -13,7 +13,7 @@ publish_scheduled_pages
|
|||
|
||||
$ ./manage.py publish_scheduled_pages
|
||||
|
||||
This command publishes, updates or unpublishes pages that have had these actions scheduled by an editor. It is recommended to run this command once an hour.
|
||||
This command publishes, updates or unpublishes pages that have had these actions scheduled by an editor. We recommend running this command once an hour.
|
||||
|
||||
|
||||
.. _fixtree:
|
||||
|
|
|
@ -102,17 +102,16 @@ You can apply custom behavior to this process by overriding ``Page`` class metho
|
|||
Scheduled Publishing
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Page publishing can be scheduled through the *Go live date/time* feature in the *Settings* tab of the *Edit* page. This allows you to set set up initial page publishing or a page update in advance and it will only happen at the
|
||||
scheduled time.
|
||||
Page publishing can be scheduled through the *Go live date/time* feature in the *Settings* tab of the *Edit* page. This allows you to set set up initial page publishing or a page update in advance.
|
||||
In order for pages to be published at the scheduled time you should set up the :ref:`publish_scheduled_pages` management command.
|
||||
|
||||
The basic workflow is as follows.
|
||||
The basic workflow is as follows:
|
||||
|
||||
* Scheduling a revision for a page that is not currently live schedules that page to go live when the scheduled time comes.
|
||||
* Scheduling a revision for a page that is already live schedules that revision to update the page when the time comes.
|
||||
* If page has a scheduled revision and you set another revision to publish immediately the scheduled revision will be unscheduled.
|
||||
* Scheduling a revision for a page that is not currently live means that page will go live when the scheduled time comes.
|
||||
* Scheduling a revision for a page that is already live means that revision will be published when the time comes.
|
||||
* If page has a scheduled revision and you set another revision to publish immediately, the scheduled revision will be unscheduled.
|
||||
|
||||
The *Revisions* view for a given page will show which revision is scheduled and for when it is scheduled. A scheduled revision in teh list will also provide an *Unschedule* button to cancel it.
|
||||
The *Revisions* view for a given page will show which revision is scheduled and when it is scheduled for. A scheduled revision in the list will also provide an *Unschedule* button to cancel it.
|
||||
|
||||
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue