Questions tagged [webapp2]

webapp2 is a lightweight Python web framework compatible with Google App Engine's webapp.

webapp2 is a lightweight Python web framework compatible with Google App Engine's webapp.

webapp2 extends webapp to offer better URI routing and exception handling, a full featured response object and a more flexible dispatching mechanism. It also includes sessions, internationalization, domain and subdomain routing, secure cookies and support for threaded environments.

webapp2 can also be used outside of Google App Engine, independently of the App Engine SDK.

References:

968 questions
-1
votes
1 answer

associate temporary values with appengine model querysets

The following is my model: I have two tables match and team: class Match(DictModel): date_time = db.DateTimeProperty() team1 = db.StringProperty() team2 = db.StringProperty() venue = db.StringProperty() result =…
user993563
  • 18,601
  • 10
  • 42
  • 55
-1
votes
1 answer

have slug in urls using webapp2

Problem: From jQuery i send a post request to server, the url i call is something like this: /get_post_data/my-custom-slug meaning i make a request to localhost:8080/get_post_data/my-custom-slug. But this may change to /my-custom-slug-two depending…
user993563
  • 18,601
  • 10
  • 42
  • 55
-2
votes
1 answer

trying to upload photo using html python and google app engine

Can someone give a basic idea on how to approach the problem. It's not working on localhost and blobstore is also not working. Is there any other method or can someone show me the correct approach? I am only showing the code related to the…
xyz
  • 37
  • 6
-2
votes
1 answer

Rewrite PHP Regular Expression in Python

I am writing a plugin for a Python based open source blog platform (similar to WordPress) on App Engine (with WebApp Framework and Django template) This plugin is exactly the same as this one:…
Susan Mayer
  • 335
  • 1
  • 3
  • 12
-3
votes
1 answer

Please help me improve my routing

My routing works towards me but it's built from a long time and since the framework was updated to webapp2 so I mix routings and don't know which way is best. Could you help me improve which and how I should do my routing? Is it better to make the…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
-3
votes
1 answer

How to upload file in python webapp2?

I am using python webapp2 (Python framework) and google app engine for my project, i want to upload files to my project directory just like move_upload_files in php Thanks
Sahibzada
  • 143
  • 1
  • 11
-4
votes
1 answer

My code isn't giving correct output

i want to display a form and after getting the details entered, if the day, month and year entered is valid display Thanks message else display the form again but the problem is when i click submit button i don't get any output but only a blank…
-6
votes
1 answer

How do I detect which image button (input type=image) was clicked using webapp2?

How do I determine, in a Python script running under Google App Engine (GAE), which input type=image (imagebutton) on a web page was clicked (using webapp2 handler)? I have a web form with two (currently, will be more) image buttons, and I need to…
RFlack
  • 436
  • 1
  • 5
  • 19
1 2 3
64
65