Changeset 2597 in main for trunk/docs


Ignore:
Timestamp:
08/28/13 13:22:29 (6 years ago)
Author:
pcosquer
Message:

new feature: document templates

To create a document template, you must first add specific lifecycle:

  • back up and stop
  • ./manage.py loaddata template_lifecycles
  • ./manage.py migrate
  • restart

Then create a new document and select the "Template" lifecycle.
Add files and promote this document.

Create another document of the same type and select the template.
Its files should be copied.

Location:
trunk/docs/en
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/en/admin/ht_2_install_server.rst

    r2563 r2597  
    1818This HowTo is based on: 
    1919 
    20     * Debian Wheezy 
    21     * Apache Server version: Apache/2.2.22 (from Debian) 
    22     * PostgreSQL 9.1 
    23     * Python 2.6.X or 2.7.X 
    24     * Django 1.5.X 
    25     * Celery 3.0.X 
     20    * Debian Squeeze 
     21    * Apache Server version: Apache/2.2.16 
     22    * PostgreSQL 8.4.4 
     23    * Python 2.6.X 
     24    * Django 1.2.X 
     25    * Celery 2.3.X 
    2626    * Haystack 1.2.X 
    2727    * Xapian 1.2.X 
     
    135135    * ``./manage.py syncdb --all`` 
    136136    * ``./manage.py migrate --all --fake`` 
    137     * ``./manage.py loaddata extra_lifecycles`` to load optional lifecycles 
     137    * ``./manage.py loaddata extra_lifecycles template_lifecycles`` to load optional lifecycles 
    138138     
    139139    .. note:: 
  • trunk/docs/en/admin/upgrade/upgrade-2.1.rst

    r2595 r2597  
    1818    ``pip freeze``. 
    1919 
     20 
     21Template lifecycles 
     22====================== 
     23 
     24You should add specific lifecycles to create document templates: 
     25 
     26    * ``./manage.py loaddata template_lifecycles`` 
     27 
     28You can also create yours with the admin interface. Simply choose 
     29the *Template* type instead of the *Standard* type when you create 
     30a lifecycle. 
  • trunk/docs/en/devel/index.rst

    r2143 r2597  
    3030    richtext 
    3131    testing 
     32    doctemplate 
Note: See TracChangeset for help on using the changeset viewer.