[google-appengine] Re: Querying GAE Datastore for TIME only values in a DATETIME field.

2009-03-20 Thread djidjadji
You probably want to sort based on the dateindex, your Model is named Trend24Hr. Your best shot is to add a Integer property that just describes the hour, values [0..23]. Expanding your schema is not hard. Follow the directions in [1]. Make sure you first update the code that adds new values to

[google-appengine] Re: Querying GAE Datastore for TIME only values in a DATETIME field.

2009-03-20 Thread Tim Bull
OK, thanks, I guess that is easier -- just extending the schema. I'll wait to see if anyone has any other ideas, but this could be the easiest approach. Appreciate the suggestion. On Mar 20, 5:44 pm, djidjadji djidja...@gmail.com wrote: You probably want to sort based on the dateindex, your

[google-appengine] Sample based on non google accounts

2009-03-20 Thread arnie
I have seen the below given link http://code.google.com/p/google-app-engine-samples/ that provides a lot of samples but all are using google accounts for authentication. I am in search of samples that uses django user authentication for google app engine based on user table in my datastore

[google-appengine] Help with Mail api

2009-03-20 Thread Nora
Hello, In my application, I have a 'Contact Us' page for my users to fill in if they want to send any feedback to me. It requiers the user to fill in a number of fields and to provide his/her email address. A button 'Send' is used to send the user's filled form to me. I am using the mail api

[google-appengine] Re: raise NotImplementedError(Only tempfile.TemporaryFile is available for use)

2009-03-20 Thread Tim Hoffman
Hi Venkat Did you read your traceback See the line return os.path.join(tempfile.gettempdir(), cache_directory) Now go back to the docs url I included and notice it says tempfile module does support anything except for TemporaryFile. tempfile is disabled, except for TemporaryFile which is

[google-appengine] Re: how to config gwt to work in app engine effective and productive

2009-03-20 Thread indra
Hi Pavel, I too use a setup very similar to yours, with both GWT and appengine projects in same workspace. However I have also managed to setup my GWT environment so that I can debug! What I basically do is have GWT servlets which act as proxies to the actual appengine handlers. In these

[google-appengine] Re: raise NotImplementedError(Only tempfile.TemporaryFile is available for use)

2009-03-20 Thread venkat rambotla
Hi Tim. here is the traceback *File C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py, line 2711, in _HandleRequest * base_env_dict=env_dict) *File C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py, line 380, in Dispatch *

[google-appengine] Re: raise NotImplementedError(Only tempfile.TemporaryFile is available for use)

2009-03-20 Thread venkat rambotla
hi tim, sorry to disturb u again,i commented caching directory in twitter.py,but the following error as come *File C:\Program Files\Google\google_appengine\google\appengine\tools\dev_appserver.py, line 2711, in _HandleRequest * base_env_dict=env_dict) *File C:\Program

[google-appengine] Re: Reading from a static text file

2009-03-20 Thread Wooble
The way to do it is to not upload them as static files, but as program files. If you really need to serve them as static to users as well, include 2 copies in your project. The overhead of using urlopen instead of opening the file directly is going to be comparatively enormous. On Mar 20, 1:48 

[google-appengine] Re: raise NotImplementedError(Only tempfile.TemporaryFile is available for use)

2009-03-20 Thread Tim Hoffman
Hi Venkat I am sorry I don't have time to work on this for you. I would look at implementing an alternative to _FileCache and then set it with a call to SetCache and pass an instance of you new caching scheme. If you have a look it will be pretty simple to replace _FileCache with a cache based

[google-appengine] Re: Charging for you app.

2009-03-20 Thread Big Stu
I'm not absolutely sure myself (I haven't read the terms yet either), but from some of the previous questions/answers I've seen on here it sounds like you're good to go. Good luck! Stu On Mar 19, 10:38 am, Ronn Ross ronn.r...@gmail.com wrote: If I create an app in gae. Can I charge people for

