I am planning to implement stripe https://stripe.com/ for a project.
Are there any issues relating to Stripe and is there anyone using it?
Thanks.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
I was trying to upgrade to 1.5.4 and I downloaded the new version from
the download page and now when I click the browse button on the
Launcher I get and ascii error. I did reinstall and repair but did not
help. Does anyone know what is going on?
This is the error:
Traceback (most recent call
There was no answer to this question at Stackoverflow.
http://stackoverflow.com/questions/7456670/how-do-i-add-search-parameters-to-search-page-url
This is the form:
self.response.out.write(
form name=search_form action=/searchhandler method=postbr /
input type=text name=search_string size=40
use your app?
- even if users use your app will advertisers use your app?
On Mar 25, 2:27 am, Zeynel azeyn...@gmail.com wrote:
I posted the link to my application a few days ago to HN but there
were no comments so I reposted it today with the offer in the title to
encourage
traffic from?
- even if you get the traffic why should users use your app?
- even if users use your app will advertisers use your app?
On Mar 25, 2:27 am, Zeynel azeyn...@gmail.com wrote:
I posted the link to my application a few days ago to HN but there
were no comments so I reposted
” than
“android tablets”. (but I will also update search algorithm to account
for the plural of words)
Might also be cool to see some info about the 'paid rank' and/or click count
of each link.
Yes. Definitely. Added to feature list. Thanks agains for the
comments.
Hi Zeynel,
Interesting
I posted the link to my application a few days ago to HN but there
were no comments so I reposted it today with the offer in the title to
encourage comments: http://news.ycombinator.com/item?id=2366115
Please take a look and let me know what you think.
http://ting-1.appspot.com/
And thanks
the trouble
of having them take them from you later.
-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Zeynel
Sent: Thursday, March 24, 2011 4:27 PM
To: Google App Engine
Subject: [google-appengine] Review my app
here and trying. I also like the fact that GAE is not mySQL.
-Brandon
-Original Message-
From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Zeynel
Sent: Thursday, March 24, 2011 4:56 PM
To: Google App Engine
Subject: [google
http://checkout.google.com/support/sell/bin/answer.py?hl=enanswer=64730
shows how to add a field for customer-chosen price. But the button in
that example is for fast checkout. I am trying to add the price to
cart but the price in the cart is always zero. Does anyone know how to
pass the price in
I asked the same question at Checkout forum but there was no answer. I
would like users to pay for tags they associate with links they submit
to the site (I guess like Google keywords). In the script (python) I
have a variable total_value that I would like to pass to Buy Now
Button as the price.
Do you import these
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import db
in your python script?
On Feb 21, 12:31 pm, thahir hussain s.thahirhuss...@gmail.com wrote:
hi i am using google app engine and trying to
I asked the same question in the Checkout forum but there was no
answer. I would like users to pay for tags they associate with links
they submit to the site (I guess like Google keywords). In the script
(python) I have a variable total_value that I would like to pass to
buy now button as the
I cannot upload or access the site. It's been very good lately; I hope
this is fixed soon.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this
I wasn't sure reading documentation:
http://code.google.com/appengine/docs/python/overview.html
Thanks.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe
On Jan 23, 3:12 am, Claude Vedovini cla...@vedovini.net wrote:
to do that you need to have your form action posted to /dir?type=xxx
I have
action=/directorysubmithandler
I don't understand why form handler needs to be the final url. Can you
explain.
but a better way is to add a hidden field
On Jan 23, 1:12 am, Robert Kluin robert.kl...@gmail.com wrote:
If you're trying to do this using Mako templates, here is a fully
functional 'demo' that you should be able to easily adapt to do
exactly what you're asking about.
Thanks! But I decided in principle not to use templates at this
This seems to be an encoding issue with the text editor I was using. I
saved the file in notepad as dir_details.html and the problem
disappeared.
On Jan 22, 11:46 pm, Zeynel azeyn...@gmail.com wrote:
class TemplateHandler(webapp.RequestHandler):
def get(self):
greeting = hello
On Jan 20, 4:25 pm, Ernesto Karim Oltra ernestoka...@gmail.com
wrote:
Third, you must use URL parameters for this purpose, so you links must
be something like this:
a href=/dir?type=tshirtTshirt/a
a href=/dir?type=otherother/a
And in your handler:
merchandise_type =
Hello,
In the Directory handler I have
merchandise_type = self.request.get(type)
How do I use merchandise_type in the DirectorySubmitHandler?
class Directory(webapp.RequestHandler):
def get(self):
merchandise_type = self.request.get(type, )
items = Item.all()
On Jan 22, 12:07 pm, djidjadji djidja...@gmail.com wrote:
Make merchandise_type a hidden input field of the form generated by
Directory() and get the value in the DirectorySubmitHandler().
Ok. I have the hidden field in the form in Directory like this:
input type=hidden name=dir_type
On Jan 22, 12:53 pm, djidjadji djidja...@gmail.com wrote:
input type=hidden name=dir_type value=###
instead of ### print the value of the variable merchandise_type
Thanks, but I don't understand. The value of the url parameter is
given by
self.request.get(type, )
I cannot put this value in
On Jan 22, 4:53 pm, djidjadji djidja...@gmail.com wrote:
urllib.urlencode() should be used to quote the parameter
import urllib
self.redirect(/dir?%s % urllib.urlencode({ 'type' :
self.request.get(dir_type) } )
Thanks. But obviously I am missing something here. The value of type
in
I am still trying to resolve the question that I asked here:
http://groups.google.com/group/google-appengine/browse_thread/thread/62738fb02ee228f7/1b554d60be59e2fe?hl=en#1b554d60be59e2fe
I tried to use only one handler instead of two.
The new DirectoryHandler is here:
On Jan 22, 8:02 pm, djidjadji djidja...@gmail.com wrote:
'type' is between quotes == a string.
Has nothing to do with a variable or a function object.
I understand this. If I use this solution the url is always
/dir?type=type=
type is not replaced with the merchandise_type. Maybe I am not
Also, this is the mapping I use:
('/dir', DirectoryHandler),
Thanks.
On Jan 22, 8:29 pm, Zeynel azeyn...@gmail.com wrote:
I am still trying to resolve the question that I asked
here:http://groups.google.com/group/google-appengine/browse_thread/thread/...
I tried to use only one handler
class DirectoryHandler(webapp.RequestHandler):
def get(self):
merchandise_type = self.request.get(type, )
def post(self):
item.type = merchandise_type
#gives name not defined error
Is there a way to use this
On Jan 22, 9:06 pm, Calvin calvin.r...@gmail.com wrote:
First thing: there shouldn't be an else: at the top of this code. def get()
and def post() are two separate methods of the DirectoryHandler class.
Thanks! I fixed that and now post writes to the database but I still
cannot get the url
On Jan 22, 10:35 pm, Robert Kluin robert.kl...@gmail.com wrote:
So, if you are getting 'type=' twice, did you think about trying:
self.redirect(/dir?%s % urllib.urlencode({ type :
self.request.get(dir_type) } ))
Yes, actually I thought about that but I did not try it because I did
not get
class TemplateHandler(webapp.RequestHandler):
def get(self):
greeting = hello
template_values = {
'greeting': greeting,
}
path = os.path.join(os.path.dirname(__file__),
'dir_details.html')
self.response.out.write(template.render(path,
Hello,
I am creating a new directory page to list Merchandise. The /dir/
dhp.html page has these links:
ul
libMerchandise/b/li
ul
lia href=/dirTshirts/a/li
lia href=/dirMugs/a/li
lia href=/dirPosters/a/li
/ul
libArticles/b/li
libVideo/b/li
/ul
/dir is handled by the Directory handler which will
On Jan 18, 11:27 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
...
pass the continue URL in to the handler,
or have separate URLs based on the origin,
or use AJAX ...
Thanks. I notice the problems that you mentioned when I test the app.
Can you help with some more specific
I am reading the Serving Dynamic Images article
http://code.google.com/appengine/articles/python/serving_dynamic_images.html
It's straighforward but on the Retrieving and Displaying Images
section he has the GetImage handler and he writes that The first
thing the request handler does is retrieve
On Jan 17, 11:39 pm, Robert Kluin robert.kl...@gmail.com wrote:
You sort-of offer the solution yourself, you need to store the fact
that a user has voted for a specific article. If they try to vote
again, tell them 'no.'
Thanks. I changed the models like this
class SiteUser(db.Model):
so in that case the title 'matrix' would be passed to the getMovie
function.
On 19 January 2011 13:52, Zeynel azeyn...@gmail.com wrote:
I am reading the Serving Dynamic Images article
http://code.google.com/appengine/articles/python/serving_dynamic_imag...
It's straighforward
I changed my model from
class Item(db.Model):
title = db.StringProperty()
url = db.StringProperty()
date = db.DateTimeProperty(auto_now_add=True)
author = db.UserProperty()
vote = db.IntegerProperty(default=1)
to
class SiteUser(db.Model):
user = db.UserProperty()
As Nick Johnson pointed out
http://stackoverflow.com/questions/4731657/google-app-engine-is-not-creating-table-python
I had to enter at least one record. Thanks.
On Jan 18, 9:43 pm, Zeynel azeyn...@gmail.com wrote:
I changed my model from
class Item(db.Model):
title = db.StringProperty
Hi,
I just added a new page /hot to sort by number of votes to articles.
VoteHandler handles the vote with
item.vote +=1
item.put()
self.redirect(/newest)
but now the new page /hot also refers to this VoteHandler.
After writing the new vote to the database I need to redirect to
either /hot or
-for-president.appspot.com/
On Jan 16, 10:04 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Zeynel,
You might want to read my blog post about using Disqus on App
Engine:http://blog.notdot.net/2009/10/Blogging-on-App-Engine-part-6-Comments...
You don't need to do anything special - just create one
Thanks! But I noticed that in this case relative urls do not work. I
am not sure why. In the rest of the script all urls are relative.
On Jan 17, 1:26 pm, Robert Kluin robert.kl...@gmail.com wrote:
Hi Zeynel,
Assuming webapp, how about:
if self.request.referrer == '/whatever
/2.5.2/lib/string-methods.html
On Mon, Jan 17, 2011 at 14:28, Zeynel azeyn...@gmail.com wrote:
Thanks! But I noticed that in this case relative urls do not work. I
am not sure why. In the rest of the script all urls are relative.
On Jan 17, 1:26 pm, Robert Kluin robert.kl...@gmail.com
Hello,
I just finished a simple voting feature for my app:
class VoteHandler(webapp.RequestHandler):
def get(self, id):
id = int(id)
item = Item.get_by_id(id)
user = users.get_current_user()
if user:
greeting = (%s (a href='%s'sign out/a) %
application: sarah-for-president
version: 1
runtime: python
api_version: 1
handlers:
- url: /stylesheets
static_dir: stylesheets
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
- url: /.*
script: sarah.py
inbound_services:
- mail
I
On Jan 17, 5:11 pm, Brandon Wirtz drak...@digerat.com wrote:
Authenticate the user, store their vote, if they vote a second time it
changes their vote. Very easy.
I don't understand. I authenticate user with
user = users.get_current_user()
if user:
greeting = (%s (a href='%s'sign
Can this be helpful to you
http://www.stereoplex.com/blog/python-unicode-and-unicodedecodeerror
On Jan 17, 10:53 pm, Josir josi...@gmail.com wrote:
Hi folks, I have the following code:
_CHOICES_FORMATION = (
'Administração',
'Design Gráfico',
'Jornalismo',
'Marketing',
On Jan 16, 1:08 am, Robert Kluin robert.kl...@gmail.com wrote:
I guess it depends on exactly what item.author is, but have you
tried author.nickname()?
Hi Robert,
author is from my model:
class Item(db.Model):
title = db.StringProperty()
url = db.StringProperty()
date =
On Jan 16, 1:11 am, Robert Kluin robert.kl...@gmail.com wrote:
What kind of auth does your app use, Google, Apps Domain, Federated?
You might also want to explain the actual problem in more detail.
What are the links produced, etc...
Hi Robert,
The app is using Google Accounts API as
On Jan 16, 9:44 am, djidjadji djidja...@gmail.com wrote:
Try to find out why this is double in the URL
http://sarah-for-president.appspot.com/http://sarah-for-president.app...
try this code snippet
url = users.create_logout_url(/)
logging.info(URL:+url)
ok. Here's the result:
, djidjadji djidja...@gmail.com wrote:
Try to find out why this is double in the URL
http://sarah-for-president.appspot.com/http://sarah-for-president.app...
try this code snippet
url = users.create_logout_url(/)
logging.info(URL:+url)
2011/1/16 Zeynel azeyn...@gmail.com:
On Jan 16, 1
On Jan 16, 12:04 pm, djidjadji djidja...@gmail.com wrote:
According to the manual
http://code.google.com/appengine/docs/python/users/functions.html
Thanks! I changed the / to self.request.uri and it seems to work
now:
if user:
greeting = (%s (a href='%s'sign out/a) %
Hello,
I am reading this sample app called overheard
http://code.google.com/appengine/articles/overheard.html to add
ranking functionality to my app.
His models.set_vote() function has a line
vote = Vote.get_by_key_name(key_names = user.email(), parent = quote)
and his Vote model is
class
Currently, if I want to look at traffic, do I need to get Google
Analytics separately?
On Jan 16, 3:45 pm, branflake2267 branflake2...@gmail.com wrote:
I wanted to suggest adding domain web master tools and analytics links to
the left menu that link directly to the analytics and or tools in the
Hello,
I have my model like this
class Item(db.Model):
title = db.StringProperty()
url = db.StringProperty()
date = db.DateTimeProperty(auto_now_add=True)
author = db.UserProperty()
but now I realized that in order to have a voting algorithm I needed
to have a separate model for
On Jan 15, 9:14 am, djidjadji djidja...@gmail.com wrote:
You could use the URL dispatcher to check for validity of the passed
id by making the id part of the URL
http://me-for-president.appspot.com/item/1
in the code
class ItemPage(webapp.RequestHandler):
def get(self, id):
On Jan 15, 11:18 am, djidjadji djidja...@gmail.com wrote:
And deal with the individual item in the next handler
class ItemPage(webapp.RequestHandler):
def get(self, id):
id = int(id)
item = Item.get_by_id(id)
# rest of the handler
Thanks for your help. This works:
class
I am using this standard code from documentation
http://code.google.com/appengine/docs/python/users/overview.html:
if user:
greeting = (%s (a href=\%s\sign out/a) %
(user.nickname(), users.create_logout_url(/)))
else:
greeting = (a href=\%s\Sign in or register/a. %
Hello,
I am working on a simple news site for people to post Sarah Palin
related links. At this point I have a submit page
http://sarah-for-president.appspot.com/submit and a newest page
http://sarah-for-president.appspot.com/newest
But I also want to add a comments page (like in Hacker News) so
I figured that
i_id = item.key().id()
logging.info(i_id is: %s % item.key().id())
gets the id number. Can anyone help about forming the corresponding
url?
Thanks.
On Jan 14, 7:38 pm, Zeynel azeyn...@gmail.com wrote:
Hello,
I am working on a simple news site for people
(item.title),
cgi.escape(item.key().id(
File C:\Python26\lib\cgi.py, line 1023, in escape
s = s.replace(, amp;) # Must be done first!
AttributeError: 'long' object has no attribute 'replace'
Can anyone help?
On Jan 14, 9:10 pm, Zeynel azeyn...@gmail.com wrote:
I figured that
i_id
(item.title), cgi.escape(str(item.key().id()
self.response.out.write(/ol)
On Jan 14, 9:38 pm, Zeynel azeyn...@gmail.com wrote:
I tried this:
self.response.out.write(ol)
for item in items:
self.response.out.write(lia href=%s%s/abr /
a href=/item?%scomments/a/li
On Dec 11, 10:11 am, Massimiliano massimiliano.pietr...@gmail.com
wrote:
How can I do it?
This is how I do it:
plaintext = message.bodies(content_type='text/plain')
for text in plaintext:
txtmsg =
txtmsg = text[1].decode()
Hello,
At this testing phase I am registering users by email and they can
choose any user name. If I want to create user pages, how do I handle
the URLs? Thanks.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
On Dec 4, 8:34 pm, Chris Copeland ch...@cope360.com wrote:
You must use urlfetch to http post to the blobstore upload handler.
Hi,
The below code seems to work. But now I want to pick up the data part
of an attachment and write that to the datastore.
... to my local time?
Thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
On Dec 5, 5:53 pm, Chris Copeland ch...@cope360.com wrote:
You can star this
issue:http://code.google.com/p/googleappengine/issues/detail?id=734
Thanks, Chris. I didn't realize there was an elapsed time at the top
and bottom:
‹ Prev 20 1-20 Next 20 › (Top: 0:01:46 ago)
so at least this is
, 5:26 pm, Zeynel azeyn...@gmail.com wrote:
I just put together the following script that saves an attachment as
an avatar. I tested it once and then went on doing other things; when
I came back I noticed in the logs that the app kept sending the email
again and again every few minutes. Why
I seem to have found the error; see the SO thread.
On Dec 5, 9:10 pm, Zeynel azeyn...@gmail.com wrote:
See also this
question:http://stackoverflow.com/questions/4362350/google-app-engine-keeps-cr...
Google App Engine keeps calling register.py and creating a new user.
Do you know why
Why is this code not working?
http://pastebin.com/dxWJPNCa
Thanks!
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
To write an image to datastore? Can you help?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
Issue resolved:
http://stackoverflow.com/questions/4353939/how-to-write-an-image-to-datastore
On Dec 3, 11:12 pm, Zeynel azeyn...@gmail.com wrote:
Hello:
I have been trying to learn how to save and retrieve an image from
datastore with no success so far. I copied the code from
On Dec 4, 11:08 am, Tim Hoffman zutes...@gmail.com wrote:
Remember there are no tables. Just kinds representing models.
I am confused by this statement. When I look at the Development
Console - Datastore Viewer; I see a table named after the model. In my
case, I have a table called User with
In this line from Using Images Python API
http://code.google.com/appengine/docs/python/images/usingimages.html#Serving
greeting = db.get(self.request.get(img_id))
in
class Image (webapp.RequestHandler):
def get(self):
greeting = db.get(self.request.get(img_id))
if
narinder:
App Engine uses Datastore to store items:
http://code.google.com/appengine/docs/python/gettingstarted/usingdatastore.html
On Dec 3, 10:39 pm, narinder aggarwal aggarwal.narin...@gmail.com
wrote:
How can we work with database with google application engine ?
Are we also provided any
On Dec 3, 11:25 pm, Robert Kluin robert.kl...@gmail.com wrote:
When the main page renders, it will include something like: img
src='img?img_id=asdnmmfd2fdg32d390dsf4gf3gg2'/img.
Hello Robert:
Thanks for the answer. Unfortunately, I still fail to understand what
is going on here. This line
Hello,
I have hw.py, incoming.py and register.py and they all use models. I
thought of putting them in model.py (like django) and import it. If I
do that, of course, I need to use
query = model.User.all()
instead of
query = User.all()
Is this a good idea? Or is it better to have the models in
Hello,
I created register.py to receive email from users. I added register.py
to app.yaml by copying the code from the tutorial
http://code.google.com/appengine/docs/python/mail/receivingmail.html
application: hello-1-world
version: 1
runtime: python
api_version: 1
handlers:
- url: /favicon.ico
keakon: Thank you!
On Nov 24, 11:49 am, 风笑雪 kea...@gmail.com wrote:
application = webapp.WSGIApplication([
*Register*.mapping()
], debug=True)
--
keakon
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group,
On Nov 20, 11:06 pm, Robert Kluin robert.kl...@gmail.com wrote:
What kind of properties are on the entity you are trying to edit?
I looked at this again:
userEmailSubject (None)
userEmailSubject (string)
If it is None edits are not saved. If it is string edits are saved.
--
You received
Hello,
In the Development Console, Datastore Viewer, if I click on the Entity
Key I get a page that says Edit Entity and I edit one of the fields
and Save Changes. But changes are never saved. Do you know why?
--
You received this message because you are subscribed to the Google Groups
Google
I am trying to receive mail with this handler from cookbook
I'm reading the Receiving Email tutorial but so far I was unable to
make it work. I dont understand how to access the received email. Can
somebody explain?
I created the app.yaml and I added inbound services and url mapping:
application: hello-1-world
version: 1
runtime: python
api_version: 1
On Nov 19, 2:20 pm, Geoffrey Spear geoffsp...@gmail.com wrote:
To simulate email in the dev server, you need to use the dashboard
athttp://localhost:8081/_ah/admin/
Thanks. I send an email from http://localhost:8081/_ah/admin/inboundmail
but I am confused about how to access the content of the
On Nov 18, 11:23 pm, Erick Fleming efleming...@gmail.com wrote:
Robert is correct. You either need to have an HTML form in order to
create a POST request, or you could use a program like curl from the
command line.
Thanks, Erick and Robert! I included the form
On Nov 19, 2:11 pm, Ikai Lan (Google) ikai.l+gro...@google.com
wrote:
Can you explain what you don't understand? We can use your feedback to
improve the documentation.
Thanks for your response. Up to this point documentation was great;
including the introduction to Python
Hello,
I am trying to send email by using the examples in the tutorial:
http://code.google.com/appengine/docs/python/mail/overview.html
class MainPage(webapp.RequestHandler):
def get(self):
message =
On Nov 18, 4:45 pm, Erick Fleming efleming...@gmail.com wrote:
what's your form and routing code look like?
Hi Erick,
That's the entire code. I hardcoded the emails; there is no form; I am
just trying to make sending/receiving email work.
For routing I have this:
application =
On Nov 18, 7:00 pm, Peter Warren pe...@nomad.org wrote:
+1
I just tried and I got 500 error
Error 500: --- begin server output ---
htmlhead
meta http-equiv=content-type content=text/html;charset=utf-8
title500 Server Error/title
/head
body text=#00 bgcolor=#ff
h1Error: Server Error/h1
In the Sending Mail tutorial
http://code.google.com/appengine/docs/python/mail/sendingmail.html
there is (I believe) a decorator:
@login_required
But dev server gives the error
NameError: name 'login_required' is not defined
Is there a way to achieve the same in a less cryptic way without
In this Sending Mail tutorial
http://code.google.com/appengine/docs/python/mail/sendingmail.html
it seems that
message.subject is missing.
Dev server throws MissingSubjectError()
Adding missing.subject = hello fixes the problem.
from google.appengine.api import mail
from google.appengine.api
The tutorial here
http://code.google.com/appengine/docs/python/mail/sendingmail.html
has POST:
class InviteFriendHandler(webapp.RequestHandler):
@login_required
def post(self):
to_addr = self.request.get(friend_email)
But when I tried the same code with POST it did not
On Nov 18, 10:09 pm, Gaurav Vaish gaurav.va...@gmail.com wrote:
Post.
Thanks Gaurav. Can you tell why POST is not working in the code that I
am using? And how to fix it so that I can use POST.
--
You received this message because you are subscribed to the Google Groups
Google App Engine
I just started to read it
http://code.google.com/appengine/docs/python/mail/receivingmail.html
Can you recommend other sources with more beginner friedly tutorial? I
found this at SO:
http://stackoverflow.com/questions/2149322/set-up-mail-to-receive-emails-on-google-app-engine
Any other
On Nov 18, 10:47 pm, Robert Kluin robert.kl...@gmail.com wrote:
In your form you specify the method as get. Change it to post.
form action=/invite method=post
Great! Thanks. I had to change the handler too:
def post(self):
--
You received this message because you are subscribed to
Hello,
I am trying to send this email from the app
mail.send_mail(sender=owners_email_acco...@gmail.com,
to=...@gmail.com,
subject=test email from app,
body=hello)
but I get the error:
InvalidSenderError: Unauthorized
How do we generate invite link in this example:
http://code.google.com/appengine/docs/python/mail/sendingmail.html
message.body =
I've invited you to Example.com!
To accept this invitation, click the following link,
or copy and paste the URL into your browser's address
bar:
%s
%
Hello,
I am having problems with Development server running very slow. At
some point previously GAE was trying to run an old script in a folder
which happened to be in PYTHONPATH. After deleting that script and
adding favicon.ico I noticed an improvement. But now I see that when I
activate the
On Nov 13, 7:10 am, Wim den Ouden wdenou...@gmail.com wrote:
why not simple results_type = results
Yes, thanks, this
self.response.out.write(C_RESULT: %s %
(C_RESULT))
returns
C_RESULT: [__main__.Rep object at 0x044F0630]
Is there a way to print the contents of this object without
Hello,
I am doing a lot of testing at this stage of learning App Engine but I
am having some problems printing something like this:
...
...
results = query.fetch(10)
results_type = type(results)
self.response.out.write(results_type)
prints nothing (and no error message).
If I do
Can someone help me understand how to access the results of a query?
This is my model:
class Rep(db.Model):
mAUTHOR = db.UserProperty(auto_current_user=True)
mUNIQUE = db.StringProperty()
mCOUNT = db.IntegerProperty()
mDATE = db.DateTimeProperty(auto_now=True)
mDATE0 =
On Nov 10, 9:11 am, Wim den Ouden wdenou...@gmail.com wrote:
I don't use templates but as a guess i think you use result.mCOUNT
Ok. So I try something like this:
for result in RESULTS:
WEIGHT = (datetime.datetime.result.mDATE.toordinal()) *
result.mCOUNT
but I get this error:
WEIGHT =
1 - 100 of 105 matches
Mail list logo