Is it possible to replace an existing ZSQL method with an identical
Python External Method that behaves exactly the same way?
So if I have a ZSQL method "GetThingFromDB"
got a
Can I replace "GetThingFromDB" with a Python External Method?
I've discovered that if I return a list, then that l
Dieter Maurer wrote:
> Joh Johannsen writes:
> > What sort of object is this "REQUEST.form['attached_file']"? Is there some
> > way to find out this sort of thing when you have a Python object? (I'm new
> > to Python)
> It is a "
y of): "In you python external method you can now reference
REQUEST.form['attached_file'] as a normal file. You can perform things such
as read() on the object. "
This makes it seem like whatever is necessary, it is very easy, but there's
some detail that I am missing. Mayb
OK, there is a How-To on that, which is helpful, by benno
But it says: "In you python external method you can now reference
REQUEST.form['attached_file'] as a normal file. You can
perform things such as read() on the object. "
Now in my Python external method, I can referen
This works with mysql:
1. make mysql table with a LONGBLOB field for holding the image, suppose you
make it a field called "imageData"
2. in your DTML, do this (assume getImage gets the image you want)
The retrieve, etc. things you mentioned are just sql, displaying it is the
tricky part