[google-appengine] Re: Dynamic Code Within Templates

2009-03-20 Thread Big Stu
If I understand you correctly you should be fine. You'd have a base.html template with a {% block %} for your navigation, and then a separate {%block%} for your content. In the navigation block you'd use some dictionary entry (e.g., navbar_dict) to populate your various entries in the

[google-appengine] receiving email

2009-03-20 Thread Ronn Ross
I would like people to email may app and it show up in the app. So that way it can work like a help desk system. If there anyway to do that through app engine? Can you pull data from a gmail account? --~--~-~--~~~---~--~~ You received this message because you are

[google-appengine] Re: Datastore newbie question

2009-03-20 Thread Big Stu
I'm guessing you're just getting your app off the ground and you're referring to some test data you want to play with? You have datastore data available to your application after your application puts some in there itself. So you'd have your application running on the server (local development,

[google-appengine] Re: App Engine Patch - dumpdata then loaddata

2009-03-20 Thread Big Stu
Hi Waldemar, Thanks for following up, and thanks for all your hard work with App Engine Patch. I'm having a lot of fun learning about app engine and django in my spare time, and hope to one day move my full time career into this stuff. Django, GAE, and your stuff will have a huge hand in

[google-appengine] Re: receiving email

2009-03-20 Thread Neves
Incoming email support http://code.google.com/intl/pt-BR/appengine/docs/roadmap.html On 20 mar, 11:12, Ronn Ross ronn.r...@gmail.com wrote: I would like people to email may app and it show up in the app. So that way it can work like a help desk system. If there anyway to do that through app

[google-appengine] Re: Downside of the Google App Engine relying on Google Apps - Horror Story

2009-03-20 Thread Lawrence Fitzpatrick
On Mar 18, 2:58 pm, Brett Slatkin brett-appeng...@google.com wrote: In the future, customers should be notified 48 hours in advance of any detected abuse. Wow. I knew you guys were good, now I'm really impressed. :) --~--~-~--~~~---~--~~ You received this

[google-appengine] Data Viewer error after deleting all entities of a certain kind

2009-03-20 Thread apr3...@gmail.com
Hello, I tried to delete all entities of a certain kind with the Data Viewer and now I always get an error message. To be more precise: I tried to delete all entities of the kind Searchable. I selected all Entities in the Data Viewer and clicked on delete. After clicking on delete i got the

[google-appengine] Re: quick data upload?

2009-03-20 Thread Kugutsumen
Out of curiosity what is your upload bandwidth? Have you ever tried uploading a video on youtube or Google Video for example. For example in Indonesia, the best internet access you can get is via cable. They give you 3 mbit downstream but the upload bandwidth is ridiculously slow, only 128kbit

[google-appengine] Data Browser

2009-03-20 Thread Chad
Is there a way to visually navigate the datastore? Is there a GUI provided or an opensource project for navigating and managing datastore data? I guess I'm looking for something like phpMyAdmin for datastore... any ideas? Maybe I've been looking in the wrong places, but I can't seem to find

[google-appengine] Better solution

2009-03-20 Thread linsk
Better solution is to: 1.Supporting independent IP(choose). 2.To the regulatory body to submit a website record 更好的解决方法是, 1.GAE为用户提供独立IP解析,用户可以选择为自己的应用购买独立IP(让自己的应用共用一个IP或者每个应用各自拥有一个IP)。而不是指向 ghs.google.com。 2.用户向中国的管理机构提交网站备案。 懂英文的翻译上去。谢谢 On 3月18日, 上午7时26分, John C johnmcourt...@gmail.com

[google-appengine] Multilingual i18n -- django, any problems w/ it? roll your own?

2009-03-20 Thread Adrian Scott . com
Hi, i'm looking at doing i18n / multilingual for my apps. For those using Django, have you run into any problems w/ Django's approach? or any stuff that just seems weird etc? For others doing i18n / multilingual, what approaches have you been taking and what factors have influenced you or

[google-appengine] Re: Downside of the Google App Engine relying on Google Apps - Horror Story

2009-03-20 Thread Brett Slatkin
On Thu, Mar 19, 2009 at 5:22 PM, Lawrence Fitzpatrick fitzp...@gmail.com wrote: On Mar 18, 2:58 pm, Brett Slatkin brett-appeng...@google.com wrote: In the future, customers should be notified 48 hours in advance of any detected abuse. Wow. I knew you guys were good, now I'm really

[google-appengine] Does anybody know how to run sitemap_gen.py from app engine?

2009-03-20 Thread Jillian
I have a site built on app engine, and i'd like to sitemap_gen to automatically generate site maps. Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] Re: receiving email

2009-03-20 Thread Matthew Page-Lieberman
Não acho que esse Ross é brasileiro. On Fri, Mar 20, 2009 at 11:01 AM, Neves marcos.ne...@gmail.com wrote: Incoming email support http://code.google.com/intl/pt-BR/appengine/docs/roadmap.html On 20 mar, 11:12, Ronn Ross ronn.r...@gmail.com wrote: I would like people to email may app and

[google-appengine] Please helppppp with the mail api

2009-03-20 Thread Nora
Hi, I have developed an application that has a contact us page. It collects the visitor's details and sends them to me(the administrator) and then I use them to send me an email using the mail api. Now, at the server side, I get all the information about the user and then I need to validate

[google-appengine] Re: Multilingual i18n -- django, any problems w/ it? roll your own?

2009-03-20 Thread Olemis Lang
On Fri, Mar 20, 2009 at 11:31 AM, Adrian Scott . com goo...@adrianscott.com wrote: Hi, i'm looking at doing i18n / multilingual  for my apps. For others doing i18n / multilingual, what approaches have you been taking and what factors have influenced you or been most important to you. This

[google-appengine] Regular Expresison

2009-03-20 Thread lucas.fais...@gmail.com
Hey, can I use regular expression in my URL'S like Django? If i can, how i do it? Thank's --~--~-~--~~~---~--~~ 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] Re: Charging for you app.

