edit form for actions per
component, or assigning component to layout - this will be most of your work
I will guess. Everything else, and most of what you want will be easy by
comparison.
Best regards,
Yarko
<>
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 wrote:
> Hello,
>
> How may I use web2py with ipython shell?
>
> I use this command to start ipython with my app :
>
> python
On Jul 5, 12:20 pm, Jean-Guy 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 '' --shell=APP_NAME -i 127.0.0.1 -p 8000
try:
python web2py
eld('process_id', db.process))
>
> >> db.define_table( 'locus',
> >> Field( 'substance', db.substance),
> >> Field( 'process', db.process),
> >> Field( 'condition', db.condition),
> >> Field( '
this should help you: "do I mean 'before_name',
or the name in the before_id record? What to I really need to
reference?"
Perhaps using a data model would help you struggle with this at the
appropriate level (it does not seem you are ready to start
implementing this in web2py
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 wrote:
> Hi,
>
> I would like to link a table to its own model like this:
>
> db.define_table('person',
>
ntroller/function.html"
means that web2py renders from your_application/views/controller/
function.html
"last folder you were in" - what does this mean?
(remember: web requests are stateless, except for what you store in
session cookies)
hope this helps a little,
- Yarko
>
> I me
without a corresponding default view, and the generic one will be
used.
Hope this helps.
Regards,
- Yarko
>
> best regards,
> TC
pends on a "magic string" in the template
app, will fail.
A better solution would be to make this completely transparent --- a
little thinking about this should come to a solution (hmac_key is
currently persisted in a source file...)
... Good discussion, guys - lovely to see this!
- Yarko
y for the typo, it is exactly a _blank target attribute
>
> desidered output
>
> link name
Like this:
A( B('link name'), _href = URL(r=request, f='show', args=x.id),
_target = "_blank" )
Hope this helps,
- Yarko
that either should be fine.
- Yarko
> Here's all you
> should need to know if the above isn't descriptive enough.
>
> In db.py:
> auth = Auth(globals(),db) # authentication/authorization
> auth.define_tables() # creates all needed tables
>
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 wrote:
> Crap that should read:
>
> To reprodu
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
wrote
db.auth.myfield.readable = False
In your profile controller, set it to True;
On Jun 27, 6:34 pm, Giuseppe Luca Scrofani
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 this happen?
easy; it's a nice way to keep your work under hg
(which - as you've noticed - if your project is under hg, then you can
see changes from wing).
Regards,
- Yarko
>
> On Jun 27, 3:28 pm, mdipierro wrote:
>
> > > Maybe just add a new property dynamically to the row
&g
On Jun 27, 7:55 am, dlin 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 admin / web i
ou want.
You can see what this looks like with the shell:
python web2py.py -S welcome
>>> db = DAL('sqlite:memory:')
>>> db.define_table( 'example', Field('one'), Field('two'))
>>> form = SQLFORM(db.example, formstyle = 'divs' )
>>> print form
Regards,
- Yarko
>
> gls
On Jun 26, 4:31 pm, Giuseppe Luca Scrofani
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 submit button) wh
uggest the source
version), please report details.
Regards,
- Yarko
On Jun 26, 12:46 pm, Swell 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 mac/linux?
... well, this
On Jun 25, 3:50 am, Andrew Buchan wrote:
> Yarko,
>
> I tried doing this with a DIV, but if I put the whole form within the DIV,
I meant submitting the first form, and doing a LOAD() in another part
of the page conditionally, based on some submit value of the first
form (instead of dir
specific error code - it would be good
to see if this makes it through back into python, and then ensure we
are doing appropriate exception catching.
Thank you,
- Yarko
On Jun 25, 3:39 am, Swell wrote:
> Ok i have been able to reproduce the bug ,
> it works perfectly if the web2py tree i
On Jun 25, 3:24 am, Andrew Buchan 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 user has to selec
est.folder = os.path.join(request.env.web2py_path,
> 'applications', request.application) + '/'
>
> On Jun 25, 11:15 am, Yarko Tymciurak
> wrote:
>
> > By the way -
>
> > The filename in the upload directory was 194 characters --- it'
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
I was able to download
and view it from the db admin link.
I then also added another record with the same file --- and
(appropriately) there are two files in the app upload directory, and I
can download each.
I tested this on mac; I expect this would also work on linux;
Someone will have to se
On Jun 24, 12:11 pm, Deepan wrote:
> Hi,
>
> I am having an error in web2py app. I am not able to figure out what
> is causing the error. It would be of great help if any can figure out
> the error and let me know.
>
> Error is as follows:
>
> Traceback (most recent call last):
> File "/cube/ap
ent / child table, with id of the parent in
a parent field, id of a child in child field)..
I'm not sure I know what you want / why you want this, why an
attribute on a field is "special" for your request
- Yarko
>
> Carles
>
> El 22/06/2010, a las 19:56, Carles Go
y Field too, if you're simply
doing things programatically, and just want to dynamically include the
field in a form).
Note: you can also make a memory database, and define a table in
memory
Hope this is helpful.
- Yarko
>
> THX
ior consistent
with ...field.requires
Depending on what you need to do, one or the other might be
appropriate.
- Yarko
>
> On Jun 22, 9:56 am, Andrew Buchan wrote:
>
>
>
> > Hi Massimo,
>
> > I posted the code below before checking if the form would actually submit.
On Jun 21, 9:09 pm, Yarin wrote:
> Roger that Yarko- I will do as you say. Big thanks to you and Massimo
> too for sticking with me today- It was my first time on this board,
> and my first week with web2py, and I've been nothing but impressed
> with what I've seen- Aw
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 ho
proper user for your web2py instance, and set a proper home
directory, and this will not be a problem - that is what you need to
focus on next I think
Regards,
- Yarko
On Jun 21, 3:37 pm, Yarin wrote:
> > You should
> > be able to add this to options_std.py; I think you sh
Is it bad practice to repeatedly
> set environment vars in multi-threaded code?
You probably want to do this at web2py start, for web2py. You should
be able to add this to options_std.py; I think you should be able,
alternatively, to do this
in your parameters*.py file
(see http://www.web2py
On Jun 21, 12:18 pm, Yarin wrote:
> @Yarko
>
> > Try to compare these two:
> > $ python -c 'import sys; print sys.path'
> > and, from your web2py directory:
> > $ python web2py.py -S welcome
> > >>> import sys; print sys.path
> >
impler restarts of the wsgi thread associated with your web2py that
do not require a restart of _all_ the sites your apache is running.
You probably don't care about that at this point (but if you do, read
up on mod_wsgi --- you touch a script to get the wsgi thread only to
restart, thus rest
ll 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
> wrote:
>
>
>
> > On Jun 20, 5:52 pm, NickFranceschina
> > wrote:
>
> > > Version
er circumstance.
I believe you are correct - and your correction seems proper.
Massimo - can you review, and make this correction?
- Yarko
>
> -Nick Franceschina
y.ajax( {
type: 'POST',
url: u,
data: {test : document.getElementById(s).innerHTML},
success: function(msg) {
document.getElementById(t).innerHTML=msg;
}
} );
};
-->
On Jun 20, 1:58 pm, Yarko Tymciurak
wrote:
> Well, maybe this i
On Jun 20, 10:45 am, Thadeus Burgess 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 just not
> designe
>
click me
Note that you could replace thefield just as easily
with something like:
All sorts of stuff
Hopefully, this has been helpful.
- Yarko
>
> On Jun 19, 5:42 am, ilovesss2004 wrote:
>
>
>
> > Hi,
> > How can I let python controller get the va
b shell was a curiousity... nice for demos, but
not distinctly useful enough to bother with.
That would be my best hint...
- Yarko
- Yarko
>
> David
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
The controller pulling out request.vars (or perhaps
even pulling from an uploaded file) --- that should be the relatively
easy part.
You might start by looking searching www.web2pyslices.com.Try
looking at, and understanding the clienttools slice
http://www.web2pyslices.com/main/slices/take_sl
rd 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
> wrote:
>
>
>
> > On Jun 17
On Jun 17, 8:21 pm, rochacbruno 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 controls work is certainly
quot;, then from that menu "Enable Extensions" to get this
It isn't immediately evident to me what this is.
- Yarko
On Jun 17, 6:48 pm, Richard wrote:
> cool. Is the source code available for download?
follow the links...
>
> On Jun 18, 1:50 am, mdipierro wrote:
>
>
>
> >http://www.web2py.com/mazes
On Jun 17, 6:18 pm, Swell wrote:
> thx yarko for your detailed answer.
> I have not written code so far, I have been using the administrative
> interface provided by web2py to manage the records in the DB.
> I am going to generate another test showing this kind of behaviour
> with
wb')
shutil.copyfileobj(file, dest_file)
dest_file.close()
return newfilename
\---
In sum, after working through this I suspect it is your code
(somewhere) which is causing your problems; I think you should debug
it, and give us enough information to help
On Jun 17, 10:41 am, mdipierro wrote:
> http://www.web2py.com/AlterEgo/default/show/252
>
> fix is in trunk
Massimo -
... I see you added _type= to ONE of the html.SCRIPT() calls (the
one for no ajax); I think you wanted to add this to both calls, no?
- Yarko
>
> On J
d a _type
parameter to the two html.SCRIPT() calls (around line 137 & 140, I
think), something like this:
html.SCRIPT( script, _type="text/javascript")
Let us know if that helps.
Regards,
- Yarko
On Jun 17, 9:02 am, selecta wrote:
> the script tag is generated by the LOAD
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 wrote:
> routes.py is the way to do it
> it's a standard file of web2py
>
> On 16 juin, 20:36, Michelle Jun wrote:
>
>
>
> > hi
>
> > i am wondering if i can do these
On Jun 15, 10:26 pm, Salvor Hardin wrote:
> On Jun 15, 9:12 pm, Yarko Tymciurak
> wrote:
>
>
>
>
>
> > On Jun 15, 6:29 pm, Salvor Hardin wrote:
>
> > > It would be great if web2py.exe loads sqlite3.dll from the same
> > > directory as web2py.exe
On Jun 15, 1:56 pm, zsouthboy 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
On Jun 15, 6:29 pm, Salvor Hardin 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 this may have to d
ng it, you'll
> get an import error...
>
> On Mon, Jun 14, 2010 at 12:57 AM, Yarko Tymciurak
>
>
>
> wrote:
> > The generic www sql modeler is:
>
> >http://code.google.com/p/wwwsqldesigner/
>
> > Not sure if anyone has been tracking this, but
) in the correct order?
Look at that referenced book link again.
Then - if you still need help, tell us what you are doing in a way
that someone _could_ reproduce, and help you with.
- Yarko
>
> Thanks anyway it appreciate.
>
> Jonhy
ot; that I can
think of that doesn't have directory level symbolic links is
(possibly) Windows.
I think there are already 2 ways to do this, one flexible (routes),
one simple (link your app to init) - and the only possible complainers
would be those deploying on windows, and even for
On Jun 15, 7:13 am, Jose wrote:
> On 15 jun, 05:12, Sky 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 the same way that a real
might be helpful:
http://web2py.com/book/default/section/6/7
http://web2py.com/book/default/section/6/4?search=executesql
- Yarko
On Jun 15, 3:30 am, mika wrote:
> so what I can do if I have database already created? I would like
> simply to connect db and see if tables exists...
> by the
It looks like something else might be wrong here... how are you
getting these filenames?
On Jun 15, 2:37 am, Swell wrote:
> don't really know but i tried with that filename :
>
> aaa
> .p
On Jun 14, 7:19 pm, Richard 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 variables explicitl
On Jun 14, 4:21 pm, "Robert O'Connor" 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 add a utils.py in
, Yarko Tymciurak
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 h
imo is away, not readily accessible to the net, but
I'm sure he will point you to more.
In the meantime, I hope this helps.
Let us know if you need more.
Regards,
- Yarko
On Jun 14, 9:37 am, Jeff Elkner wrote:
> It is the end of the school year and my students and I are trying to
>
On Jun 14, 8:51 am, zsouthboy 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 reference tables tha
anually start and stop the Apache instance. To
stop the server, enter ./apache2/bin/stop and press Enter. To start
the server, enter ./apache2/bin/start and press Enter.
-
- Yarko
>
> any help is greatly appreciated :)
>
> Pai
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 wrote:
> Hi everyone,
>
> I am looking for the link for
On Jun 13, 1:00 pm, NickFranceschina
wrote:
> anyone?
>
> On Jun 12, 4:52 pm, NickFranceschina
> 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
> > versions ofjsonconversion?
>
> > >>> reco
oing back and forth, but start by making some
model for yourself of what the path is from that web browser to your
controller.
I hope this is helpful.
Regards,
- Yarko
>
> According to webfaction's support people you cannot install only one
> web2py application in an account, when I install a second web2py
> called secondweb2py, how do customweb2py and secondweb2py know about
> each others existence?
>
> Kind regards,
>
> Annet.
nt. If you
installed PIL in your python instance as a user (for example) then
your web2py might not see that installation.
A comparison of sys.path in the two environment can help you see
this. Try showing sys.path in a sample page, and compare to what
you get for sys.path from your
Interesting (FYI):
http://threatpost.com/en_us/blogs/mass-sql-injection-attack-hits-sites-running-iis-061010
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
wrote:
> This would be a security concern: I do not think you want web
> executables / files owned by root. You would t
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 root
On Jun 10, 1:17 pm, mdipierro 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 implement a depen
; (e.g. web2py model handling currently) as a default way
of achieving backward compatibility...
So 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
&
On Jun 10, 3:44 pm, Doug Warren wrote:
> On Thu, Jun 10, 2010 at 10:53 AM, Yarko Tymciurak
>
> wrote:
>
> > More discussion, thoughts?
>
> > (maybe this should move to the web2py developer's thread?)
>
> As my request is still 'pending' I'd
a request (and I think this is a
needed shakeup).
More discussion, thoughts?
(maybe this should move to the web2py developer's thread?)
- Yarko
>
> Let the model try to grab it's required modules if it can't find one
> it'll just raise an exception and it'll be trie
this would
be worth it.
Thoughts?
- Yarko
On Jun 10, 11:30 am, Thadeus Burgess wrote:
> What if I needed two controllers to share the same model? Would I then
> place two definitions in request.models?
>
> Not 0.py that is not a valid python filename. Python modules/variables
>
On Jun 10, 11:20 am, mdipierro 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 be executed
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 wrote:
> http://www.jqueryplugins.com/plugins/
On Jun 9, 5:59 pm, Jonathan Lundell 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 different. T
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 wrote:
> I do not know how to help about this. This seems more of a problem
> with smtl
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
o Yarko's explanation, the DAL is not an ORM.
>
> > You probably mean.
>
> > if form.accepts(request.vars, session):
> > foo = create_object(owner_id=auth.auth_id, # NOT
> > db.create_object, just call your function like regular
> > template_nam
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 wrote:
> Not sure I understand. This should be alread
... 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
wrote:
> On Jun 7, 2:28 am, annet wrote:
>
> > Safari 4.0.5 : 115 0ut of 160
>
> On OS/X 10.6.3:
>
> Ch
On Jun 7, 2:28 am, annet 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? -
from just glancing a
e specific back ends SQL).
You'll also find that forms, 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 Tymci
When you really want to reduce what gets run at _each_ request, you
might want to look at what to move to modules, so that you're only
pulling in those files when needed.
As for db - DAL: db is the "global" and "default" name for the db
connection string (it is so name
On Jun 3, 11:31 pm, dlin 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:
>
> db.table.field.requires=IS_NOT_IN_DB(db, 'table.fie
quot;all"
browsers (at least those that render images).
- Yarko
>
> Anyway, if you choose to do it the Yarko's way be careful because you
> need to base64 encode not urlescape. web2py provides a helper to do
> this
>
> http://web2py.com/examples/static/epydoc/web2
On Jun 3, 12:07 pm, mdipierro 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/);
There are other consi
he inline data approach.
- Yarko
Have you tried something like this:
(replace png with whatever the correct image format it)
Let us know if this works.
- Yarko
On Jun 3, 11:23 am, Aaron Crowe wrote:
> How would I go about rendering an image that's been uploaded and
> stored in a database?
#x27;dog.name')
> db.ownership.cat.requires = IS_IN_DB(db, 'cat.id', 'cat.name')
>
> I would like to be able to add the relation between person and dog without
> have to enter a cat in the case of person that has no cat.
"A person either has no cat, or the cat's information must exist for
them to own it":
db.ownership.cat.requires = IS_NULL_OR( IS_IN_DB( db, 'cat.id',
'cat.name') )
Does that help?
Regards,
- Yarko
>
> Thanks.
>
> Jonhy
On Jun 2, 2:04 pm, Thadeus Burgess 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) is
http://www.web
On Jun 2, 1:52 pm, weheh 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" wrote:
>
> > in your model add something like
>
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 War
1 - 100 of 2248 matches
Mail list logo