Extra paster templates for Pylons including repoze.what implementation
Project description
- PylonsTemplates gives you additional paster templates for Pylons applications.
(Right now, there is one.)
Based on the default Pylons paster template, the pylons_repoze_what template implements a working authorization system based on repoze.what and repoze.what-quickstart. (Authentication by repoze.who is automatically set up as well.) The template generates:
User, Group and Permission models for SQLALchemy
A login (& logout) controller
A minimal template for the login form.
A package dependency on repoze.what-pylons, which includes decorators you can use on controllers and actions.
Commented out sample code in websetup.py that creates a user, group, and permission.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file PylonsTemplates-0.1dev.tar.gz
.
File metadata
- Download URL: PylonsTemplates-0.1dev.tar.gz
- Upload date:
- Size: 28.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ffa69ed301e707dc832419eb4a55ea8eb5152168a04ae800602eeef0111e5f |
|
MD5 | d5b381e52fadcb0275a0e3226f1a09f3 |
|
BLAKE2b-256 | e5e780de7f2552b98a95b00fe168cbada915977ffc1c9b5927d6b0698646ce17 |