допустим есть:
class Counts(db.Model):
id_counter = db.IntegerProperty()
count = db.IntegerProperty()
def count_add( id_counts ):
obj = Counts.all().filter( 'id_counter=',id_counts )
for i in obj:
i.count += 1
i.put()
class Counts(db.Model):
id_counter = db.IntegerProperty()
count = db.IntegerProperty()
def count_add( id_counts ):
obj = Counts.all().filter( 'id_counter=',id_counts )
for i in obj:
i.count += 1
i.put()
Counts.filter( 'id_counter=',id_counts ).get()
slav0nicСпасибо, работаетCounts.filter( 'id_counter=',id_counts ).get()