pyramid_fanstatic

  194 downloads
0.4 MIT/X Consortium License    
  not rated
pyramid tween for fanstatic

description

download

specifications

pyramid_fanstatic provide a Pyramid tween for Fanstatic and a pyramid scaffold.

Scaffold

Just run:

 pcreate -s starter -s pyramid_fanstatic myproject

Or:

 pcreate -s pyramid_fanstatic myexistingproject

if you want to add pyramid_fanstatic to an existing project.

Then read README_FANSTATIC.txt

Fanstatic library definition is added to resources.py. Resources are located in the resources/ directory.

Tween usage

You can use all fanstatic options in your .ini. You just need to prefix options with fanstatic.:

[app:main]
...
fanstatic.publisher_signature = fanstatic


You should add at least those two options:

fanstatic.bottom = true
fanstatic.debug = true # in development.ini


Then include pyramid_fanstatic in your __init__.py:

config.include('pyramid_fanstatic')
READ MORE   
Last updated on September 21st, 2012

0 User reviews so far.

SUBMIT