[google-appengine] Re: Restore userid on account?

2011-06-28 Thread NealWalters
Our Appspot/Appname was http://olexeprod.appspot.com/. Neal -- 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 group, send email to google-appeng

[google-appengine] Restore userid on account?

2011-06-28 Thread NealWalters
My bright co-worker apparently deleted our admin account zu...@olexe.com. We had two other accounts in the domain, but as far as I know, they were never associated with the Google-App (even though they may have been admins). If we didn't have any other users/admins, would that make the entire goo

[google-appengine] Night processing for map-reduce?

2011-01-18 Thread NealWalters
Is there any concept of "night processing" within GAE? I realize that if a system is world-wide, it is 24x7 and it is never night. But if I wanted to do some map-reduce jobs, is there any cost savings or performance benefit to running them "off-hours" (supposing most of our user-base is in the US

[google-appengine] Re: Authentication error on appcfg

2010-12-05 Thread NealWalters
I had problems uploading (from Win7) for about 30 minutes. It was complaining about SSL and told me to install some SSL python library. I had trouble getting it to install. Anyway, after 30 minutes or so, things started working as normal (the error just went away). Neal -- You received this me

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-05 Thread NealWalters
Here's one more reminder note for anybody else that goes with any lazy- loading technique. You exchange compile time errors for run-time errors. So after I changed my 200+ pages to lazy-loading, I then had to manually test all of them (and still afraid I might have missed some). WebApp-Improved

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-05 Thread NealWalters
Perfect, much easier. Looks like Nick's blogs were good for when I want to understand more about the plumbing, but webapp-improved was more the out-of-the-box experience that I was looking for. Thanks, Neal -- You received this message because you are subscribed to the Google Groups "Google Ap

[google-appengine] Re: Always-On Cost/Billing 1.4.0?

2010-12-05 Thread NealWalters
Thanks. Was that posted somewhere, or you have inside info? Neal -- 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 google-

[google-appengine] Always-On Cost/Billing 1.4.0?

2010-12-05 Thread NealWalters
Where can I go to find the cost of the "always on" feature in 1.4.0? Thanks, Neal Walters -- 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 grou

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-05 Thread NealWalters
Maybe I'm getting way off track here, but I'd like to get my site back working today. Should framework.py look like this? (This is based on Nick's prior blog: http://blog.notdot.net/2010/01/Webapps-on-App-Engine-part-1-Routing) I'm all for learning, but I need to get my website fixed ASAP withou

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-05 Thread NealWalters
lazytest.py import framework class TestHome(framework.RequestHandler): def get(self): self.response.out.write('Hello Lazy World') testHomeHandler = TestHome() part of main.py: import framework application = framework.WSGIRouter() application.connect('/', framework.

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-04 Thread NealWalters
Was I supposed to save this as framework.py? class WSGILazyLoader(object): def __init__(self, fullname): self.modulename, self.objname = fullname.rpartition('.') self.obj = None def __call__(self, environ, start_response): if not self.obj: __import__(self.modulename, globals

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-04 Thread NealWalters
Please help me to understand Nick's blog. http://blog.notdot.net/2010/02/Webapps-on-App-Engine-part-6-Lazy-loading If I tried "Import framework" I got "framework not found". I assume he wants us to substitute the name of my framework, which is webapp?? I created a file lazytest.py, with the foll

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-12-01 Thread NealWalters
Tim, How would I go about your one suggestion: "Some other strategies you can adopt to shrink startup times is trying to defer some of your imports until you need to use the stuff. " I have what I would consider a very large code base, just not many users at this time. My main.py has probably

[google-appengine] Re: DeadlineExceededError: This request caused a new process to be started for your application

2010-11-30 Thread NealWalters
vely static content from > > memcache > > without even starting up a full stack.  (ie only importing core api's > > from appengine) > > > This can usually get us an instance cold started and serving the front > > page in less 200ms > > > understanding how

[google-appengine] DeadlineExceededError: This request caused a new process to be started for your application

2010-11-29 Thread NealWalters
I've read several other posts on this error, but they seem to be inconclusive and several months old. We are a startup, so our site is not used frequently, but when used, it is often someone we are trying to impress, so we MUST have some solution for this issue if we indeed continue to use GAE. Si

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2010-10-17 Thread NealWalters
I filled it out about a week ago. Am I supposed to get an automated email or anything to confirm that somebody did something? Or just try it again occasionally? Thanks, Neal -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2010-08-22 Thread NealWalters
I still need to be able to create a test-site that I can share with co- workers. How do I get past this issue? What if I'm a consultant and I create google app sites for customers? Do I have to use their phone numbers? Thanks, Neal On Aug 5, 9:49 pm, NealWalters wrote: > I re

[google-appengine] The phone number has been sent too many messages or has already been used to confirm an account.

2010-08-05 Thread NealWalters
I registered "olexeprod" under olexe.com last week, and now today we need a test site, so tried to register "olexetest", and getting the SMS verification issue in the subject above. This really delays development when this happens. Last time Nick or somebody approved it, can you do that again?

[google-appengine] Re: Clean way to code around timeouts?

2009-09-30 Thread NealWalters
Does the decorator work in Python 2.5.2 with GAE? Thanks, Neal --~--~-~--~~~---~--~~ 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 unsu

[google-appengine] Re: compare to db.key's

2009-09-21 Thread NealWalters
I'm not sure this is the best answer, but try this, it might get your working in the interim: if str(B.ref) == str(familarKeyFromA): Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: Does GAE support indian based payment gateways

2009-09-07 Thread NealWalters
It's my understanding that GAE doesn't support any "gateways". It supports URLFetch to communicate with external sites. So if you can communicate with that provider via URLFetch, then you are "good to go", but you will of course have to write the code yourself (or find a library for it). Neal Wa

[google-appengine] Re: NEED HELP about "_ah/admin"

2009-08-24 Thread NealWalters
Sounds like you want to show one URL to your admin/users when on dev, and another URL when on live/production server? If so, see this post for Python solution: http://groups.google.com/group/google-appengine-python/browse_thread/thread/d1537b3ea289322e# Neal --~--~-~--~~~

[google-appengine] Re: Source-Code Version Control

2009-08-21 Thread NealWalters
I've been using Mercurial, hosted on bitbucket.com. Neal Walters --~--~-~--~~~---~--~~ 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 u

[google-appengine] proper imports for jsonpickle?

2009-08-17 Thread NealWalters
I want to run this line of code: import jsonpickle strPickledObject = jsonpickle.encode(objCommonTaskMessage) which works fine outside of GAE, but in GAE gets this error: File "d:\GoogleAppEngine\3WCloud.com.Provisioning\provisioning.py", line 740, in get strPickledObject = jsonpickle

[google-appengine] Re: How to integrate Payment module with google app engine

2009-08-12 Thread NealWalters
Sorry, I'm not sure about international merchants. You'll have to go to each vendor and check. Likewise, with Paypal, I have actually forgotten the difference between personal and business, because I've had a business account so long. Paypal will definitely take their cut, and you will probably

[google-appengine] Re: Access from non-browser-based application?

2009-08-11 Thread NealWalters
This maybe what you are asking about? http://code.google.com/appengine/articles/remote_api.html Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send ema

[google-appengine] Re: Number of Entities in DataStore

2009-08-11 Thread NealWalters
Google Data Store doesn't offer a record count of all rows of a "Kind" on BigTable; the typical recommendation is to keep your own counter up- to-date each time you store a record (assuming you really need it). If you are worried about concurrency when doing this, there is a "sharding" technique h

[google-appengine] Re: How to integrate Payment module with google app engine

2009-08-11 Thread NealWalters
Your basic choices are: 1) Google Checkout 2) Paypal 3) Get your own merchant account with your bank and then find a company that does online processing such as Authorize.Net or PayFloPro (from Paypal). Usually you will get Visa/MC with your bank, then have to apply with Amex/Discover separately

[google-appengine] Is there a per-page quota?

2009-08-07 Thread NealWalters
On my appspot dashboard, under "Current Load" I have a few yellow yield signs. The hover-over tool-tip says "This URI uses a high amount of CPU and may soon exceed its quota". Does that mean there is some limit per page? Thanks, Neal --~--~-~--~~~---~--~~ You re

[google-appengine] Re: Need input: developers and Azure VS GAE

2009-07-29 Thread NealWalters
Feel free to contact me about contracting. My website on my profile will lead to my phone. You can see my activity on the Google Python forum for the past few months: http://groups.google.com/group/google-appengine-python/search?group=google-appengine-python&q=nealwalters&qt_g=Search+th

[google-appengine] Re: Details about the the GAE Log

2009-07-19 Thread NealWalters
I thought all the info available on logging was here: http://code.google.com/appengine/articles/logging.html So the page you gave, says I can download it. Doesn't say if I can read the log via Python running online. Doesn't say how long the log is kept (forever, or purge after x days or months)

[google-appengine] Re: Datastore Utility

2009-07-16 Thread NealWalters
I don't think there is any schema in the datastore. Your db tables are defined as classes in Python or Java. Once you store data, you can see it in the data-viewer. But if, for example, you delete all instances of a kind (a table?) then the structure for that table is no longer shown in the data v

[google-appengine] Re: phpAdmin clone for Google's datastore

2009-07-16 Thread NealWalters
There is a tool called "Data Viewer" in the GAE Admin Console. Have you seen it? It displays data rows (10 at a time I think), allows you to scroll forward, allow you enter your own GQL command, and allows you to update and delete. The only trick is that it only works with data already stored.

[google-appengine] Re: model properies as fields

2009-07-14 Thread NealWalters
It looks like you already understand the basics of the Django template, yes? Assuming your code that you posted is in a Django template, you should be able to this: field_list = #then pass it to your template self.renderPage("yourTemplatPage.html", {"var1"

[google-appengine] Details about the the GAE Log

2009-07-14 Thread NealWalters
Regarding the log here: http://code.google.com/appengine/articles/logging.html 1) How long does the data stay there? Forever? Or is it purged after x days or months? 2) Is there an API to read the log? 3) Is the log really just a table in BigTable? 4) Is there any export/download where I could

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-13 Thread NealWalters
Thanks Nick. It didn't ask me for the SMS that time and I was able to create the account. I this a bug - or did I do something wrong? Seems like numerous other people have reported similar issues. Thanks, Neal --~--~-~--~~~---~--~~ You received this message becau

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-13 Thread NealWalters
this email from? > And where did you initially activate your account? > > -Nick Johnson > > On Mon, Jul 13, 2009 at 3:53 PM, NealWalters > wrote: > > > Yes, Nick - I posted the URL that I was using in my second post above > > to make it clear. > > > Neal

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-13 Thread NealWalters
Yes, Nick - I posted the URL that I was using in my second post above to make it clear. Neal --~--~-~--~~~---~--~~ 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-app

[google-appengine] Re: Paypal / UrlFetch revisited

2009-07-12 Thread NealWalters
I was looking at result instead of result.content - so now at least I have a response. But if someone could confirm that they've successfully done API to Paypal, that would be appreciated. Neal --~--~-~--~~~---~--~~ You received this message because you are subscr

[google-appengine] Paypal / UrlFetch revisited

2009-07-12 Thread NealWalters
I was just reading this post from June 2008 http://groups.google.com/group/google-appengine/browse_thread/thread/9059b0750c45703b/ccda0d4803014e94?lnk=gst&q=paypal#ccda0d4803014e94 Can we now use Paypal API via "urlfetch" ? Or is it blocked? I was trying it, and my result was always blank - so

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-12 Thread NealWalters
And I only have one userid/email registered under this premium google app account. On Jul 12, 1:57 pm, NealWalters wrote: > I was logged on here:http://appengine.google.com/a/3wcloud.com. > Neal --~--~-~--~~~---~--~~ You received this message because y

[google-appengine] Re: The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-12 Thread NealWalters
I was logged on here: http://appengine.google.com/a/3wcloud.com. Neal --~--~-~--~~~---~--~~ 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

[google-appengine] The phone number has been sent too many messages or has already been used to confirm an account.

2009-07-12 Thread NealWalters
Getting error: "The phone number has been sent too many messages or has already been used to confirm an account. " I searched for this message in this forum, and found other cases, but not a clear solution. Do you have to manually do something on your side? my domain is: 3wcloud.com We have one

[google-appengine] Re: Use of Main/Log

2009-06-17 Thread NealWalters
Is there anyway to see the log on the local machine? Thanks, Neal --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Attchment in mail message.

2009-06-17 Thread NealWalters
If you are sending from local-dev-app-server, then you might be having the same problem I was - see this message: http://groups.google.com/group/google-appengine-python/browse_thread/thread/114baca865d09595#. My problem went away when I ran on the real live Google App Server environment. My dev e

[google-appengine] Re: Not sending Mail using Google Apps code of Sending Mail

2009-06-17 Thread NealWalters
Not sure, but you might need to use the variable "html" instead of "body" if you want a hyperlink (or any HTML formatting) in your email message. Neal --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engi

[google-appengine] Re: Testing GAE application best practices

2009-06-17 Thread NealWalters
I just learned about the Gaebar - Backup and Restore utility this morning: http://aralbalkan.com/1784. No time to use it yet, but they have a nice 16:42 minute video. It talks about moving data between a staging and production environment, so they might answer part of your question. Neal Walters

[google-appengine] Re: Kay - Another web framework on app engine - beta version

2009-06-17 Thread NealWalters
Can you please tell us the features and benefits of your framework? I don't Jinja2 or Werkzeug - so what's in it for developers? Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group

[google-appengine] Re: GData on GAE - to create a new empty spreadsheet - 401

2009-06-17 Thread NealWalters
I'm still stuck on this - any ideas? Thanks, Neal --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Server Error

2009-06-17 Thread NealWalters
> I would suggest using version control if you want to be able to easily > revert,... I'm using Mercurial, so I have that. I think my point is that when you upload a new version of an app, you really have no idea if it's going to work or not. So your site could be down while you are trying to

[google-appengine] Use of Main/Log

2009-06-16 Thread NealWalters
Can a developer write a message to the Main/Log file (to be viewed on the Admin/Console). Seems like this might be handy occasionally for debugging. Or is it better to create you own table and write there? Thanks, Neal Walters --~--~-~--~~~---~--~~ You received

[google-appengine] Re: Server Error

2009-06-16 Thread NealWalters
Nick, I just discovered that there were "Main/Logs" and "Admin/Logs". Yesterday, I was looking at the Admin/Logs. So today, in the "Main/Logs" I see my error. It is related to this: import atom.url returnURL = atom.url.Url('http', settings.HOST_NAME, path='/ customerLogin') Then when I fixed

[google-appengine] Re: Server Error

2009-06-15 Thread NealWalters
I saw another post with a 500 Server Error, and Nick said to check the logs. I just now checked there and absolutely nothing about this error is logged. Neal On Jun 15, 8:42 pm, NealWalters wrote: > I uploaded some enhancements to my google app (running on the google > site), and now g

[google-appengine] Re: Is there currently a problem deploying apps?

2009-06-15 Thread NealWalters
I overlaid a version last night, and have been getting this error (which I just posted as a new post a few minutes ago): Error: Server Error The server encountered an error and could not complete your request. So might be effecting several of us? Neal If the problem persists, please report yo

[google-appengine] Server Error

2009-06-15 Thread NealWalters
I uploaded some enhancements to my google app (running on the google site), and now getting this error: Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that ca

[google-appengine] Re: SQL-Join in GAE

2009-06-14 Thread NealWalters
In InvoiceDetails add this: invoice = db.ReferenceProperty(Invoice, collection_name='invoice- invoicedetails') For more details see this video and/or slides with full code examples: http://sites.google.com/site/io/working-with-google-app-engine-models The one thing I haven't seen discussed th

[google-appengine] Using the admin development console to change values in rows with blobs

2009-06-14 Thread NealWalters
On the Windows dev-app-server admin tool, I cannot edit any table that have Blob fields on them. I get to the edit screen, but I try to change a simple string field, and get this error: Traceback (most recent call last): File "c:\Program Files\Google\google_appengine\google\appengine\ext \weba

[google-appengine] GData on GAE - to create a new empty spreadsheet - 401

2009-06-09 Thread NealWalters
I've been studying these two samples I found in another post in this forum: http://code.google.com/appengine/articles/gdata.html http://code.google.com/appengine/articles/more_google_data.html and trying to blend them with this example that creates a new empty spreadsheet: http://code.google.co

[google-appengine] Re: Can Python process a list/array of checkboxes from a web form?

2009-06-08 Thread NealWalters
I also tried this with no success: {% if session.languages['English'] %} checked {% endif %} which gives this error: raise TemplateSyntaxError, "Could not parse the remainder: %s" % token[upto:] TemplateSyntaxError: Could not parse the remainder: ['English'] I guess

[google-appengine] Search for this forum is behind?

2009-06-08 Thread NealWalters
I can't find the last few messages I posted by searching on my name or the contents. I have to go to discussions, and click "older"... until I find my post. They are there, just not searchable. Is there a known issue right now with the search? Thanks, Neal --~--~-~--~~~-

[google-appengine] Re: Can Python process a list/array of checkboxes from a web form?

2009-06-08 Thread NealWalters
That worked great! session.languages = self.request.get_all('language') Database model defines column: languages = db.StringListProperty() #stores multiple languages Now - I have the data stored, and I want to display it back on the form (the form is spread across 5

[google-appengine] Re: BadValueError: Property resume must be convertible to a Blob instance (Blob() argument should be str instance, not unicode)

2009-06-07 Thread NealWalters
The utf-8 is allowing me to store data, but I have doubts if it is correct. A word doc and a .JPG file are both binary - not necessarily UTF-8, correct? What encoding, if any, should I use? And how do I then extract the bytes back out of the field to allow the user to download again? Thanks, N

[google-appengine] Re: BadValueError: Property resume must be convertible to a Blob instance (Blob() argument should be str instance, not unicode)

2009-06-04 Thread NealWalters
This seems to have solved the conversion problem for a Word Resume, converting string to byte array. strResume = self.request.get('resume') mytable.resume = strResume.encode('utf-8') The photo didn't seem to need any conversion. But I still have the question about how to display a pic

[google-appengine] BadValueError: Property resume must be convertible to a Blob instance (Blob() argument should be str instance, not unicode)

2009-06-04 Thread NealWalters
1) How to convert an uploaded graphic file or resume to a blob field - to avoid this error: BadValueError: Property resume must be convertible to a Blob instance (Blob() argument should be str instance, not unicode) Form: Server Code: mytable = MyTable() #now set fields from the us

[google-appengine] Can Python process a list/array of checkboxes from a web form?

2009-06-04 Thread NealWalters
Is it possible to pass a list or array of checkbox values from a webpage to Python? For example - give all fields the same name like this: English: Spanish: Portuguese: Or am I going to have give every checkbox a different name and write more code? I'd like to do something like this: lan

[google-appengine] Re: Get a key immediately after a Put()?

2009-06-04 Thread NealWalters
Thanks, this worked: mytable.put() savekey = mytable.key() self.response.out.write(savekey) return I thought it was a property, because I used it in a template like this:  {{forloop.counter}}   This allowed me to create a clickable item to go from a report/listing to an updat

[google-appengine] Get a key immediately after a Put()?

2009-06-04 Thread NealWalters
Is it possible to get the key immediately after the put, something like this? mytable.put() savekey = mytable.key self.response.out.write(savekey) return The above shows this result, which clearly doesn't look a key in the database: <__main__.Session object at 0x0D126FF0>>

[google-appengine] Re: Do not update auto_now on save()

2009-06-02 Thread NealWalters
See this post: http://groups.google.com/group/google-appengine/browse_thread/thread/67fbac2750b29edc/15e8a78ee5d61baf?lnk=gst&q=auto_now#15e8a78ee5d61baf Neal On Jun 1, 5:44 pm, Oliver Zheng wrote: > auto_now=True is very handy for most modified timestamp properties. Is > it possible to overrid

[google-appengine] RESTful web services on GAE

2009-06-02 Thread NealWalters
Any tips on where to start to create my own RESTful webservices using Python on the Google App Engine? So far, I've found this: http://jtauber.com/blog/2006/01/25/python_web_frameworks_and_rest/ , but not sure it would work well with GAE. Thanks, Neal Walters --~--~-~--~~---

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Thanks David! When I made my last post I didn't see yours yet. Neal Walters --~--~-~--~~~---~--~~ 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@googlegroup

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Finally got it: datetimeTuple = time.strptime(XMLVALUES, "%Y-%m-%d %H:%M:%S"); setattr(OBJ,XMLFIELD,datetime.datetime (datetimeTuple.tm_year, datetimeTuple.tm_mon, datetimeTuple.tm_mday, datetimeTuple.tm_hour, datetimeTuple.tm_min, datetimeTuple.tm_sec)) Is the

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Also tried this: mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate)) still gives error: Traceback (most recent call last): File "DateConversion1.py", line 33, in mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate)) File "c:\Program Files\Google\google_appengine\google

[google-appengine] Re: Parsing XML date into a db.DateTimeProperty field

2009-05-27 Thread NealWalters
PLEASE IGNORE - THIS WAS AN ACCIDENTAL DUPLICATE POST Neal --~--~-~--~~~---~--~~ 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 unsubscr

[google-appengine] How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
How can I "stuff" or convert a time.struct_time into a db.DateTimeProperty field? I'm converting an XML date/time in this format: "2009-05-20 04:24:11.715000", and I can parse into a time.struct_time (see code below), but then cannot set the db field from teh struct_time. Thanks, Neal Walters CO

[google-appengine] Re: use of Django's "forms.Form" on GAE

2009-05-27 Thread NealWalters
I switched to this - where taskCode is my hidden field that is on each form, and it works like a charm. taskCode= self.request.get('taskCode'); Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

[google-appengine] Parsing XML date into a db.DateTimeProperty field

2009-05-27 Thread NealWalters
The field is defined in a db.Model (from from google.appengine.ext) as follows: class MyTable(db.Model): dateTimeCreated = db.DateTimeProperty(auto_now=False) Code: Select all if XMLFIELDTYPE == "gd:when": XMLRESULTS = (XMLRESULTS + " SetDate");