Annet -
I think there is nothing obviously wrong with what you have said, except
that it's not clear nor specific enough yet to implement (I think). If you
get a little organized, you will start thinking about the details, and then
you can ask again about specifics.
I have translated what I
On Jul 5, 12:20 pm, Jean-Guy jean...@gmail.com wrote:
Hello,
How may I use web2py with ipython shell?
... if you have ipython installed, web2py shell should pick it up.
I use this command to start ipython with my app :
python web2py.py -a 'recycle' --shell=APP_NAME -i 127.0.0.1 -p 8000
you can also find info here:
http://web2py.com/book/default/section/4/1?search=shell
The help option to web2py is most likely to be current.
On Jul 5, 12:20 pm, Jean-Guy jean...@gmail.com wrote:
Hello,
How may I use web2py with ipython shell?
I use this command to start ipython with my app
the table names and then
add the fields either in db.py, or in the controller file. But I have
no idea how to do this.
On 7/3/10, Yarko Tymciurak resultsinsoftw...@gmail.com wrote:
The online book has a fairly useful search;
For your question, see:
http://web2py.com/book/default
The online book has a fairly useful search;
For your question, see:
http://web2py.com/book/default/section/6/13
Regards,
- Yarko
On Jul 3, 8:45 am, Rick sababa.sab...@gmail.com wrote:
Hi,
I would like to link a table to its own model like this:
db.define_table('person',
about - this is a web-
based modeling tool: http://code.google.com/p/wwwsqldesigner/ (you
can follow / use the demo installation).
Draw the relationships, clarify, organize your thoughts first.
Regards,
- Yarko
On 7/3/10, Yarko Tymciurak resultsinsoftw...@gmail.com wrote:
The online book
On Jul 1, 8:36 am, Tom Chang t72...@gmail.com wrote:
web2py experts,
a newbie here trying to learn web2py on my first app.
Basically, I want a user to upload a text file (work perfectly right
from web2py). Then, the backend (controller) will analyze the text
files, and then display the
On Jul 1, 5:51 pm, Jean-Guy jean...@gmail.com wrote:
Hello,
I am having difficulties to understand something about web2py...
Can we make other folders (different of the default folder) for storing
our models, controllers and views or should we most put everything in
default folder?
not
In general, any attribute for an HTML helper can be set by referring
the the HTML tag name: this
in the helper as: _this
So, your original question can change to: How do I set the target
tag in the A() helper?
On Jun 30, 10:36 am, Giuseppe Luca Scrofani glsdes...@gmail.com
wrote:
Sorry for
On Jun 30, 2:44 pm, Craig Younkins cyounk...@gmail.com wrote:
If you'd like this moved to the developers list, just approve my application
and reply there.
When I say that MD5 is the default that applies only to the case that
a hmac_key is not specified. This is 1) for backward
can you give a complete example necessary to reproduce?
Alternatively, you can debug yourself: set a breakpoint at gluon/
tools.py::Auth:add_permission()
and analyze what's going on...
- Yarko
On Jun 29, 2:13 pm, Chris S sanders.ch...@gmail.com wrote:
Crap that should read:
To reproduce:
just patch this but I'm still
learning python/web2py and this one's a bit above me.
On Jun 29, 3:01 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
can you give a complete example necessary to reproduce?
Alternatively, you can debug yourself: set a breakpoint at gluon/
tools.py
On Jun 27, 7:55 am, dlin dlin...@gmail.com wrote:
Q1. Languages file is not easy to edit by editor directly, because it
translate the utf-8 into backslash numbers. I think the translate
application should write out directly code instead of blackslash
number.
Update the translation using the
On Jun 27, 4:36 pm, dlypka dly...@gmail.com wrote:
Great. Thanks so much!
However, I've never accessed the 'trunk' before.
I don't think I have access.
You do - it's distributed SCM - you have read-only access
Do I need to do a get from Mercurial source control?
I have WING IDE, which I
db.auth.myfield.readable = False
In your profile controller, set it to True;
On Jun 27, 6:34 pm, Giuseppe Luca Scrofani glsdes...@gmail.com
wrote:
Hi all, as subject I have to make a custom field of auth.user visible
only in profile form but not in register form. There is an option to
make
whatever condition you choose, and however you decide to implement
what you want, the readable attributes will help you accomplish what
you want. You can search for more information here:
http://web2py.com/book/default/section/6/4?search=readable
On Jun 27, 7:59 pm, Giuseppe Luca Scrofani
On Jun 26, 12:46 pm, Swell swel...@googlemail.com wrote:
Yes i am using web2py 1.79.2 on windows 7 64b
Can someone try to save the web2py files in a very long directory name
( something like 200 characters ) and use the kind of filename i
provided ( long ) and see what is happening on
On Jun 26, 12:46 pm, Swell swel...@googlemail.com wrote:
Yes i am using web2py 1.79.2 on windows 7 64b
Can someone try to save the web2py files in a very long directory name
( something like 200 characters ) and use the kind of filename i
provided ( long ) and see what is happening on
On Jun 26, 4:31 pm, Giuseppe Luca Scrofani glsdes...@gmail.com
wrote:
Hi all, I have to {{include sidebar.html}} in every page of a site,
... you might want to then put this in your site's views/layout.html
file;
and one of the elements in this include is a little form (a text field
and a
On Jun 26, 6:16 pm, Giuseppe Luca Scrofani glsdes...@gmail.com
wrote:
Hi, something like this is possible? Automatic generation of forms by
db is just too lazy and beautiful to make me manually construct them
just for some space in between fields...
db.define_table('example',
On Jun 25, 3:24 am, Andrew Buchan andyha...@gmail.com wrote:
Sorry for delay in getting back. I eventually opted for a solution which
does not involve JQuery, instead a department-specific list of fields is
passed to SQLForm, which makes things so much simpler.
The only draw back is that the
Perhaps you can give us a few more specifics about your system, and
your test methods.
It seems that there is a filename limit of 226 (?) characters, and a
path limit of 255 characters on FAT32 filesystems (although brief
googling shows some inconsistent data).
In any case, there should be a
and struggling for time, and this is
really a nice to have which I can't afford to spend too much time on before
launching. But still, all suggestions are most welcome...
On Fri, Jun 25, 2010 at 9:37 AM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
On Jun 25, 3:24 am, Andrew Buchan
Hi M -
So I've used you example (a little simplified):
On Jun 23, 3:15 am, Swell swel...@googlemail.com wrote:
Ok
I will post some code here to show as much as possible
here is the db definition:
db.define_table('papers',
Field('title','string'),
Field('author','string'),
By the way -
The filename in the upload directory was 194 characters --- it's
entirely possible that windows was having trouble with this.
Here is the listing of my test uploads directory (the first was just
a 'normal' length file):
-rw-r--r-- 1 yarko staff 2642 Jun 24 17:33 test.file.
:
request.folder = os.path.join(request.env.web2py_path,
'applications', request.application) + '/'
On Jun 25, 11:15 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
By the way -
The filename in the upload directory was 194 characters --- it's
entirely possible that windows
On Jun 23, 8:23 am, AsmanCom d.as...@web.de wrote:
Hi,
i can make a hidden Field by:
form = SQLFORM.factory(Field(field_name, type=hidden,
default=Off))
Now the Form is hidden, but the Fieldname is still there, how can I
hide this?
If you don't want a field in form factory, simply don't
On Jun 23, 9:11 am, Carles carle...@gmail.com wrote:
Sorry but, any thoughts?
Have you looked at http://www.web2py.com/book/default/section/6/6?search=puppy
or http://www.web2py.com/book/default/section/6/9?search=puppy (you
could have a relationship field if you _needed_, or
you could simply
framework, great support
Welcome, Yarin! - glad we could be of some little help. (and
thanks for the kind words :-)).
- Yarko
On Jun 21, 9:52 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
I think this problem is the wrong one for you to focus on - when you
configure your web2py
You need to think about this ---
On Jun 22, 11:15 am, mdipierro mdipie...@cs.depaul.edu wrote:
This is no longer a client issue. I think you do handle the problem
correctly client side.
The problem is that if some fields exist in db but you do not want to
insert them you need to change the
, this will work too, although I'm not sure the extra
gyrations (make a dict; unwrap a dict) are necessary.
Thanks for catching this, Nick!
-
On Jun 21, 12:41 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Jun 20, 5:52 pm, NickFranceschina nickfrancesch...@gmail.com
wrote
On Jun 21, 10:57 am, Yarin ykess...@gmail.com wrote:
@mdipierro - Do you mean do I have multiple versions of Python on my
system?
$ ls usr/bin/ shows -
...
-rwxr-xr-x 1 root root 82 Jul 10 2008 pydoc
-rwxr-xr-x 1 root root 3572 Jul 10 2008 python
lrwxrwxrwx 1 root root
may also try what Massimo suggested;
Let us know your progress.
- Yarko
Also, run
I've even run
$ chmod -R 777 /usr/lib/python2.5/site-packages/PyAMF-0.5.1-py2.5-
linux-i686.egg
to ensure it's not a permissions issue, but I'm getting the same
result...
On Jun 21, 12:45 pm, Yarko
, as I
assume it may be used for other things. Thoughts?
On Jun 21, 2:29 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Jun 21, 12:18 pm, Yarin ykess...@gmail.com wrote:
@Yarko
Try to compare these two:
$ python -c 'import sys; print sys.path'
and, from your web2py
be runnning things from root. Apache runs as its own user,
but I'm assuming I then have to set up another user distinct from
root? (I know this is beyond the scope of this forum- maybe you could
point me to some good resources?)
On Jun 21, 3:33 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote
FYI - for year (years?) www.web2py.com ran on just cherrypy --- it
had one problem with download streaming of large files on only some
browsers (e.g. downloads of web2py archives would be incomplete). I
think cherrypy folks my have fixed that.
In anycase, there is precedence for using it for
Well, maybe this is a good exercise / tutorial in debugging:
On Jun 20, 9:02 am, mdipierro mdipie...@cs.depaul.edu wrote:
# this just displays view/default/index.html as it is
def index():
return dict()
# demo: get input from the client and do something with it
# - split, so you can
On Jun 20, 10:45 am, Thadeus Burgess thade...@thadeusb.com wrote:
I agree with most of these points.
http://packages.python.org/web2py_utils/test_runner.html
That is about as far as you will get with testing on web2py. You need
very hacky code just to run your tests properly. Web2py was
On Jun 20, 1:58 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
Well, maybe this is a good exercise / tutorial in debugging:
On Jun 20, 9:02 am, mdipierro mdipie...@cs.depaul.edu wrote:
# this just displays view/default/index.html as it is def index():
return dict()
# demo: get
On Jun 20, 5:52 pm, NickFranceschina nickfrancesch...@gmail.com
wrote:
Version 1.79.2 (2010-06-08 22:45:26)
was browsing through the code implementing some custom authentication
and noticed this on line 1809 of tools.py:
user.update_record(password=form.vars.new_password,
On Jun 19, 5:42 am, ilovesss2004 yyiillu...@gmail.com wrote:
Hi,
How can I let python controller get the value of a textfield when I
press a button in html page (not a submit button)?
This is a question of client-server transaction: it does not matter
(really) what the client is, or what the
I think maybe Thadeus meant SQLFORM or SQLFORM.factory
You can give several tables to SQLFORM.factory. You can display a
form (or fields) without making them editable by making the fields not
writeable (you don't need to do this in the table - you can do it in
the controller, only just
On Jun 19, 1:48 pm, David Marko dma...@tiscali.cz wrote:
I just decided today to explore the 'shell' function the web2py
browser interface offers. But I found it very unstable. This works
very fine until I want to get back to my app. It locks database access
that means entire web2py server is
/a)
.
On Jun 18, 7:23 pm, Richard richar...@gmail.com wrote:
yes I did follow the link, of course. But there is no download link
there. Do you need to be logged in to see it?
If it is available to you can you just post the link here?
On Jun 18, 10:57 am, Yarko Tymciurak resultsinsoftw
see http://web2py.com/book/default/section/4/15
In the top web2py folder, there is a routes.example.py
On Jun 16, 11:59 pm, KR kaerbu...@gmail.com wrote:
routes.py is the way to do it
it's a standard file of web2py
On 16 juin, 20:36, Michelle Jun michellejun...@gmail.com wrote:
hi
i
I was wondering what this LOAD function was about - new, not in
manual (not exactly easy to track down in source)
gluon/compileapp.LoadFactory
Since the SCRIPT helper should allow arbitrary attributes, you might
go into LoadFactory.__call__() method, near the end, and add a _type
On Jun 17, 10:06 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
I was wondering what this LOAD function was about - new, not in
manual (not exactly easy to track down in source)
gluon/compileapp.LoadFactory
Since the SCRIPT helper should allow arbitrary attributes, you might
On Jun 17, 4:59 pm, Swell swel...@googlemail.com wrote:
There is nothing suspicious here about the filename ( it was an
example here, but it has the same effect with a file containing the
description oof the paper + all the authors ). I am almost sure that
it is related to size of the path +
, 11:51 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Jun 17, 4:59 pm, Swell swel...@googlemail.com wrote:
There is nothing suspicious here about the filename ( it was an
example here, but it has the same effect with a file containing the
description oof the paper + all
On Jun 17, 6:48 pm, Richard richar...@gmail.com wrote:
cool. Is the source code available for download?
follow the links...
On Jun 18, 1:50 am, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.web2py.com/mazes
On Jun 17, 7:45 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Jun 17, 2010, at 5:21 PM, Mike wrote:
Just got an iMac (windows switcher) and ran the latest version of
web2py from source. However when I opened a controlled in the admin
editor all the text has a drop shadow behind it
On Jun 17, 8:21 pm, rochacbruno rochacbr...@gmail.com wrote:
Ok, I will be waiting,
I am trying to do something like
this:http://demos.telerik.com/aspnet-ajax/filter/examples/firstlook/defaul...
(the demo doesn't seem to work - if you filter, the results
don't) but the way the js
It looks like something else might be wrong here... how are you
getting these filenames?
On Jun 15, 2:37 am, Swell swel...@googlemail.com wrote:
don't really know but i tried with that filename :
aaa
The first question you might answer is: how would you do this without
web2py? What are your steps?
Then, you can ask - how does web2py get into this, and what web2py
facilities (if any) do something like this?
A few observations:
If you 'create' a web2py table definition for an existing
On Jun 15, 7:13 am, Jose jjac...@gmail.com wrote:
On 15 jun, 05:12, Sky hmonfa...@gmail.com wrote:
Thank you Jose,
but I couldn't find out if you used define_table or not?
can you drop me a piece of your code?
i get 'invalid query' error when i query on my views.
They are declared in
On Jun 15, 1:05 pm, Jean-Guy jean...@gmail.com wrote:
On 2010-06-15 13:16, Thadeus Burgess wrote:
I ment... whats the use attempting to convince Massimo that this is a
good idea although many community members want it. He has been against
this suggestion for the last year that I have
On Jun 15, 10:39 am, Jean-Guy jean...@gmail.com wrote:
On 2010-06-15 11:36, Pai wrote:
there's an option to customized it. see below
http://web2py.com/book/default/section/8/1?search=Customizing+Auth
hope this helps :)
Pai
On Jun 15, 10:17 am, Jean-Guyjean...@gmail.com wrote:
it, you'll
get an import error...
On Mon, Jun 14, 2010 at 12:57 AM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
The generic www sql modeler is:
http://code.google.com/p/wwwsqldesigner/
Not sure if anyone has been tracking this, but the code does have
web2py (and sqlite) generation
On Jun 15, 6:29 pm, Salvor Hardin salvor.pub...@gmail.com wrote:
It would be great if web2py.exe loads sqlite3.dll from the same
directory as web2py.exe.
Unfortunately, web2py loads C:\Windows\System32\sqlite3.dll which is
the most unpredictable version of sqlite3.dll on Windows.
Hmmm
On Jun 15, 1:56 pm, zsouthboy zsouth...@gmail.com wrote:
Hi Yarko,
Thanks for the help!
I had initially tried doing what the introductory docs show (which is
marking a reference like (image, db.image) for a column), which
fails because there is no member 'image' of db yet.
Then I consulted
On Jun 14, 8:51 am, zsouthboy zsouth...@gmail.com wrote:
Problem: I don't see how to specify multiple tables with table
references to each other. I can't simply define the relationship,
because the DAL hasn't created a table yet to reference. But I can't
create the table(s) because they
Hi Jeff -
Have a look at the examples in Chapter 3 -
http://www.web2py.com/book/default/section/3,
particularly leading into http://www.web2py.com/book/default/section/3/5
This should help you get your example working.
It is also helpful to think of the flow through web2py of the
request /
, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
Hi Jeff -
Have a look at the examples in Chapter 3
-http://www.web2py.com/book/default/section/3,
particularly leading intohttp://www.web2py.com/book/default/section/3/5
This should help you get your example working.
It is also helpful
On Jun 14, 4:21 pm, Robert O'Connor robby.ocon...@gmail.com wrote:
throw it into the modules directory in its own file say foo.py
-Rob
or perhaps utils.py
- note that modules will need to be imported everywhere you want to
use them (which is ok - use local_import());
An alternative is to
On Jun 14, 7:19 pm, Richard richar...@gmail.com wrote:
have a look at some of the example apps:http://web2py.com/appliances
The main issue with migrating model/controller code into modules is
you no longer have access to the global variables like db/session/etc.
So you have to pass these
On Jun 13, 9:51 am, annet annet.verm...@gmail.com wrote:
Hi Vasile,
please take a look if that is what you
needhttp://groups.google.com/group/web2py/browse_thread/thread/fac136d7e1...
Thanks for pointing me in the right direction. I'll give it a try and
let you know if it works.
-
On Jun 13, 1:00 pm, NickFranceschina nickfrancesch...@gmail.com
wrote:
anyone?
On Jun 12, 4:52 pm, NickFranceschina nickfrancesch...@gmail.com
wrote:
if I have a records collection (of type Rows) from a select() call
through the DAL... why is the output different between these two
The generic www sql modeler is:
http://code.google.com/p/wwwsqldesigner/
Not sure if anyone has been tracking this, but the code does have
web2py (and sqlite) generation in the source tree.
- Yarko
On Jun 13, 9:13 pm, nhisyam nhis...@gmail.com wrote:
Hi everyone,
I am looking for the link
On Jun 14, 12:42 am, Pai pai.siwamut...@gmail.com wrote:
Hi,
total noob question here.. how do you restart web2py on
webfactional? I ssh in and put in
python web2py.py -z 5
it seems like it is trying to start another instance of web2py rather
than trying to shut it down. Any body has
On Jun 12, 6:27 am, Kenneth kenneth.t.lundst...@gmail.com wrote:
Thank you Richard for the fast reply,
I tested with python and from PIL import Image and the only result
was a new line, so I´m guess python finds PIL but not web2py.
Kenneth -
This means your two Python environments are
This would be a security concern: I do not think you want web
executables / files owned by root.You would then be forced to open
up accessibility to the files (so that something which _is not root_
can run / read them) --- which would weaken security; OR you would
(???) need to run as
if you are looking to prevent access, you should instead be doing
something like this:
chown -R nobody:nobody *.py
... etc.
On Jun 11, 5:41 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
This would be a security concern: I do not think you want web
executables / files owned by root
Interesting (FYI):
http://threatpost.com/en_us/blogs/mass-sql-injection-attack-hits-sites-running-iis-061010
that comes up as a bad link for me...
www.jquery.com/plugins redirects to http://plugins.jquery.com -- is
this the one you meant?
On Jun 10, 11:04 am, mdipierro mdipie...@cs.depaul.edu wrote:
http://www.jqueryplugins.com/plugins/
On Jun 10, 11:20 am, mdipierro mdipie...@cs.depaul.edu wrote:
Here is my proposal:
define the following:
request.models=(
('*','db.py'),
('*','model1.py'),
('*','model2.py'),
('default','model3.py'),
('default/a,default/b','model4.py'),
)
it specifies the order in which models should
... this all _sounds_ great, but for one thing:
It places a dependency (an import or setup list) FAR AWAY from
where it should be declared!!!
This _will_ (sooner or later) become a problem.
Why not have something _less global_ (why _one_ config file???), and
more component / containment
On Jun 10, 3:44 pm, Doug Warren doug.war...@gmail.com wrote:
On Thu, Jun 10, 2010 at 10:53 AM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
More discussion, thoughts?
(maybe this should move to the web2py developer's thread?)
As my request is still 'pending' I'd ask to keep
the question still returns to the problem space - and you've added
one problem: wanting to share models among we2py apps (e.g. make
something like modules of them).
Kind regards,
- Yarko
--
Thadeus
On Thu, Jun 10, 2010 at 3:24 PM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
On Jun 10
On Jun 10, 1:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
If we are going to work on this we may as well solve a different
problem.
Executing models take time. If you have 500 tables each defined it its
own file, it takes lots of time. Yet not all actions need all tables
so we may want to
Ok - this link - html5test.com - has been updated, and Safari-5 is out
today;
Out of (now) a total possible 300 points:
Safari 5.0 (6533.16): 208 + 10 bonus points;
Chrome 5.0.375.70:197 + 7 bonus points;
Safari 3.6.3139 + 4
Opera 10.53: 129 + 4
- Yarko
There is no reason you need to use webfaction's mail servers if you
are hosted on webfaction.
try connecting to a different mail server, and run some tests and see
what happens.
On Jun 9, 12:49 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I do not know how to help about this. This seems more
On Jun 9, 5:59 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Jun 9, 2010, at 5:39 PM, GoldenTiger wrote:
Athttp://www.ez-css.org/rapid_prototyping, code of Module3A and
Module3B are identical, but looks different.
I don't understand it. Any help please?
The classes are subtly
doug.war...@gmail.com wrote:
On Fri, Jun 4, 2010 at 9:11 AM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
On Jun 4, 10:58 am, Doug Warren doug.war...@gmail.com wrote:
I don't believe I want to local_import my db.py file as it's already
set up by the environment correct?
Correct
On Jun 7, 2:28 am, annet annet.verm...@gmail.com wrote:
Safari 4.0.5 : 115 0ut of 160
On OS/X 10.6.3:
Chrome 5.0.375.55: 142
Safari 4.0.5: 120
Opera 10.53:102
Firefox 3.6.3:101
Not sure how complete this test is (has anyone reviewed the test?
... I missed that this is being developed, open, by Niels:
http://github.com/NielsLeenheer/html5test
...opne to contributions
On Jun 7, 1:10 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Jun 7, 2:28 am, annet annet.verm...@gmail.com wrote:
Safari 4.0.5 : 115 0ut of 160
On OS/X
Iceberg: could you debug / trace? I too thought the behavior you
asked for was already the case, so it is probably getting short
circuited somewhere - would be good to see where.
- Yarko
On Jun 7, 1:11 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Not sure I understand. This should be
On Jun 4, 10:43 am, Doug Warren doug.war...@gmail.com wrote:
Traditionally when I've written MVC style applications, the model
would contain not only the data representing the objects but also the
data for manipulating the objects. I'm not sure how that same
relation applies to web2py.
If
, and validators are coupled to table
structure, so if / as you try to abstract away from table definitions,
you will run into this.
I'm sure others will add more comments...
On Fri, Jun 4, 2010 at 8:56 AM, Yarko Tymciurak
resultsinsoftw...@gmail.com wrote:
On Jun 4, 10:43 am, Doug Warren doug.war
On Jun 3, 10:26 am, Jean Guy jean...@gmail.com wrote:
Hi,
I would like to know if there is a way as simple of requires = IS_IN_DB to
show a dropbox of what is already in my table, but without the need of
requiring that field be entered in my other table. I have many fields that
need dropbox
Have you tried something like this:
img='data:image/png;base64, {{=encodestring(my_db_stored_image)}}' /
(replace png with whatever the correct image format it)
Let us know if this works.
- Yarko
On Jun 3, 11:23 am, Aaron Crowe aaron.h.cr...@gmail.com wrote:
How would I go about rendering an
On Jun 3, 11:52 am, Vasile Ermicioi elff...@gmail.com wrote:
Yarkos approach will work only if you store it in a blob field, but not if
image is uploaded in a directory
my approach (Massimos approach :) ) should work for both cases
What Vasile showed requires that the image file is in the
On Jun 3, 12:07 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Vasile approach (create an action to serve the blob as an image) is to
be preferred because Yarko's approach is not cross-browser compatible.
Specifically IE 5-7 (see
http://www.websiteoptimization.com/speed/tweak/inline-images/);
On Jun 3, 12:07 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Vasile approach (create an action to serve the blob as an image) is to
be preferred because Yarko's approach is not cross-browser compatible.
just to be clear: this approach does not by itself serve a blob
- if there is no
On Jun 3, 11:31 pm, dlin dlin...@gmail.com wrote:
There is a field which I want user to enter different answer, or just
keep in empty.
empty, or unique answer:
db.table.answer.requires=IS_NULL_OR( IS_NOT_IN_DB( db,
'table.answer' ) )
I've tried by:
There are things here that are redundant, but you might want to check
against
http://code.google.com/p/web2py/source/browse/.hgignore
In particular, I don't see that you have errors (but might want to);
there is more, but I'll let you look thru it.
- Yarko
On Jun 2, 11:25 am, Doug Warren
On Jun 2, 1:52 pm, weheh richard_gor...@verizon.net wrote:
@hamdy.a.farag: swet. One of these days I have to memorize the
bazillion or so auth.settings.
or simply use an IDE / debugger which will do completions for
you!
On Jun 2, 12:53 pm, hamdy.a.farag hamdy.a.fa...@inbox.com
On Jun 2, 2:04 pm, Thadeus Burgess thade...@thadeusb.com wrote:
And for a given field...
db(db.table.id 0).update(field = None)
You can see all this in the count / delete / update section of
http://www.web2py.com/book/default/section/6/5;
The behavior of truncate (i.e., resetting counter)
=SQLDB(DBURI) and create the non
existant databases folder. But they are other issues (balance is
none ? making some requests failed) and it seems not to implement some
CMS functionnalities.
Thx already.
On 27 mai, 07:23, Yarko Tymciurak resultsinsoftw...@gmail.com wrote:
Mariano
On May 31, 11:49 am, mdipierro mdipie...@cs.depaul.edu wrote:
On May 31, 11:33 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
web2conf from 2010 will not run with web2py 1.78.3;
If you checkout from the pycon2010 repository, which includes the
version of
web2py.
Why
On May 31, 12:10 pm, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On May 31, 11:49 am, mdipierro mdipie...@cs.depaul.edu wrote:
On May 31, 11:33 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
web2conf from 2010 will not run with web2py 1.78.3;
If you checkout from
1 - 100 of 1768 matches
Mail list logo