Amendment: In case it wasn't clear, I have been developing GAE code in
Eclips for a while
On Jan 30, 9:37 am, I.K. iain.ked...@gmail.com wrote:
Hi,
I'm a recovering Java programmer who's pretty new to Python. I've
been using the Eclipse IDE to develop which is pretty nice, but I'm
On Jan 30, 2:37 pm, I.K. iain.ked...@gmail.com wrote:
...
Anybody have some instructions on how to setup the NetBeans IDE for a
GAE project? I've tried to mimic the path and arguments to fireup the
debug version of the GAE environment, but it doesn't work and I'm not
really sure what I'm
Hi,
On Jan 29, 6:55 pm, boson dan.kam...@gmail.com wrote:
On Jan 29, 5:15 am, Waldemar Kornewald wkornew...@gmail.com wrote:
What exactly was the problem? Could you please post the settings
backend code here?
This is what I was
hey there,
just an update: a working version of the query class with built in
pagination is available at:
http://bitbucket.org/moraes/appengine/src/tip/bookmark.py
let me know what you think.
-- rodrigo
--~--~-~--~~~---~--~~
You received this message
Hi!
In Django, you define a function that handles the request (the view in
django notation), and supply it with a request object.
This request object contains all your GET and POST data.
So instead of defining a class, you would define a function that
handles the request.
def myview(request):
Here's a talk on scalability in regards to the data-store:
http://www.youtube.com/watch?v=Oh9_t5W6MTEfeature=channel
Here's my opinion (gained from limited experience):
On App Engine you basically have to make every request a small
request.
(case 1 - product
I just tested this and it works:
1. Create a New Project in Eclipse. Call it Test-Server. Put the two files
listed below in Test-server/src
2. Create a Run/Debug configuration in Eclipse. Name it Test-Server.
3. In the Main Tab of the above configuration panel, set your Main Module to
something
Hi,
I should also have mentioned that I have downloaded Netbeans 6.5 with
python support and opend up an existing GAE project I have been
working on in Eclips. I had a quick play and noticed loads of features
take from the other language support, including:
+ syntax colouring
+ import validating
Thanks a lot for your detailed reply
Earlier I have created a class that implements webapp.RequestHandler
for handling the GET request. The def get(self) is returning a simple
xml as a response. There I have set the content type as
self.response.headers['Content-Type'] = 'text/xml' and
As an addendum, once in a blue moon it would come up as error 403 too
many versions
so I changed the version and it worked! However, in the control panel,
I couldn't set the default to the new version (Server Error)
But at least it allowed me to keep hacking.
This morning it all seems to be OK,
On Jan 30, 6:30 am, Cluster cluster.mas...@gmail.com wrote:
Hello All
I have ~27000 entries in 1Mb csv file. After bulk uploading them on my
local GAE server, it starts to consume ~250Mb of memory.
But i have 5 same files with entries. So, when i'll upload them, will
GAE take more then
You are welcome!
Setting the Content-Type header works a little different in Django.
You can either specify it when you construct a HttpResponse object ourself:
from django.http import HttpResponse
def myview(request):
response = HttpResponse(content_type=text/xml)
return response
When using
As a suggestion, the app-engine-patch project is a very nice product.
I'm personally using it, on substituting gaeutiltiies sessions and
cache, with very good results on my primary project. Being able to
take advantage of Django's backends had me authenticating accoutns
through Google (OpenID)
I'm interested in adding geolocation to my app. Specifically, I'd
like to find the city/metro area a user is in to serve localized
results.
I've done some brief research, and this pattern is emerging:
1) Serve a location-untargeted html file.
2) Include some JavaScript in that file that
Hi,
I've been working a sample that does something similar to this (note
to self: publish soon :). In the meantime, I can definitely suggest
using Google Gear's geolocator:
http://code.google.com/apis/gears/api_geolocation.html#geolocation
and the Google Maps geolocation library:
You can use the method as described in [1] to walk over all your entities
(following a bit of pseudo code)
result = Model.all().filter('__key__ =', val).fetch(11)
db.put(result[:10]) #Put back the first 10
if len(result)==11: newval = result[10].key()
If you just use a single filter all the
hi all,
I'm testing application locally (Development/1.0 server/Mac OS X/
Python 2.5) and want to be sure of one thing:
- even if both User-Agent/Accept-Encoding headers are specified in
request as in:
http://code.google.com/appengine/kb/general.html#compression
(and in few other places in issue
It looks like you really are missing the PIL module.
syncdb isn't necessary with app-engine-patch. But,
$ python manage.py shell
will probably fail with the same error until PIL gets installed.
Which platform are you developing on?
On Jan 30, 10:44 am, metametagirl metametag...@gmail.com
I am trying to use django on my windows xp machine that contains
google app engine sdk version 1.1.7 and python 2.5.4. I am following
the below given link:
http://www.42topics.com/dumps/appengine/doc.html
I have created a directory mashname in C:\. At command prompt when I
type
C:\Program
Hi,
I tried out Netbeans for sometime, the content assist and the help
in JavaScript was great. But could not get the dev_appserver.py to run
from it.. Saw an under construction proj in Google Code, which wants
to develop a plugin for netbeans to add GAE sever to the net beams
supported
20 matches
Mail list logo