Thanks a lot! That's helpful!
On Dec 25, 1:58 am, Garrett Davis garrettdavis...@gmail.com wrote:
You can handle your query if you add another field in your Kind, a
ListProperty containing both the start date and end date.
Try this:
class FicaTable(db.Model):
a table of salary amounts
Hi,
Here's the scenario:
I want to update the data on appengine by either modifying existing
model instances or adding new ones.
The uploaded data is in a format similar to this:
A0011,data fields
A0022,...
A0033,...
so the first column is a unique id and the rest is more data.
A key name is not the same as a key.
You need to use FooEntity.get_by_key_name to get a named entity.
Similarly, you need to set the key name at construction time, using
the key_name argument to the constructor.
On Dec 25, 10:25 pm, gmalquestion adatgyu...@gmail.com wrote:
Hi,
Here's the
You need to use Key.from_path() to construct your keys from model name
and key name:
keys = [db.Key.from_path('MyModel', row[first_column])
for row in data]
result = MyModel.get(keys)
--
www.muspy.com
On Dec 26, 8:25 am, gmalquestion adatgyu...@gmail.com wrote:
Hi,
Hi,
we want to build web app on top of GAE which provides its users with
their own profiles. There are many apps out there which allows users
to map their profiles to their own domains (e.g. Blogger and many
others). Can we accomplish this feature using GAE? If yes how?
We are not afraid of any
e.that's the msg,and no proxy or some vpnDSL directly
Thx all.
INFO 2008-12-25 19:34:02,546 appcfg.py] Server:
appengine.google.com
INFO 2008-12-25 19:34:02,562 appcfg.py] Checking for updates to
the SDK.
INFO 2008-12-25 19:34:02,671 appcfg.py] Update check failed:
i have very similiar problem. i'm using x64 vista but just x86 python.
for my scripts works perfect, but for app engine not so much. if i had
turned on automatic update, it's take down python. dono why. here is
output
Problem signature:
Problem Event Name: APPCRASH
Application Name:
I've deleted several index off of my local index.yaml after re-working
my model definitions (most but not all of these deletions occurred by
merely deleting index.yaml, clearing my local datastore, and then
running through my app after making the model changes). Many of these
indexes refer to
Does anyone know if it is possible to further restrict the access to
the application to a subset of Google Accounts holders?
I would like to have the authentication done using the Google
Accounts, but then limit the access to only few individuals identified
by the authenticated email address. At
I know this is an old thread, but I wanted to provide answer in case
somebody stumbles on this while searching for a solution.
So when running Eclipse on mac OS X, you do not need to add libraries
to the project.
Finally, when configuring the run, you'll find dev_appserver.py in /
usr/local/bin
I have several indexes on the Google server that are not only no
longer in my local index.yaml, but reference properties that no longer
exist in the datastore. I assume this is slowing my write operations
down, at least in the case of indexes referencing properties that
still exist (but maybe
You need to vacuum your indices manually:
appcfg.py vacuum_indexes folder
http://code.google.com/appengine/docs/appcfgpy.html
On Dec 26, 6:05 am, dloomer dloo...@gmail.com wrote:
I have several indexes on the Google server that are not only no
longer in my local index.yaml, but reference
Alex Hi,
if I want to use something like:
{{money|local}}
where do I put your input about import locale
because I saw this snippet
from django import template
import locale
locale.setlocale(locale.LC_ALL, '')
register = template.Library()
@register.filter()
def currency(value):
return
Shay, you can try this code:
import locale
from django import template
register = template.Library()
@register.filter()
def currency(value):
locale.setlocale(locale.LC_ALL, '')
return locale.currency(value, grouping=True)
Also, in your template you should add this line near the top:
14 matches
Mail list logo