2009-03-20 Thread Adrian Scott . com
YES! On Mar 20, 9:04 am, Big Stu stu.dohe...@gmail.com wrote: I'm not absolutely sure myself (I haven't read the terms yet either), but from some of the previous questions/answers I've seen on here it sounds like you're good to go. Good luck! Stu On Mar 19, 10:38 am, Ronn Ross

[google-appengine] Re: receiving email

2009-03-20 Thread Ronn Ross
Ross, mas não é latin / Italiano On Fri, Mar 20, 2009 at 1:15 PM, Matthew Page-Lieberman mateus.just...@gmail.com wrote: Não acho que esse Ross é brasileiro. On Fri, Mar 20, 2009 at 11:01 AM, Neves marcos.ne...@gmail.com wrote: Incoming email support

[google-appengine] Re: receiving email

2009-03-20 Thread Matthew Page-Lieberman
Como? O que quer dizer? On Fri, Mar 20, 2009 at 1:38 PM, Ronn Ross ronn.r...@gmail.com wrote: Ross, mas não é latin / Italiano On Fri, Mar 20, 2009 at 1:15 PM, Matthew Page-Lieberman mateus.just...@gmail.com wrote: Não acho que esse Ross é brasileiro. On Fri, Mar 20, 2009 at 11:01 AM,

[google-appengine] Re: how to config gwt to work in app engine effective and productive

2009-03-20 Thread Pavel Byles
Hi indra, yes. I could do this. Thanks On Mar 20, 6:23 am, indra b.indran...@gmail.com wrote: Hi Pavel, I too use a setup very similar to yours, with both GWT and appengine projects in same workspace. However I have also managed to setup my GWT environment so that I can debug! What I

[google-appengine] Re: Datastore newbie question

