Hi, I have:
class Posicion(db.Model):
id = db.StringProperty()
latitud = db.ListProperty(int)
def post(self):
_id = self.request.get("id")
_latitud = int(self.request.get("latitud"))
query_str = "SELECT * FROM Posicion WHERE id = '" + _id +"'"
posicion = db.GqlQuery (query_str)
if
On Mon, Nov 30, 2009 at 12:36 PM, david wrote:
> _id = self.request.get("id")
> _latitud = int(self.request.get("latitud"))
> query_str = "SELECT * FROM Posicion WHERE id = '" + _id +"'"
> posicion = db.GqlQuery (query_str)
Just word of warning, you are setting yourself up for a major gql
inj
You aren't doing .fetch() on your gqlquery.
On 11/30/09, david wrote:
> Hi, I have:
>
> class Posicion(db.Model):
> id = db.StringProperty()
> latitud = db.ListProperty(int)
>
> def post(self):
> _id = self.request.get("id")
> _latitud = int(self.request.get("latitud"))
> query_str = "S