Skip to main content
gsquickstart is a TurboGears quickstart template plug-in for Genshi templates.
It will install a paste template which can be used with TurboGears'
``tg-admin quickstart`` command.


Installation
------------

Installation with setuptools::

$easy_install gsquickstart


Usage
-----

Creating a project
~~~~~~~~~~~~~~~~~~

The gsquickstart template is used like any other quickstart template with
tg-admin quickstart, you just have to specify the template name, which is
"tggenshi" (for TurboGears Genshi) with the ``-t`` option template instead
of the default kid template::

$tg-admin quickstart -t tggenshi [project name]

This will install three basic Genshi tempaltes and set up the project
configuration to use Gensi templates as default.


Updating a project
~~~~~~~~~~~~~~~~~~

For updating a project with the basic Genshi templates, change into your
project directory and run::

tg-admin update -t tggenshi

Since the "turbogears" template already installs Kid templates in
``<package>/templates``, they are removed by gsquickstart in a
post-template-creation step. But when update your project dir, the Kid
templates will be created again. Now gsquickstart can not just delete them
again, because they might have been created earlier and on purpose by the
developer.

What the new code does is: if it is an update command, prompt the user,
if the files ``<package>/templates/{login,master,welcome}.kid`` should
be removed (for each file). The default answer is 'n'.


Notice
------

The TurboGears 1.0 documentation is written with the default setting of
Kid & SQLObject in mind. The syntax of Genshi templates is very similar
to that of Kid but there are some differences to bear in mind.

For example, you need to make some changes to your templates, if you use
widgets with Genshi templates: put ``${ET(myform())}`` instead of
``${myform()}`` as a placeholder for widgets in the template.

You can find more information in the `TurboGears documentation`_ and on
the `Genshi website`_.

.. _TurboGears documentation :http://docs.turbogears.org/1.0/GenshiTemplating
.. _Genshi website: http://genshi.edgewall.org/wiki/GenshiFaq


What's new?
-----------

1.0
---

* The quickstart template was stripped of almost all files shared with the
standard "turbogears" template and now inherits from this template instead
of from "tgbase". The only files that are added/overwritten by "tggenshi"
are ``setup.py``, ``<package>/config/app.cfg`` and the Genshi templates
in ``<package>/templates/*.html``. But see the "Updating a project" section
above.

The new template structure makes it easier to stay synchronized with changes
to the standard turbogears template since most files will just be
inherited from.

* Synchronized ``app.cfg_tmpl` and `setup.py_tmpl`` with the latest
"turbogears" template.


1.0Beta2
--------

* Able to be indexed by turbogears cogbin.

Release files for gsquickstart 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for gsquickstart 1.0
File Size Uploaded
gsquickstart-1.0.zip 32.6 kB Details
gsquickstart-1.0.tar.bz2 25.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for gsquickstart 1.0
File Interpreter ABI Platform
gsquickstart-1.0-py2.5.egg Legacy Egg format - - Details
gsquickstart-1.0-py2.4.egg Legacy Egg format - - Details

Total release size: 118.9 kB

Release files / gsquickstart-1.0.zip

Download URL gsquickstart-1.0.zip
Size 32.6 kB
Tags Source
SHA-256 checksum
How to use checksums
905f68a4727fcf297862ce40bd85c0bd3ef79e564e151e76ed0f262e407d1a31
BLAKE2b-256 checksum
How to use checksums
8a46a7516fce8ea197e97eb928452f28daee5f06d6387a482acf78cae75cc0cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gsquickstart-1.0.tar.bz2

Download URL gsquickstart-1.0.tar.bz2
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7c2a2a4d661d461787bf031ec8745bc94797c3df9a23cc918b875f170e717fc6
BLAKE2b-256 checksum
How to use checksums
dc5f940b2570aea49a0209bdf3e811633f6b70bdebd5600de7560ae0d06cef38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gsquickstart-1.0-py2.5.egg

Download URL gsquickstart-1.0-py2.5.egg
Size 30.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
2b45d1b85b36b21f3e1666183c0c3d18c648b52e183329e447b58572d5cb3080
BLAKE2b-256 checksum
How to use checksums
fecfe6e4e764ca609fe2f55e34a3f1d6330fe83f2915c81d24a42ad14c313c01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gsquickstart-1.0-py2.4.egg

Download URL gsquickstart-1.0-py2.4.egg
Size 30.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
2b2f118010cee2484b896edb37eefdf09a6aa843c830e9d24d5e61b89f817249
BLAKE2b-256 checksum
How to use checksums
29b1f64b96ee4662d298c6a7ebef1d0d1ed037896584daaf5051954aae34cb6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page