Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (10 sloc) 0.242 kB
#!/usr/bin/env python
from functools import *
import pymongo
from sitetools import *
from config import config
conn = pymongo.Connection("localhost", 27017)
db = conn.bookdb
db.users.ensure_index("name")
users = db.users
books = db.books
Jump to Line
Something went wrong with that request. Please try again.