Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d3c0bad1e3
Fetching contributors…

Cannot retrieve contributors at this time

108 lines (86 sloc) 4.712 kb
layout title
default
Web.py Cookbook

Web.py Cookbook

Other languages :chinese 简体中文 | japan 日本語 | français | ...

Cookbook style documentation for web.py 0.3. Note that some of these features aren't available in previous versions. Currently version 0.3 is the development branch.

Formatting

  1. In terms of formatting, please try to use a cookbook-like format...that is:

    Problem: You want to access data from database.

    Solution: Use this code...

  2. Note that the urls don't need "web" in them -- just "/cookbook/select" , not "/cookbook/web.select".

  3. Finally, this documentation is for version 0.3, so please only add code that you know works with the new version.


Basics:

Advanced

Sessions and user state:

Utils:

Templates:

Testing:

User Input:

Database:

Deployment:

Subdomains:

  • Subdomains and how to access the username (requested)
Jump to Line
Something went wrong with that request. Please try again.