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

23 lines (18 sloc) 0.749 kB
from google.appengine.ext import bulkload
from google.appengine.tools import bulkloader
import sys
import os
sys.path.insert(0, '/home/ed/projects/mediatypes/lib')
sys.path.insert(0, '/home/ed/projects/mediatypes/')
import models
class MediaTypeLoader(bulkloader.Loader):
def __init__(self):
bulkloader.Loader.__init__(self, 'MediaType',
[('name', str),
('type', str),
('subtype', str),
('application_url', str),
('rfc_url', str),
('obsolete', bool),
])
loaders = [MediaTypeLoader]
Jump to Line
Something went wrong with that request. Please try again.