You do not need to worry because the all idea of t2 is to have
separate modules for different functionalities that you include as
needed. t2.py is the core and it will stay small.
Massimo
On Nov 17, 11:08 pm, "mr.freeze" <[EMAIL PROTECTED]> wrote:
> Are there performance issues to consider when
Vihang,
You are a great guy! Very unselfish.
Cheers!
ed
On Nov 16, 5:02 pm, vihang <[EMAIL PROTECTED]> wrote:
> Thank you everyone. I am sure the domain will be put to good use by
> the community, which was always the intention. Looking forward to
> collaborating further...
>
> On Nov 16, 12:44 a
Hello,
I am trying to develop a function that takes db.table and does
different things to it.
Now i was wondering how do i access different attributes of the table?
Like for example, access different fields inside a table can be done
using db.table.fields but what about all the other attributes?
Are there performance issues to consider when instantiating an entire
tier of features (T2) vs. a modular approach? A lot of my apps seem
to only need the web2py core and a couple of T2 features like
authentication and user/group management. I would like to be able to
selectively enable modules
I rearranged the order of you code and removed those cols referencing
tables that are not defined. The following code works:
import datetime
now=datetime.datetime.today()
db=SQLDB('sqlite://storage.db')
db.define_table('docs_categories',
SQLField('name','string',length=150),
I will give this a try later tonight.
Massimo
On Nov 17, 5:59 pm, pigmej <[EMAIL PROTECTED]> wrote:
> Yarko it's after :)
>
> I copied parts from it and paste there. So thats not that problem ;)
>
> On Nov 18, 12:55 am, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
>
> > OH!
> > You need to reali
Yarko it's after :)
I copied parts from it and paste there. So thats not that problem ;)
On Nov 18, 12:55 am, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
> OH!
> You need to realize one thing: web2py EXECUTES your models -
>
> db.docs_categories.name.requires
>
> must appear AFTER the db.
OH!
You need to realize one thing: web2py EXECUTES your models -
db.docs_categories.name.requires
must appear AFTER the db.define_tablewhich defines docs_categories
Try to arrange your code to account for this - then see what you get.
On Mon, Nov 17, 2008 at 5:39 PM, pigmej <[EMAI
by convention,web2py maps requests this way:
application / controller / function { / args / vars }
If application is "init" or "welcome", then you're left w/ controller /
function
so if your app is init, then http://my.domain.info/file.html asks
web2py for the controller "file", but do
so
Any single error. Just nothing select in Category dropdown if I
generate SQLFORM(db.docs_pages_ver,values,showid = False). All other
dropdown's are selected ( author and parrent ) but not this one
Part of model (it's enough?):
http://wklej.to/bpL
On Nov 18, 12:28 am, mdipierro <[EMA
to avoid modifying t2.py I redefined the instance method externally
like this:
def login(self,next='index',onlogin=None):
request,response,session,cache,T,db=self._globals()
form=SQLFORM(db.t2_person,fields=['name','password'],\
hidden=dict(_destination=request.vars._des
when in the gui and i want to create a new view, it seems i have to
type in default/new-view.html for the controller to see it and on the
web web it must be accessed with app/default/view - why not app/view?
On Mon, Nov 17, 2008 at 4:29 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> sorry. I do not
I have answered tihis just now in another thread
On Nov 17, 4:49 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I put this in a view:
>
> {{extend '../../plugin_t2/views/layout.html'}}
> {{=schols}}
>
> And it displays like I said before (plus i added [next page] here)
>
> [next page]
> [#1] field1
because itemize is not the same as a normal table. It expects you to
define how to show a row:
db.mytable.represent=lambda row: P(SPAN(row.name),SPAN
(row.otherfield))
if it does not better, its takes the field only.
Massimo
On Nov 17, 4:45 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I put th
sorry. I do not understand the question.
On Nov 17, 4:43 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I was wondering why i was following what I learned from the puppy
> demo... create default/file.html when file.html does not work - it
> gives a controller error. why is it like that - that we n
what error do you get? can I see the model?
On Nov 17, 4:00 pm, pigmej <[EMAIL PROTECTED]> wrote:
> Did not works.
>
> On Nov 17, 10:26 pm, mdipierro <[EMAIL PROTECTED]> wrote:
>
> > Do not know whitout lookig at models but try replace
>
> > db.docs_pages_ver.category.requires=IS_NULL_OR(IS_IN_DB
Looking at
http://www.postgresql.org/docs/8.3/interactive/sql-keywords-appendix.html
it appears to be reserved in SQL-2003 standard;
On Mon, Nov 17, 2008 at 4:14 PM, Phyo Arkar <[EMAIL PROTECTED]>wrote:
> Ok , So have to avoid it then . Np :)
>
>
> On Mon, Nov 17, 2008 at 10:12 PM, billf <[EMAIL
And the purpose of separation is to prevent "unnatural design coupling."
Some things may be "naturally coupled" across layers, such as a login. But
what about student name? Student name is part of the data structure, used
in logic, and presented in a friendly way...What if, at the data level,
I can't see any dropdown list in my application with any of these
suggestions (web2py 1.50 but also tried 1.47).
Moreover I have a second problem when inserting new records in my db.
Here below you can find my db.py (model, with the original italian
names for tables and fields, sqlite database)
i'm going to try this:
http://jqueryfordesigners.com/slide-out-and-drawer-effect/
On Nov 17, 3:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Actually, maybe jquery can do a slide down and fill it with text
> thingy. Can jquery do that? I click on the item and some space opens
> up be
I put this in a view:
{{extend '../../plugin_t2/views/layout.html'}}
{{=schols}}
And it displays like I said before (plus i added [next page] here)
[next page]
[#1] field1
...
[#10] field1
When I click on [ next page ] it shows #1 - #10 again. The url
changes to /schols?_page=1 - it shou
I put this in the controller:
def scholarships():
return
dict(schols=t2.itemize(db.schols,query=db.schols.id>0,limitby=(0,10)))
and then in the view:
{{=schols}
but it only shows:
[#1] field1
[#2] field1
.
.
.
[#10] field1
How do I show the other fields? I looked for the alterego doc
I was wondering why i was following what I learned from the puppy
demo... create default/file.html when file.html does not work - it
gives a controller error. why is it like that - that we need to do
default/ stuff?
thx,
-wj
--~--~-~--~~~---~--~~
You receive
Actually, maybe jquery can do a slide down and fill it with text
thingy. Can jquery do that? I click on the item and some space opens
up below the item with some description text?
-wj
On Nov 17, 3:15 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> Is there a way to have a popout screen for a db r
Is there a way to have a popout screen for a db record like the puppy
demo does for a pic. i.e., click on link to record and get a popout
of that record in a box like the puppy pic.
thx,
-wj
--~--~-~--~~~---~--~~
You received this message because you are subscri
Ok , So have to avoid it then . Np :)
On Mon, Nov 17, 2008 at 10:12 PM, billf <[EMAIL PROTECTED]>wrote:
>
> According to
> http://www.petefreitag.com/tools/sql_reserved_words_checker/?word=release
>
> "release" is a reserved word in DB2, MySQL 5.0 and PostgreSQL 8.
>
> On Nov 17, 9:24 pm, mdipier
According to
http://www.petefreitag.com/tools/sql_reserved_words_checker/?word=release
"release" is a reserved word in DB2, MySQL 5.0 and PostgreSQL 8.
On Nov 17, 9:24 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> maybe release is a SQL reserved keyword.
>
> Massimo
>
> On Nov 17, 3:19 pm, "Phyo A
tbh I have been sitting on my hands for a while but a few other posts
have touched on some of the real difficulties so I hope I will not
been seen as the only negative/questioning voice. I start from the
point that I think the aims are wonderful. But...
To begin with, most of the aims of sharing
Did not works.
On Nov 17, 10:26 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> Do not know whitout lookig at models but try replace
>
> db.docs_pages_ver.category.requires=IS_NULL_OR(IS_IN_DB
> (db,'docs_categories.id','docs_categories.name',error_message="..."))
>
> with
>
> db.docs_pages_ver.catego
Do not know whitout lookig at models but try replace
db.docs_pages_ver.category.requires=IS_NULL_OR(IS_IN_DB
(db,'docs_categories.id','docs_categories.name',error_message="..."))
with
db.docs_pages_ver.category.requires=IS_NULL_OR(IS_IN_DB
(db,'docs_categories.id','%(id)s',error_message="..."))
maybe release is a SQL reserved keyword.
Massimo
On Nov 17, 3:19 pm, "Phyo Arkar" <[EMAIL PROTECTED]> wrote:
> When you define a table with field name 'release' it gives out SQL error!!!
> When that name is changed , theres no more problem.
>
> Weird?
--~--~-~--~~~---
You're almost there.
Yes, put all of the if/then logic in the controller, that what
controllers are made for.
The purpose of MVC separation is make the View and Controller
completely abstracted pieces.
Ideally, doing any HTML work in the controller is an MVC violation.
Instead you should p
I just solved the problem with help from someone else.
It seems to do with executing mv parameters_8000.py parameters_80.py
after starting and stopping web2py
Thanks to Christophe Gragnic and alwaysdata.com, I finally have web2py
working on a reasonable cost hosting service after 7 months
experim
t2.itemize(db.table) does pagination by default. There is an AlterEgo
entry that does it manually.
Massimo
On Nov 17, 3:00 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> Is there a view or something that will allow the paging of db results?
> In my scholarship app, I'd like the students to be abl
When you define a table with field name 'release' it gives out SQL error!!!
When that name is changed , theres no more problem.
Weird?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To
Is the best place to create data for views in the controller. For
instance, after a student enters some initial data, I need to look at
that data and determine what scholarships they might be eligible for.
Along with the student data and a scholarship table, I need to do a
bunch of "if then" log
Controler:
def test():
values=db(db.docs_pages_ver.id==47).select()[0]
return SQLFORM(db.docs_pages_ver,values,showid = False)
model:
db.docs_pages_ver.category.requires=IS_NULL_OR(IS_IN_DB
(db,'docs_categories.id','docs_categories.name',error_message="..."))
db.docs_pages_ver.author.re
Some terminology note (this is what I mean when I say foundations are
a gray area for many here): in OSS foundation lingo, incubator status
is for projects or software that wants to join, but has not yet
fulfilled or agreed on all the criteria required by the foundation
(either technically or mana
Is there a view or something that will allow the paging of db results?
In my scholarship app, I'd like the students to be able to read about
the different scholarships if they want to, say 10 at a time and have
a next/prev nav capability.
Also, in the puppy demo I remember being able to click on
Please resend it to me... sorry I put that one on hold since I am
still trying to figure out something.
Massimo
On Nov 17, 2:40 pm, achipa <[EMAIL PROTECTED]> wrote:
> The cron patch seems to be missing. I do have a newer version than the
> one I sent you a while back (now with external/system c
The cron patch seems to be missing. I do have a newer version than the
one I sent you a while back (now with external/system cron support),
so if you still want to include it, let me know so I could send you
the latest version.
On Nov 17, 9:22 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> ... or did
... or did I miss something?
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send ema
I mean actual process, not session. You run into problems if you start
two instances of web2py on the same machine or on different machines.
Also mind that the cache uses the filename as key (first argument of
cache.ram) to retrieve the file. You may want the key dependent on the
response.session
Thanks the cache.ram works :) One process running web2py do you mean
as in actual processes or as in sessions?
Artien
On Nov 17, 8:00 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> You are trying to create a process from one action (one http request)
> and access it from another one. This is what pe
Companies are members if employees of the company pass the
certification and if they ask to be listed.
I am thinking of certifying web2py but also debian/ubuntu, postgresql,
apache, cherokee, and other programs considered to be high quality and
relevant by the members. I also want to certify qual
On 14 nov, 22:01, mdipierro <[EMAIL PROTECTED]> wrote:
> I want to create an association of users, not a foundation. The
> purpose of the association would be:
>
> 1) promote the use of free software in general (not just web2py)
I'm certainly in for an association aboutweb2py. However, promoting
I have web2py running on a hosting service. I am trying to get to the
administration/code writing section remotely. How do I do this?
I tried in applications/admin/controllers/default.py, replacing
raise HTTP(200,T('Admin is disabled because unsecure channel'))
with
pass#raise HTTP(200,T('Admin i
yes, i kinda thought that was what he meant, and if i had looked at
the code closer, i would have realized that - my untrained eye did not
remember, that a function can have a variable with a default value,
but if you pass something i that place it will use what you pass.
thx Yarko
-wj
On
this is awesome - it worked!!
(and Massimo says "no duh")
-wj
On Mon, Nov 17, 2008 at 12:43 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> you can do
>
> ...requires=IS_MATH('\d+',error_message=T('hey, must be a number!'))
>
> every validator takes error_message
>
> Massimo
>
> On Nov 17, 1:39 pm
If you look at gluon/validators.py, you'll see IS_MATCH is a class;
Massimo showed (w/ typos ;-) how to override the default of the __init__()
for error_message (which is called when the object of the class is created,
e.g. in the:
...requires=IS_MATCH()call
The argument to IS_MATCH i
that is just the next question I was going to ask if there is a way to
add text at the beginning (in the model definition).
Thx
-wj
On Mon, Nov 17, 2008 at 12:43 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> you can do
>
> ...requires=IS_MATH('\d+',error_message=T('hey, must be a number!'))
you can do
...requires=IS_MATH('\d+',error_message=T('hey, must be a number!'))
every validator takes error_message
Massimo
On Nov 17, 1:39 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> ok, wingide has helped me find what text fills the class="error">. I would like to create a custom IS_MATCH
yes I know i can also use:
find . -exec grep "invalid expression" {} \; -print
but sometimes that spews a lot of stuff. I did use it this time to
find validators.py, though and I put a break in wingide to see things
happen - very cool app -> wingide.
-wj
On Nov 17, 12:39 pm, "Wes James" <[EMA
Yes, please post an example. It may help other people too.
On Nov 17, 1:14 pm, artien <[EMAIL PROTECTED]> wrote:
> It fills the data the forms again just fine like we mailed about
> before!
>
> I still notice that form.accepts(request.vars, session) breaks for me
> at the same spot (one form with
ok, wingide has helped me find what text fills the . I would like to create a custom IS_MATCH so i can
have a custom error message for a particular field. Other than copy
and pasting IS_MATCH in validators.py to a new function, is there a
different way to do this?
thx,
-wj
--~--~-~--
That is probably the diff. You have the full version.
-thx
On Mon, Nov 17, 2008 at 12:18 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> Since this is written in wxPython, I think OS/X version will be less
> different than the 101 version vs. the "full" version I have.
>
> At the top, there sh
Since this is written in wxPython, I think OS/X version will be less
different than the 101 version vs. the "full" version I have.
At the top, there should be menu items - project among them (right of
"File") --- that's where I do "Project --> New..."
I'll send some screenshots along later this
It fills the data the forms again just fine like we mailed about
before!
I still notice that form.accepts(request.vars, session) breaks for me
at the same spot (one form with 2 buttons, one validates just fine the
other doesn't validate) as it did in 1.49.1 (but doesn't in 1.47). If
you need more
You are trying to create a process from one action (one http request)
and access it from another one. This is what pexpect is for.
I have neve used it before. The problem is that objects create in one
request are not persistant unless you say do.
There are two mechanisms for persistance: session
Very nice, did you see my previous post?
http://groups.google.com/group/web2py/browse_thread/thread/9bd0c9a576ab7868/a6585d40d86f9b02#a6585d40d86f9b02
On Nov 17, 10:51 am, mdipierro <[EMAIL PROTECTED]> wrote:
> I posted web2py 1.50
>
> this fixes some bug introduced in 1.49 with custom forms, the
What is in the VERSION file. I just posted a new IS_URL one minute
ago.
Massimo
On Nov 17, 12:51 pm, pigmej <[EMAIL PROTECTED]> wrote:
> Latest SVN
>
> On Nov 17, 6:30 pm, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
>
> > Can you give some details about what you are running from? Source?
> >
Please take a look at OSGeo. If you have companies like Autodesk
joining in, you can't say it's not being taken seriously. Also, OSGeo
has a far broader reach as it has half a dozen very different projects
under it's umbrella and at least as much in incubation. With regard to
differentiating devel
I posted web2py 1.50
this fixes some bug introduced in 1.49 with custom forms, the new
IS_URL validator written by Jonathan Benn and no more warnings for
missing database drivers (Attila Csipa).
Please give it a try!
Massimo
--~--~-~--~~~---~--~~
You received thi
Latest SVN
On Nov 17, 6:30 pm, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
> Can you give some details about what you are running from? Source?
> version?
> (This sounds like a bug - although the first isn't a well-formed web2py
> url, it is a valid url)
>
> On Mon, Nov 17, 2008 at 11:21 AM,
ok, i set a break point in default.py in admin folder and click on
admin and it caught the break. I need to do some poking
thx,
-wj
On Mon, Nov 17, 2008 at 11:34 AM, Wes James <[EMAIL PROTECTED]> wrote:
> LOL, thx Yarko!
>
> I got in to the wsgiserver.py and now i'm stuck there or somethi
LOL, thx Yarko!
I got in to the wsgiserver.py and now i'm stuck there or something.
The debugger is running, but i'm not sure where it's at.
Another thing, is I don't see a way to make a project. Are you using
the osx version? If you are using windows version, it might be
different. I don't s
Hello,
I'm trying to use pexpect from web2py with limited success. What I
notice is that web2py doesn't treat the object like a normal python
program would.
A simple example (my real program creates ssh sessions this is just to
demonstrate the issue):
with ajax I call two functions:
first it c
double clicking on a file in the project explorer (file list, on right) will
open that file...
Ok - that's enough from me - have fun!
On Mon, Nov 17, 2008 at 12:21 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> (can you tell I like WingIDE?)
>
>
> On Mon, Nov 17, 2008 at 12:20 PM, Yarko Tymciur
(can you tell I like WingIDE?)
On Mon, Nov 17, 2008 at 12:20 PM, Yarko Tymciurak <[EMAIL PROTECTED]> wrote:
> One more hint:
> When looking at the code file - hover over it's tab to see the path; the
> pull-down at the top of file window shows the structure you are within
> (class or function n
One more hint:
When looking at the code file - hover over it's tab to see the path; the
pull-down at the top of file window shows the structure you are within
(class or function name)
The left / right arrows at the top of the file window are like browser
navigation: they take you to the last pl
Other hints:
Look in "Stack Data" - that's where local & global variables are;
Set breakpoints by clicking left of code (next to line); you can enable and
disable them in the Breakpoints window.
Search in Files: select a directory (just gluon, for example; project
files for another example; j
For WingIDE - Ignore Massimo's note; read mine.
On Mon, Nov 17, 2008 at 12:10 PM, Wes James <[EMAIL PROTECTED]> wrote:
>
> ok, i'll need to look at some path settings in wingide. thx -wj
>
> On Mon, Nov 17, 2008 at 11:09 AM, mdipierro <[EMAIL PROTECTED]>
> wrote:
> >
> > Do not know if this hel
-S ... -M is for console interaction w/ web2py...
You want to run "normally" in WingIDE...
Create a new project in WingIDE.
Add directory, recursive (the web2py source trunk direcotory on your
machine);
I added my web2py trunk to the Python Path in my project, and set the
initial directory to
ok, i'll need to look at some path settings in wingide. thx -wj
On Mon, Nov 17, 2008 at 11:09 AM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> Do not know if this helps, but usually
>
> root:no cache.disk
>
> means it is trying to write in folder where it has no write
> permission.
>
> Massimo
>
> O
Do not know if this helps, but usually
root:no cache.disk
means it is trying to write in folder where it has no write
permission.
Massimo
On Nov 17, 11:53 am, "Wes James" <[EMAIL PROTECTED]> wrote:
> Can someone give me some tips on how to run wingide with web2py?
>
> I have wingide running on
Can someone give me some tips on how to run wingide with web2py?
I have wingide running on os 10.5. I then set -S app -M in the Source
File/Debug/Run Arguments.
I set a breakpoint at start(). When I run through it I get a warning
about root:no cache.disk then a System Exit.
If I have no break
Can you give some details about what you are running from? Source?
version?
(This sounds like a bug - although the first isn't a well-formed web2py
url, it is a valid url)
On Mon, Nov 17, 2008 at 11:21 AM, pigmej <[EMAIL PROTECTED]> wrote:
>
> db.pages.original_link.requires=IS_NULL_OR(IS_UR
db.pages.original_link.requires=IS_NULL_OR(IS_URL
(error_message="..."))
it returns error for http://domain.com/file.html
but it works for http://domain.com
Is it bug or "feature" ?
On Nov 12, 5:25 am, Jonathan Benn <[EMAIL PROTECTED]> wrote:
> Hi Achipa,
>
> On Nov 12, 1:54 am, achipa <[EMAIL
Glad to hear.
In case the link doesn't work for others (and to link this disucssion for
future searches), search for "Prepopulate form"
On Mon, Nov 17, 2008 at 10:31 AM, pigmej <[EMAIL PROTECTED]> wrote:
>
> Yarko that was exactly what I need :)
>
> Thanks.
>
> On Nov 17, 4:45 pm, "Yarko Tymciu
Yarko that was exactly what I need :)
Thanks.
On Nov 17, 4:45 pm, "Yarko Tymciurak" <[EMAIL PROTECTED]> wrote:
> I see - use a record as a template for new record creation - so that you can
> have "default" values based on some existing record (not just "hard wired"
> in code).
> There was a dis
I see - use a record as a template for new record creation - so that you can
have "default" values based on some existing record (not just "hard wired"
in code).
There was a discussion of this some time back in the group...
I think this answers it
http://groups.google.com/group/web2py/browse_thre
Two points:
- I think Massimo's point of wanting an association is to encourage more
people to take web2py seriously, and associate and differentiate skilled
developers;
- It's not just about web2py;
I believe that is accurate.
Regards,
Yarko
On Mon, Nov 17, 2008 at 8:45 AM, Vidul Petrov <[EMAI
No...
Example:
table pages: id|content|...|
now in form I will add new records, update existing records, and
create new records with are based on old.
Add new and update is trivial, but what with adding new records with
modifield content of old record.
On Nov 17, 4:00 pm, Vidul Petrov <[EMAIL
- The Table must have an integer field called 'id'.
- ForeignKey must always reference such field.
- Many SQLAlchemey field attributes are ignored.
- It does not check for errors.
- This is not the recommended way to use web2py. This is designed to
lower the entry barrier for current SQLAlchem
I guess Jędrzej means "readony fields".
On Nov 17, 3:00 pm, billf <[EMAIL PROTECTED]> wrote:
> I'm sorry I don't understand your requirements.
>
> When you say: "I would like to create SQLFORM with inserts data to db,
> but I would
> like to see values from database there", which "values from da
Hi Massimo,
Splendid idea! I am in.
This project will encourage more and more newcomers (I have no doubt).
Vidul
On Nov 14, 11:01 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> Actually I was thinking about something similar but also different.
>
> I want to create an association of users, not a f
I have never seen this. Odd.
On Nov 17, 2:00 am, billf <[EMAIL PROTECTED]> wrote:
> Not a major gripe I know but can anyone tell me why closing a Firefox
> tab including a web2py ticket takes 20-30 seconds while closing a tab
> containing anything else is almost instant?
--~--~-~--~~-
agree. Can somebody send me a patch?
Massimo
On Nov 17, 5:28 am, "Daniel Contag" <[EMAIL PROTECTED]> wrote:
> I agree. That's a very useful suggestion, Achipa.
>
> Daniel
>
> On Mon, Nov 17, 2008 at 12:24, achipa <[EMAIL PROTECTED]> wrote:
>
> > Just to bump this a bit... I'm contemplating that
Correction...
IS_IN_DB(db,'activitytypes.code','%(code)s')
The select is web2py when the form is instantiated.
Massimo
On Nov 17, 2:44 am, billf <[EMAIL PROTECTED]> wrote:
> IS_IN_DB(db().select(db.activitytypes.ALL),'activitytypes.code')
>
> IS_IN_DB also creates a dropdown list
>
> On Nov 17
I'm sorry I don't understand your requirements.
When you say: "I would like to create SQLFORM with inserts data to db,
but I would
like to see values from database there", which "values from database"
are you referring to"?
Previous inserted records? then pass a list of records as in the
recip
No, In cookbook there are different things.
I'll have something different.
I have one "template page" in database ( text, html, relations
etc... )
Now i would like to create new page based on this template, without
selecting many values again ( checkboxes etc ).
If I generate SQLFORM() with "val
Hmmm,
Sure, if I made it to work as a module ;)
When I'll find some free time, I'll write it ;)
On 17 Lis, 05:36, Jonathan Benn <[EMAIL PROTECTED]> wrote:
> Hi Pigmej,
>
> On Nov 16, 2:03 am, pigmej <[EMAIL PROTECTED]> wrote:
>
> > I think for atom better is pyatom :)
> > I use it always :) So
I agree. That's a very useful suggestion, Achipa.
Daniel
On Mon, Nov 17, 2008 at 12:24, achipa <[EMAIL PROTECTED]> wrote:
>
> Just to bump this a bit... I'm contemplating that maybe we shouldn't
> do database logging.warnings at all. We could just collect a list of
> drivers that we were able t
Just to bump this a bit... I'm contemplating that maybe we shouldn't
do database logging.warnings at all. We could just collect a list of
drivers that we were able to import and later just display that as
'Database drivers available: %s'. That would perhaps also a bit less
confusing for new users
IS_IN_DB(db().select(db.activitytypes.ALL),'activitytypes.code')
IS_IN_DB also creates a dropdown list
On Nov 17, 8:20 am, "marco prosperi" <[EMAIL PROTECTED]>
wrote:
> hello everybody, I would like to do something similar to
>
> db.activity.activitytype.requires=[IS_NOT_EMPTY(),IS_IN_SET([ x fo
Massimo
The problem with the above example is that, tho' it works fine first
time thru', subsequent executions (for me at least) result in
"'users' referenced before assignment"
Once the tables have been created, I believe the controller code must
reference them as "db.users.insert..." and db.d
hello everybody, I would like to do something similar to
db.activity.activitytype.requires=[IS_NOT_EMPTY(),IS_IN_SET([ x for x in
db().select(db.activitytypes.code)] )]
to let the user be able to choose between values defined in another table
(activitytypes), not in a mymodel.py file (I will modi
Not a major gripe I know but can anyone tell me why closing a Firefox
tab including a web2py ticket takes 20-30 seconds while closing a tab
containing anything else is almost instant?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
98 matches
Mail list logo