2

I'm a huge fan of Tipfy, but it's no longer being maintained. Webapp2 seems to have take its place, so I was wondering: how do I use access control lists if I'm using webapp2 instead of Tipfy?

Matt Norris
  • 8,596
  • 14
  • 59
  • 90

1 Answers1

2

You'd need to port it to webapp2. It should not be hard. Here're a few tips:

  • cached_property is available in webapp2.cached_property (they are equivalent)
  • the call to get_request() should use webapp2.get_request()
  • You can simply copy PickleProperty to use in your port.
  • CURRENT_VERSION_ID is available in os.environ (it is the app version).

Everything else should work as it is (after taking a quick look). There are few dependencies in that module; it is mostly some datastore models.

moraes
  • 13,213
  • 7
  • 45
  • 59
  • Thanks, @moraes. On a related note, do you recommend that people now use webapp2 instead of tipfy? I think tipfy is a great little framework. – Matt Norris Jul 28 '11 at 02:58
  • 1
    I do, and posted an explanation here: http://stackoverflow.com/questions/6774371/flask-vs-webapp2-for-google-app-engine/6786745#6786745 – moraes Jul 28 '11 at 03:07