SQLAlchemy + URL Dispatch Wiki TutorialΒΆ
This tutorial introduces a SQLAlchemy and url dispatch -based Pyramid application to a developer familiar with Python. When the tutorial is finished, the developer will have created a basic Wiki application with authentication.
For cut and paste purposes, the source code for all stages of this tutorial can be browsed at https://github.com/Pylons/pyramid/tree/1.3-branch/docs/tutorials/wiki2/src.
- Background
- Design
- Installation
- Basic Layout
- Defining the Domain Model
- Defining Views
- Adding Authorization
- Adding A Root Factory
- Add an Authorization Policy and an Authentication Policy
- Adding an authentication policy callback
- Adding Login and Logout Views
- Changing Existing Views
- Adding the
login.pt
Template - Add a “Logout” link when logged in
- Seeing Our Changes To
views.py
and our Templates - Viewing the Application in a Browser
- Adding Tests
- Distributing Your Application