2009-03-20 Thread Pavel Byles
You can use the bulkloader to initialize your data: http://code.google.com/appengine/docs/python/tools/uploadingdata.html -Pavel On Mar 19, 1:57 pm, Nora noorhanab...@yahoo.co.uk wrote: Hello, As I haven't used data stores before, I am unable to imagine how it is going to behave:)  I have

[google-appengine] Re: Data Browser

2009-03-20 Thread Amr Ellafi
Good Idea, I'm not sure if remote_api allows fetching data On Fri, Mar 20, 2009 at 7:11 AM, Chad cup...@gmail.com wrote: Is there a way to visually navigate the datastore?  Is there a GUI provided or an opensource project for navigating and managing datastore data?  I guess I'm looking for

[google-appengine] Internationalization in GAE using webapp

2009-03-20 Thread bca...@albendas.com
Hello, I have been reading across the posts, and have not found any with instructions on how to make translations of the different application messages to different languages. I have read some about using other frameworks like django dating from 2008, but wonder if there is no other

[google-appengine] Re: @login_required usage

2009-03-20 Thread Waldemar Kornewald
On Mar 19, 2:00 pm, arnie parvez...@rediffmail.com wrote: Hi all I am using google app engine patch sample [latest]. I want to use django user authentication with the user table in my datastore so for this do I need to use @login_Required attribute on my views.py functions? I have given a

[google-appengine] What does Model.to_xml() returns?

2009-03-20 Thread Marcelo Sena
I know what the docs say, but what kind of xml is that, is a string or a object and what is the type of that object? I tried using type() on it and it returned nothing. I need to turn my model into a XML to use it in a javascript. Regards, Marcelo Sena.

[google-appengine] Django template

2009-03-20 Thread Ronn Ross
I'm trying to use a conditional statement in django template. Like so:{% if AccountData.AccountType == Current %} bAccount is current/b {% endif %} GAE is throwing this error: TemplateSyntaxError: 'if' statement improperly formatted {% if (AccountData.AccountType == Current) %} Can

[google-appengine] Re: Django template

2009-03-20 Thread Jyoti Shete-Javadekar
use ifequal {% ifequal AccountData.AccountType Current %} ...{% endifequal %} please rever to http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs for more details On Fri, Mar 20, 2009 at 1:12 PM, Ronn Ross ronn.r...@gmail.com wrote: I'm trying to use a conditional

[google-appengine] bulkloader Nulls and Defaults

2009-03-20 Thread Mat
Hi, Here is my model class: class Listing(db.Model): name = db.StringProperty() value = db.FloatProperty() createdDate = db.DateTimeProperty(auto_now_add=True) createdBy = db.UserProperty(auto_current_user_add=True) and here is my loader class: class ListingLoader(Loader):

[google-appengine] Re: Datastore usage goes up over time?

2009-03-20 Thread C. Scott Ananian
On Mar 20, 1:58 pm, C. Scott Ananian canan...@gmail.com wrote: Your suggestion seems to work.  Changing from StringProperty to TextProperty did bloat the size of the entities -- I went from about 0.16G after initial import to about .80G -- but the datastore storage doesn't seem to balloon

[google-appengine] Is any way to set os.environ['USER_EMAIL'] in app engine ?

2009-03-20 Thread Tom Wu
Hi all, The USER_EMAIL of META is empty after I got the access_token. Is any way to set os.environ['USER_EMAIL'], os.environ ['USER_IS_ADMIN'], os.environ['USER_NICKNAME'] in app engine ? So I can use the google.appengine.api.users.get_current_user() natively without building another scripts.

[google-appengine] Re: This application ID or version is already in use. Why?

2009-03-20 Thread K_Reverter
Because GAE's custom domain server is fobbiden by Great Firewall of China On Mar 19, 9:50 am, Hu Hailin i...@h2l.name wrote: why not use the domain (dituren.cn/dituren.com) accessing your app directly? On Mar 18, 2:48 pm, K_Reverter kunhua...@gmail.com wrote: I hope to use