Skip to content

Commit

Permalink
attribution for source of some file upload code
Browse files Browse the repository at this point in the history
  • Loading branch information
pfibiger committed Nov 25, 2010
1 parent dbb84b4 commit 7fb6eda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions room.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ def post(self, room_slug):
leave_room(room=room, account=account)
self.redirect('/room/')

# upload code based on Nick Johnson's blog posts and uses his modified plupload
# http://blog.notdot.net/2010/04/Implementing-a-dropbox-service-with-the-Blobstore-API-part-2
class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self, room_slug):
upload_files = self.get_uploads('file')
Expand Down

0 comments on commit 7fb6eda

Please sign in to comment.