def post(self):
        form = TechnologyForm(self.request.POST)

        if form.validate():
            title = form.data["title"]
            slug = title.strip().lower().replace(" ", "-")
            technology = Technology(title = title, slug = slug)
            technology.put()
        else:
            print form.errors

        self.redirect_to('admin-projects-technologies')
    def post(self, technology_id):
        form = TechnologyForm(self.request.POST)

        if form.validate():
            slug = form.data["title"].strip().lower().replace(" ", "-")
            technology = Technology.get(long(category_id))
            form.populate_obj(technology)
            technology.put()

        return {
            "result": {
               "id": technology.key().id(),
               "title": technology.title,
               "slug": technology.slug,
           }
        }