I'm a little bit confused about the discussion php vs django template
at all.
The most of the posters here should take a look at the no. 1 php
template engine: Smarty
http://www.smarty.net/
Take the documentation of the template syntax, you will see that
Smarty and Django Template are very simil
Never going to happen. The whole point of appengine is to outsource
your hosting to google, and running on top of their massively scalable
GFS and BigTable setup. This is their bread and butter, there's no way
they're going to let anybody have that tech for themselves.
On Aug 31, 2:17 pm, Gadi <
To me it seems that GAE isnt really built for this kind of scenario.
There is not a strong enough
guarantee on confidentiality to allow the hosting of very sensitive
data, even if the regulations would
allow say temporary storage and processing (the data could later be
transferred to somewhere ins
utput html:
14
#-
#
15
16
17
18
19docday-gae-report-20080901-01
20
21
22
23
24
25This is docday-gae-report-20080901-01
26
27
28
29
#-
#
3
Thank you everybody for all the great advice.
@Alexander: I tried your suggestion and it does exactly what i
wanted :-). Thank you!
On Sep 1, 1:22 am, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> This should work in 0.96:
>
> {% for point in points %}
> There is a point at {{ point.0
when i add admin control to my application it display the error as
follows
:
please guide me .
--~--~-~--~~~---~--~~
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
I've filled this issue :
http://code.google.com/p/googleappengine/issues/detail?id=573
2 months ago and nobody stars it.
I'm surprised because it is related to "logging".
Currently if you do that in production (it works with the SDK) :
logging.debug("% is connected" % user) and 'user' contains
Hello folks,
The documentation here:
http://code.google.com/appengine/docs/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes
says that given a model thus:
class MyModel(db.Expando):
pass
and an instance thus:
e2 = MyModel()
e2.x = ['red', 'blue']
e2.y = [1, 2]
e2.put()
th
The topic is a misnomer, it should be Size of index in case of multi-
property attributes
On Sep 1, 7:46 pm, Nash <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> The documentation
> here:http://code.google.com/appengine/docs/datastore/queriesandindexes.htm...
>
> says that given a model thus:
>
>
Hi,
in the Date/Time/DateTimeProperty.now() implementation in the SDK you
use datetime.now() (for auto_now and auto_now_add), but if the value
is set from different servers that have different time zones (e.g.
because you dynamically move the data around between data centers or a
data center fails
Same problem. Still Error 500.
The page is generated by template:
path = os.path.join(os.path.dirname(__file__), 'template.html')
self.response.out.write(template.render(path, template_values))
>From console:
...
ERROR2008-09-01 15:53:50,937 dev_appserver.py] Exception
encountered
h
That is certainly interesting - thank you.
James
On Jul 20, 3:52 am, "nchauvat (Logilab)" <[EMAIL PROTECTED]>
wrote:
>
> You might also be interested inhttp://www.runblast.com/if you do not
> know about it.
--~--~-~--~~~---~--~~
You received this message beca
I forgot to mention: after I submit the code to appengine, I am not
getting error 500 but a blank page.
I have to refresh to get to the main page... Is there anything
wrong? What should I check?
On Sep 1, 11:57 pm, "shadow.hk" <[EMAIL PROTECTED]> wrote:
> Same problem. Still Error 500.
>
> Th
Sylvain wrote:
> Currently if you do that in production (it works with the SDK) :
> logging.debug("% is connected" % user) and 'user' contains a non ascii
> char (i.e. Fran�oise,...) --> GAE crash
>
> It's impossible to do that too :
> except Exception, e
> logging.error(e)
> If e.message cont
iceanfire wrote:
> I've got Model_C which is the child of Model_P. In this case, there
> are about 200 Model_P entities with each one having one child. When I
> took a look at data viewer, I noticed that all Model_C entities had an
> id of "1". Is this something that only occurs for parent/child
>
Hi folks.
I have a (rather large) CSV file with a string that acts as a key, and
then an arbitrary number of other strings separated by commas after
that, that are to be stored in a StringListProperty. That is,
key1, item1, item2, item3, item4, ...
key2, item5, item6, item7, item8 ...
that co
I'm trying to extend the Google App Engine templates using the
instructions in the post below (I have tried the instructions in this
post and the one below):
http://groups.google.com/group/google-appengine/browse_thread/thread/d791ce17e2716147/2886c968a25c1d1a?lnk=gst&q=Extending+django#2886c968a
1) How can I find out the TOTAL number of entities in my Model
datastore?
I tried
GQLQuery("SELECT * FROM Document").count()
but this just caps out at a 1000.
There MUST be some way of finding out, right? or do I have to do this
the old fashioned way, and PAGE thru using Offset?
2) is there
Hi Marzia,
This may be a dumb question - but how do I get private docs indexed
this way? This only allows us to search documents Google has crawled,
correct?
Is there some way that I can get Google to offer a "private crawl?"
Lets say I was writing school reports I wanted to be searchable only
by
http://jetfar.com/cygwin-install-python-imaging-library/
This worked for me. (using Imaging-1.1.6)
On Jul 7, 1:24 pm, RyanW <[EMAIL PROTECTED]> wrote:
> I goofed, you're right. I thought it was the PIL package that was
> causing it to error. It was actually because I had another
> application
Given that I have successfully stored a Model defined as:
class Book(db.Model):
title = db.StringProperty(required=True)
author = db.StringProperty(required=True)
illustrator = db.StringProperty(required=True)
In the data store.
I want to send a command to update an attribute of the ob
Hi,
I have an old project in the app engine. I fully created that app from
scratch with different models and different model names. I know want
to fully delete my models from the app engine.
How is that possible?
--~--~-~--~~~---~--~~
You received this message be
I'm trying to get django and app engine working together. I'm a
novice with both, so maybe I'm missing something. I'm running on
Windows Vista.
I'm following the instructions at
http://code.google.com/appengine/articles/appengine_helper_for_django.html
I installed the app engine using GoogleA
I'm building a new kind of rhyme finder. What it does that's useful
is provide an organized system
for viewing imperfect rhymes.
So I''ve got this database of a few hundred sound sequences and each
one has a list of rhyming words, each word has parts of speech and
other info. I am wondering
I had a similar problem when I was using an older version of the
appengine utilities (session management). The request times were over
1000ms.
On Aug 31, 1:25 am, Kyle Jensen <[EMAIL PROTECTED]> wrote:
> Our app serves has a few hundred hits a day at a particular url/view.
> Seemingly randomly,
Hi all,
In the belief that I will improve systems performance, I have been
reducing the number of Datastore writes by creating a few larger
models with lots of data in therm, rather than a larger number of
smaller models. Am I correct in my assumption?
This obviously affects my design and code
Pretty daft I know, if anyone wants to tell me how to find my posts
without having first found one of my posts please let me know.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to
why??
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTE
The point wasn't to compare Smarty and Django Templates, it was just
to show that if you do something different from the "default", no
matter what language and platform you are developing for, there is
always going to be extra work involved.
And for the record, Smarty has been around several year
On Mon, Sep 1, 2008 at 12:56 PM, Michael Schreifels <[EMAIL PROTECTED]> wrote:
>
> The point wasn't to compare Smarty and Django Templates, it was just
> to show that if you do something different from the "default", no
> matter what language and platform you are developing for, there is
> always
The python xml modules can be imported in my dev env but AppEngine
reported me "No module named xml"
It looks like the concised python runtime doesn't include the module
within its sys path. Anyone know there is an alternative way to use
them or other similar replacements for these modules. I nee
> If I was a member of the marketing staff, I would have pursued a
> strategy that ensured that defaults for appengine didn't lock you into
> an ultra orthodox view of web development like Django Templates take.
> By ultra orthodox I mean handcuffing the templates so you cannot
> insert Python cod
You can vote a engine:
http://pyoohtml.appspot.com/best-template-engine
Django template system (6)
PyOoHtml (2)
Genshi (2)
Airspeed (2)
Pyxer Templating (1)
Spyce (1)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
DocDay
11
12
#----
#
13 index.py output html:
14
#-
#
15
16
17
18
19docday-gae-report-20080901-01
20
21
22
23
24
25This is docday-gae-report-20080901-01
26
-----#
13 index.py output html:
14
#---#
15
16
17
18
19docday-gae-report-20080901-01
20
21
22
23
24
25This is docday-gae-report-20080901-01
26
#
13 index.py output html:
14 #-#
15
16
17
18
19docday-gae-report-20080901-01
20
21
22
23
24
25This is docday-gae-report-20080901-01
26
#
13 index.py output html:
14 #-#
15
16
17
18
19docday-gae-report-20080901-01
20
21
22
23
24
25This is docday-gae-report-20080901-01
26
> While I agree that claims shouldn't be made for not fully working
> frameworks, I'd rather the core AppEngine team implement features the
> rest of the community would have great difficulty implementing. I
> don't consider templates a difficult piece of the pie. I'm a relative
> python newbie
Me too!
On Sep 1, 9:41 am, Peter <[EMAIL PROTECTED]> wrote:
> Pretty daft I know, if anyone wants to tell me how to find my posts
> without having first found one of my posts please let me know.
--~--~-~--~~~---~--~~
You received this message because you are subsc
Hello All,
I am having some trouble with the Documents List API vis-a-vis
AppEngine.
I've already identified the problem, and am looking for a solution.
My test user has 102 documents (on his g-apps account). I have a
script set up that retrieves the documents list feed for the currently
logged
As fas as I know just
book.title = "New Title"
book.put()
2008/8/31 Aaron <[EMAIL PROTECTED]>:
>
> Given that I have successfully stored a Model defined as:
>
> class Book(db.Model):
> title = db.StringProperty(required=True)
> author = db.StringProperty(required=True)
> illustrator = db.S
I keep getting the message "A server error has occurred" every time I
click on Data Viewer. Help, pls.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to g
__.py do?
-DocDay
1 #----#
2 app.yaml:
3 #-#
4 application: gae-report-20080901-02
5 version: 0
6 runtime: python
7 api_version: 1
8 handlers:
9 - url: /.*
10 script: dy
Bit of a gaping hole in the usability thing I'd have thought...
On Sep 1, 9:43 pm, DocDay <[EMAIL PROTECTED]> wrote:
> Me too!
>
> On Sep 1, 9:41 am, Peter <[EMAIL PROTECTED]> wrote:
>
> > Pretty daft I know, if anyone wants to tell me how to find my posts
> > without having first found one of my
Surely I'm not the only one on the planet trying to run this under
windows?
On Aug 31, 11:25 pm, Peter <[EMAIL PROTECTED]> wrote:
> I'm trying to get django and app engine working together. I'm a
> novice with both, so maybe I'm missing something. I'm running on
> Windows Vista.
>
> I'm followi
> > ... if I had a little more time and motivation, I'd
> > create a version of Haml (template system out of Ruby world that uses
> > pythonic indentation for clarity) that allows embedded python.
>
> Hmm, the docs look interesting. I would give it a try if you ported
> it to Python. It looks p
click on the Profile link in the top right. your profile page has an
archive of all of your posts.
--~--~-~--~~~---~--~~
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
are you looking for setattr()?
http://docs.python.org/lib/built-in-funcs.html#l2h-66
--~--~-~--~~~---~--~~
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@g
hi waldemar! as mentioned in the docs, both the SDK and the production
environment always use UTC:
http://code.google.com/appengine/docs/datastore/typesandpropertyclasses.html#DateTimeProperty
see http://timezones.appspot.com/ for details on handling time zones.
--~--~-~--~~
hi all! thanks for the report. we're aware of the problem, and we
expect that our next release will significantly reduce the error rate.
until then, apologies for the inconvenience.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
hi nash! the extra four index rows come from the built-in single
property indexes. in this example, they'll need two index rows for x
and two for y. you're right, the docs don't fully describe this. i'll
update them. thanks for the nudge!
as for your repeated property index, yes, it will also hav
yes, _CurrentTransactionKey() will do what you want. it's
undocumented, though, and not considered part of the public API, hence
the leading underscore. given that, we might change it at any time.
unlikely, but possible.
having said that, the python API already detects and prohibits nested
transa
On Mon, Sep 1, 2008 at 7:41 AM, Peter <[EMAIL PROTECTED]> wrote:
>
> Pretty daft I know, if anyone wants to tell me how to find my posts
> without having first found one of my posts please let me know.
>
Use email delivery to gmail and search for label:gae
>
> >
>
--~--~-~--~~
On Wed, Aug 27, 2008 at 4:09 PM, javaDinosaur <[EMAIL PROTECTED]>wrote:
>
> I am starting to have doubts about continuing to develop my
> applications for GAE. My concerns are not technical although I have a
> some anxieties about transaction data propagation performance.
>
> My concerns center ar
On Sat, Aug 30, 2008 at 3:56 AM, Davide Rognoni <[EMAIL PROTECTED]>wrote:
>
> Doubts about Django Template
>
> http://groups.google.com/group/google-appengine/browse_thread/thread/3503204aed78e934#
>
> About this discussion which seems to have stolen the thread (bad)
Django templates are one of t
please stop sending this emails, they add little knowledge to the group.
There is no best, it depends on the project requirements, it's scope and
more important taste of the people involved.
On Mon, Sep 1, 2008 at 1:22 PM, Davide Rognoni <[EMAIL PROTECTED]>wrote:
>
> You can vote a engine:
> http
#x27;s just a convention the above link will explain. Normally
it's either empty or people add package initialization code.
>
> -DocDay
>
>
> 1 #----#
> 2 app.yaml:
> 3 #----
Great, thanks!
On Sep 2, 4:08 am, ryan <[EMAIL PROTECTED]> wrote:
> hi nash! the extra four index rows come from the built-in single
> property indexes. in this example, they'll need two index rows for x
> and two for y. you're right, the docs don't fully describe this. i'll
> update them. thanks
xml.dom.minidom and xml.etree are definitely supported, I suppose
xml.dom and xml.sax should be supported too.
I just ran this in the GAE shell (http://shell.appspot.com/):
>>> import xml
>>> dir(xml)
['_MINIMUM_XMLPLUS_VERSION', '__all__', '__builtins__', '__doc__',
'__file__', '__name__', '__p
Dooohh!
On Sep 1, 6:37 pm, ryan <[EMAIL PROTECTED]> wrote:
> click on the Profile link in the top right. your profile page has an
> archive of all of your posts.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Googl
>
> > 3) What does __init__.py do?
>
> nothing really, it's just a convention the above link will explain. Normally
> it's either empty or people add package initialization code.
>
>
>
>
>
> > -DocDay
>
> > 1 #-
As far as I understand, the model gets 'deleted' when you delete all
its entities. You can delete the entities from the admin interface. If
you have many of them you can write a temp request handler that
deletes entities in packs and reload the page until there are no
entities left.
On Sep 1, 8:5
> 1) How can I find out the TOTAL number of entities in my Model
> datastore?
>
> I tried
>
> GQLQuery("SELECT * FROM Document").count()
>
> but this just caps out at a 1000.
This is by design. You need to use a counter and update it each time
you add/delete an entity. An efficient implementation
Try replacing
template.register_template_library('template_extras')
with
template.register_template_library('template_extras.extensions')
Check google/appengine/ext/webapp/template.py lines 162-194 for
details.
On Aug 31, 4:17 am, notreadbyhumans <[EMAIL PROTECTED]> wrote:
> I'm tryin
Hello developers, please help solve my problem :
Let's say I have a model :
class Item(db.Model):
name = db.StringProperty()
date_posted = db.DateTimeProperty()
date_expired = db.DateTimeProperty()
sample data:
name | date_posted | date_expired |
item-a | 2-jan-2000| 6-jan-20
Oops, I wrote the wrong last table, it should be :
name | date_posted | date_expired |
item-b | 5-jan-2000| 7-jan-2000|
item-d | 4-jan-2000| 8-jan-2000|
item-a | 2-jan-2000| 6-jan-2000|
item-c | 1-jan-2000| 8-jan-2000|
On Sep 2, 10:30 am, ade <[EMAIL PROTEC
You can add and maintain a flag - is_expired - and filter by its
value. You can then order by date_posted.
The trick is of course in keeping the flag up to date, this is not
straightforward until GAE adds support for background tasks. Check
issue 6 for possible workarounds:
http://code.google.com
On Sep 2, 1:17 am, ryan <[EMAIL PROTECTED]> wrote:
> having said that, the python API already detects and prohibits nested
> transactions. from the beginning of RunInTransaction() in
> datastore.py:
>
> if _CurrentTransactionKey():
> raise datastore_errors.BadRequestError(
> 'Nested
Hi Ryan,
On 2 Sep., 00:44, ryan <[EMAIL PROTECTED]> wrote:
> hi waldemar! as mentioned in the docs, both the SDK and the production
> environment always use UTC:
Thanks! I've read that part in the documentation, but didn't
understand it. For example, it says:
"If the datetime value has a tzinfo
69 matches
Mail list logo