Loading repository data…
Loading repository data…
crsantos / repository
AppEngine Python Bundle for Textmate
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
#AppEngine Textmate bundle
The missing Python AppEngine Bundle, feel free to use and contribute.
##Installation
Better mixed with the Python Django Bundle
cd Library/Application\ Support/TextMate/Bundles/
git clone git@github.com:crsantos/textmate-AppEngine.git AppEngine.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
##Snippets
model / poly - The standard AppEngine Models for DB.sp - StringPropertybp - BooleanPropertyblp - BlobPropertydtp - DatePropertydttp - DateTimePropertyup - UserPropertyip - IntegerPropertyep - EmailPropertyrp - ReferencePropertytp - TextPropertypap - PostalAddressPropertypnp - PhoneNumberPropertybsp - ByteStringPropertylnp - LinkPropertylp - ListPropertysrp - SelfReferencePropertyblrp - BlobReferencePropertyslp - StringListPropertytimep - TimePropertyimp - IMPropertygeop - GeoPtPropertycp - CategoryProperty###Views
sout - self.response.out.write()obj - obj= ModelName(name="std")rget - request.get("...")red - self.redirect("...")reqh - class ReqHandlrName(webapp.RequestHandler):uri - self.request.uriuser - users.get_current_user()headers - self.response.headers['Content-type']render - self.response.out.write( template.render('',{})loginurl - users.create_login_url(self.request.uri)flash - flash.msg= 'the message'rit - run_in_transaction(...)###Queries
.p - put().f - filter().fe - fetch().o - order().a - all().d - delete()gq - gql(...)###Forms
form - Form()dform - ModelForm() (django style)