This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Google latitude backup | |
# | |
# This is a little helper to backup your location from Google Latitude to local disk. | |
# It saves data as JSON and as GPX. | |
# Usage is somewhat annoying: | |
# | |
# 1. get OACurl http://code.google.com/p/oacurl/ | |
# 2. follow the steps in http://code.google.com/apis/latitude/oacurl.html to get strarted | |
# You will have to register a domain with Google Apps and jump through hoops | |
# 3. Renerate a Key and a Secret for "installed applications" on the google API console, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import models | |
from wtforms import Form | |
from wtforms import fields | |
from wtforms import validators | |
class PasswordRestForm(Form): | |
email = fields.TextField('email') | |
class PasswordChangeForm(Form): | |
current = fields.PasswordField('Current Password') |