Skip to main content

Pyramid Scaffold for getting started with SQLAlchemy ORM and Jinja2 Templating Engine

Project description

OVERVIEW
---------
jinja2_alchemy_starter is a scaffold for getting started with a pyramid project using Jinja2 Templating Engine and SQLAlchemy ORM

INSTALLATION
-------------
Install it in your existing python installation (`virtualenv` is recommended)

If you have source file available locally::

/opt/pyenv/bin/easyinstalljinja2alchemystarterX.tar.gzOrtodownloadandinstallfromPyPI:: /opt/py_env/bin/easy_install jinja2_alchemy_starter

After successful installation, `pcreate` will also list `jinja2_alchemy_starter` as available scaffold::

/opt/pyenv/bin/pcreatelAvailablescaffolds:alchemy:PyramidSQLAlchemyprojectusingurldispatchjinja2alchemystarter:PyramidprojectwithJinja2andSQLAlchemypyramidjinja2starter:pyramidjinja2starterprojectstarter:Pyramidstarterprojectzodb:PyramidZODBprojectusingtraversalUSAGETocreateanewpyramidprojectusingjinja2alchemystarterjustpassthatassargument:: /opt/py_env/bin/pcreate -s jinja2_alchemy_starter MyProject

This will create MyProject directory in your working directory.

PUT IT TO WORK
---------------
- Edit development.ini to reflect your DB settings.
- Edit rest of the files





CHANGES
=======

0.3.1
-----
- Added missing setup.cfg file that has locale specific commands
- Added message-extraction.ini file to scaffold

0.3
----
- Added pyramid_includes in development.ini. (pyramid_tm is invaluable for transaction handling)
- Changed view code - session object instantiation occurs in individual views

0.2.2
-----
- Added zope.sqlalchemy in the requirement list in the scaffold setup.py

0.2.1
------
- Added an example code (commented) about using session in views

0.2
---
- Added locale information to the scaffold

0.1
---
- Initial Release

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page