Anyone?
On Oct 21, 10:40 am, niknok wrote:
> I have a person table[1] with a parent field with a clickable
> representation view of the record. If I put this on a grid and click on
> the link, I get a "not authorized" error message. I thought I need to
> pass the sign
I have a person table[1] with a parent field with a clickable
representation view of the record. If I put this on a grid and click on
the link, I get a "not authorized" error message. I thought I need to
pass the signature so I can make it viewable. (This works fine if
parameter user_signature=Fals
I anticipate a huge number of entries in a person table and expect users
find it difficult to do two things:
* selecting or viewing multiple entries
* adding a new entry on the fly
The initial person table design used a traditional mother/father set-up
but same-sex parent concept m
When I try
form=SQLFORM.grid(db.person)
with a defined represent parameter, I get the following error:
() takes exactly 1 argument (2 given)
The person table is defined as:
db.define_table('person'
,Field('birth_date', 'date', requires=IS_DATE())
The new date picker looks very good. Is there a way to input dates by
typing it directly (similar to default behaviour in older versions), in
addition to selecting dates thru the calendar interface?
/r
Nik
P.S.
Though I couldn't type in a date, I could paste one. (which is a
behavior I don't e
I have a self-referencing table [1] with a defined format for
representing a record in this fashion: "Lastname, Firstname
[-mm-dd]". In the father field, I expect it to display the drop-down
list of persons as defined in format, but it doesn't unless I define it
explicitly (like in the mother
Web2Py 2.0 must be *fully* documented in online book.
On Sep 20, 4:26 pm, Mengu wrote:
> anything special coming up?
>
> will it broke backward compatibility? nobody needs backward
> compatibility in a major version.
>
> are there any plans for a clean up?
Yes. Eventually. :)
On Sep 13, 1:30 pm, Gour-Gadadhara Dasa wrote:
> On Mon, 12 Sep 2011 20:21:39 -0700 (PDT)
> Massimo Di Pierro
>
> wrote:
> > There is huge list of new features already in trunk that will be
> > included in 1.99.1
>
> [...]
>
> > I am forgetting something important? Am I forge
Thanks for sharing Kenneth. This looks good. Are you going to open
source it?
Would like to learn from the code, especially the invoicing part.
On Sep 12, 6:03 pm, Kenneth Lundström
wrote:
> Now you can have a look at it athttp://web2py.nudata.fi/em
>
> Login with kenneth and kenneth
>
> This is
Thank you all for the responses and links. They are very good models
to learn from.
Has anyone done something similar to crimereports.com or haybol.ph?
On Sep 11, 7:09 am, Christopher Steel wrote:
> You might want to check out Public Radio Roadtrip an application done (in
> progress?) by John Ty
Any links to try out?
Looks like a major UI revamp is rolling out across big G's landscape.
Too bad for people like me stuck with poor bandwidth, we'll make do with the
old interface for now.
That would be awesome! Looking forward to it.
On Sep 8, 3:05 pm, Kenneth Lundström
wrote:
> Hello Nikolai,
>
> I have created a simple billing application that contains customers,
> products, hour tracker (simple) and receipt handling.
>
> If interested I could during the weekend put up a english
is there any billing component among the web2py appliances that can be
used as a base or a billing appliance?
Just wondering if there's any such code out there before starting from
scratch.
Thanks.
so, is there a tag for "stable" or "trunk"
On Aug 20, 8:51 am, pbreit wrote:
> When you "hg pull" you grab all of the changes since you last did an "hg
> pull" but your working directory remains unchanged. It is not until you do
> an "hg update" that your working directory will reflect a new chan
mercurial
Thanks
On Aug 19, 7:18 pm, niknok wrote:
> using the web2py repository, is this how you get trunk:
>
> hg clonehttps://code.google.com/p/web2py/
>
> What are the commands to update the local copy to the latest trunk or
> the latest stable?
>
> Thanks.
so, if I only do 'hg pull' i get trunk? and if I do 'hg update' I get
stable?
Is that what you mean?
On Aug 19, 7:20 pm, David Marko wrote:
> 'hg pull' and then 'hg update'
so, if I only do 'hg pull' i get trunk? and if I do 'hg update' I get
stable?
Is that what you mean?
On Aug 19, 7:20 pm, David Marko wrote:
> 'hg pull' and then 'hg update'
using the web2py repository, is this how you get trunk:
hg clone https://code.google.com/p/web2py/
What are the commands to update the local copy to the latest trunk or
the latest stable?
Thanks.
When I list a table with a reference field, it shows up as an index key.
I was expecting it to show up as usual, with the default record
representation of the referenced table.
It does show up correctly inside a modal window, after hitting an action
button (i.e. Details), though.
I tried settin
When I try to copy an upload field, the link to the file gets broken in
the new table. What's the correct way of copying this field type?
For example, I do it like this:
db.new_table.photo[1] = db.old_table[9]
but in new_table, I get a broken link to the file in the upload folder.
/r
Nik
I noticed while using crud search results that web2py doesn't use labels
defined in tables as headers. Of course, headers can be defined in crud
but wouldn't it be better if by default it uses the labels already
defined with the table instead of field names?
I finally found out that "equals" don't work but using "contain" does.
It's counter-intuitive but at least there's a workaround.
On Jul 1, 7:24 pm, niknok wrote:
> I have field "gender" that is defined like so:
>
> Field('
I observed a curious behavior when scrolling inside a modal window:
when you reach the top (or bottom) of the modal, your main window also
scrolls up(or down) as well.
Very nice. Kudos to Bruno!
+1 for plans to make this part of web2py/contrib
On Jul 26, 6:15 am, Bruno Rocha wrote:
> BTW:
> You
Thanks Johann!
On Jul 20, 8:11 pm, Johann Spies wrote:
> On 20 July 2011 14:09, Johann Spies wrote:
>
>
>
> > I use this:
>
> > db.define_table('akb_doccenter_location',
>
> > Field('location'))
>
> Apologies, I did not complete the message before sending: the model includes
> a
bump.
No takers? :s
On Jul 16, 8:23 am, niknok wrote:
> I just "discovered" this modal plugin: web2py.com/plugins/default/
> mmodal
>
> Sorry for being a little slow, but would someone please post an
> example of how I can use crud inside modals?
how about:
db.t_status.f_name.represent=lambda f_name: T(f_name)
On Jul 15, 9:27 pm, Kenneth Lundström
wrote:
> I have a requires with IS_IN_DB like this:
> IS_IN_DB(db(db.t_status.id > 0), 't_status.id', '%(f_status)s / %(f_name)s')
>
> I d like to translate the f_name with T(). Is it possible?
I just "discovered" this modal plugin: web2py.com/plugins/default/
mmodal
Sorry for being a little slow, but would someone please post an
example of how I can use crud inside modals?
> >>> db.commit()
> >>> db(db.item.id == 1).select()[0].total_price
> '9.95'
> >>> db(db.item.id == 1).select()[0]
>
> at
> 0x17f1758>, 'unit_price': 3.0, 'id': 1, 'delete_record': at 0x17f17d0>,
As far as I know only with ID, which is always auto-magically created
for you.
On Jul 15, 6:54 am, Kenneth Lundström
wrote:
> Thanks,
>
> logic error noted, in this case it woun t be a problem. Can t think of a
> fix without changing the idea behind this.
>
> I find it interesting that some field
In that case, this should work as well:
query = db.auth_user.id == request.args[0]).select() if
request.args[0].isdigit() else db.auth_user.username ==
request.args[0]
user_id = db(query).select()[0].id or 0
On Jul 15, 6:54 am, Kenneth Lundström
wrote:
> Thanks,
>
> logic error noted, in this
request.args always contain strings. str(request.args(0)) is
extraneous
There's a logic hole here: What if my username is "1" but my record's
id is 22. This code will return the record db.auth_user[1] when it's
supposed to return db.auth_user[22]
Anyway, ou get "invalid literal for int() with bas
You're checking it from the shell. Do a db.commit() before checking
for total_price.
On Jul 15, 3:37 am, guruyaya wrote:
> This is run on a web2py shell:
>
> >>> db.define_table('item',
>
> ... Field('unit_price','double'),
> ... Field('quantity','integer'),
> ... Field('t
Thanks Anthony.
I checked that out but prefer Jay Kelnar take here:
http://groups.google.com/group/web2py/msg/bc03cef19067fa83
In short, SQLFORM.factory has no record argument. You must retrieve
the previous record and store it in form.vars.
Jay shared me his code and I modified it here: http://
Bruno, would you be so kind and post a slice or short example on the
use of easyframework+w2p?
On Jul 13, 7:58 am, Bruno Rocha wrote:
> I am usinghttp://easyframework.com/demo_popup.phpwithout problems.
>
> 2011/7/12 Kenneth Lundström
>
>
>
>
>
>
>
>
>
> > Is this impossible? Should I instead tr
Thanks for looking Kenneth.
Should it be a record id? From the book (and epydocs):
record = db.person(request.args(0))
form = SQLFORM(db.person, record)
where record is a Row object and it works correctly. I tried your
suggestion to pass an id but got a "KeyError:'name'" error.
I've read the section about "one form for multiple tables" and
following the example created my function that updates four tables:
def register():
form=SQLFORM.factory(db.person, db.affiliation, db.address, db.card)
if form.accepts(request.vars):
id = db.person.insert(**db.person
This example from the epydoc doesn't work:
form, results = crud.search(db.test,
queries = ['equals', 'not equal', 'contains'],
query_labels={'equals':'Equals',
'not equal':'Not equal
Any suggestion how to make this work with multiple tables (ie. one-to-
many relationships)?
For example, auth_user and is linked to other tables which I would
like to view in other tabs?
On Jul 7, 5:27 pm, Bruno Rocha wrote:
> UPDATE:
>
> auto_validate renamed to .validate()
>
> Now we have ano
I have another unique column in my table that I would like to use as
index for record representation. How do I tell web2py to use another
index?
Ttrying to use like:
db.mytable.thisfield.represent = lambda id:
db.other(myidx).thatfield
urs when running the mentioned controller, or qhen doing some
> > other action on this?
>
> > Need more onfo to help tracking this issue.
>
> > []'s
>
> > On Thu, Jul 7, 2011 at 2:50 AM, niknok wrote:
>
> >> **
> >> While using crud, I some
have a Traceback ticket error? what message, what file/line?
>
> The erro occurs when running the mentioned controller, or qhen doing some
> other action on this?
>
> Need more onfo to help tracking this issue.
>
> []'s
>
>
>
>
>
>
>
>
>
> On
While using crud, I sometimes define headers for *some* fields listed in
the fields argument. This works until I upgraded to 1.97.1 and now I get
an error if I do not define the headers for *all* fields listed in the
fields argument.
For example, the following code no longer works
rows=cr
Bump. Anyone?
On Jul 1, 7:24 pm, niknok wrote:
> I have field "gender" that is defined like so:
>
> Field('gender','reference aux_gender',notnull=True,widget=radio_h)
>
> The aux_gender table data were inserted from:
>
>
be an equivalent for
SQLFORM.factory?
On Jun 30, 2:41 pm, niknok wrote:
> In the validation example, I entered a single character in the Bio
> and was allowed to proceed to the next field despite the
> db.person.bio.requires = IS_LENGTH(minsize=5, maxsize=200). You made
> a note a
In the validation example, I entered a single character in the Bio
and was allowed to proceed to the next field despite the
db.person.bio.requires = IS_LENGTH(minsize=5, maxsize=200). You made
a note about "Client side validation is not supposed to validate
everything!", is this included in that
+1
Another golden egg from the proverbial goose ... or gander, in this
case. :P
Thank you Bruno
On Jun 29, 10:33 pm, Bruno Rocha wrote:
> Hi,
>
> I just created a new plugin for stepped form wizards.
>
> I made it last night, so it is not tested very well, I would like your help
> to test it.
>
This is interesting. Could you tell me how to use this in Web2py?
On Jun 29, 4:10 pm, Bruno Rocha wrote:
> if want an easy way...
>
> http://easyframework.com/+ web2py
>
> --
> Bruno Rocha
> [ About me:http://zerp.ly/rochacbruno]
>
>
>
>
>
>
>
> O
Can someone post this somewhere where resume download is supported? I
got a crappy connection right now...
On Jun 12, 12:09 am, Massimo Di Pierro
wrote:
> Here is the source of the facebook clone
>
> web2py.app.friends.w2p
> 1002KViewDownload
Google Translate thinks it's Swahili...
On Jun 19, 1:40 pm, Vineet wrote:
> What is this tongue? (wewe andeya kuja nikufundishe web2py na ubebe
> nyama :D)
>
> It is my sincere thought that web2py group is for sharing the
> knowledge within the community.
> Kindly write something which others can
gt; the book is referring to
>
> On Sat, Jun 11, 2011 at 2:19 AM, niknok wrote:
>
> > Is there like a change log for the web2py book where I can view what's been
> > added or modified recently?
>
> > /r
>
> --
> Sebastian E. Ovide
Is there like a change log for the web2py book where I can view what's
been added or modified recently?
/r
It's nice to see feedback from real users of these hosts. Could you
please add how much traffic you got with those plans you have?
On May 18, 6:54 am, Carlos wrote:
> Hi all,
>
> In order to prepare my web2py production system, I would really welcome all
> your advice.
>
> I will get one node fro
Ok, here's a quote for you:
“Confusion is the welcome mat at the door of creativity.”
;)
On May 13, 2:26 am, pbreit wrote:
> I suppose it's personal preference but the comma placement at the beginning
> of the line is really confusing.
settings.hmac_key)))
> When I try the above, CRYPT works fine for me.
>
> Anthony
>
>
>
>
>
>
>
> On Wednesday, May 11, 2011 11:02:17 PM UTC-4, niknok wrote:
> > here's the code I used.
> >http://pastie.org/1891534
>
> > what's weird is that I know tha
ecrypted
variable...
On May 10, 10:54 pm, Anthony wrote:
> On Tuesday, May 10, 2011 2:10:07 AM UTC-4, niknok wrote:
>
> > Anthony, sorry for the typo. I meant calling onvalidation=, and not
> > onaccept
>
> > That is the behavior I'm expecting, since I
ord`` is a web2py thing that will take any changes made to the
> record instance (by use of assignment or update function) and issue the
> appropriate SQL
>
> --
> Thadeus
>
>
>
>
>
>
>
> On Mon, May 9, 2011 at 9:37 PM, niknok wrote:
> > Yes, guys thanks. I
Anthony, sorry for the typo. I meant calling onvalidation=, and not
onaccept
That is the behavior I'm expecting, since I've seen that work like so
before. Here's a stripped-down version of the function:
def cnv():
c_hash=request.args(0)
form=SQLFORM.factory(
Field('card_number','s
search "cascading select" or "cascading dropdowns"
On May 10, 1:24 pm, pepe_eloy wrote:
> Hello!
>
> How can I fill a drop box widget with content depends of another drop
> box? I'll explain better: I have 3 tables:
>
> db.define_table('categoria',
> SQLField('nombre', notnull=Tru
10:45:36 AM UTC-4, niknok wrote:
>
> > I have these lines that is supposed to update a record but it doesn't:
>
> > db.card.validated.writable=True
> > db.card.modified_by.writable=True
> >
> > db.card(db.card.alnum==c_hash).update(validated=T
I was trying to process it inside onvalidation= ...
On May 9, 10:53 pm, Anthony wrote:
> On Monday, May 9, 2011 10:37:02 AM UTC-4, niknok wrote:
>
> > I tried:
>
> > form=SQLFORM.factory(
> > Field('card_number','string'
> >
pbreit, config is a Storage() object and member_status a Dictionary,
and the python get() function.
Ross, you're right. That's how I'm using it. I went back to re-check
my definition file and everything appears to be in order. Note that
it's only in jqgrid that it's not showing up, it works corre
I have these lines that is supposed to update a record but it doesn't:
db.card.validated.writable=True
db.card.modified_by.writable=True
db.card(db.card.alnum==c_hash).update(validated=True,modified_by=auth.user.id)
Is there anything I missed? I tried to include a manual db.commit()
I tried:
form=SQLFORM.factory(
Field('card_number','string'
,label='Enter a card number to verify'
,requires=CRYPT(auth.settings.hmac_key))
But instead I found form.vars.card_number unencrypted. This is on w2p
v1.94.5.
/r
Nik
Massimo (or anyone who'd like to pitch in)
You made this suggestion when I asked a question about a "help system".
Field('name',...)
db.table.name.help = 'custom attribute'
Could you please elaborate on this, and perhaps add a use case or
example?
Also, I was reading the co
@Niphlod
Yes, that would be interesting.
On May 7, 4:09 am, Niphlod wrote:
> go for raw sql if you need to, but be aware that that article was
> written in 2007, testing only MS SQL Server behaviour we are in
> 2011, MS SQL Server 2008 is on the run (and that article could be
> referring onl
Thanks for the suggestion. I tried it but I was unable to make use of
it. Your suggestion did force me to rethink the design so I discarded
the full IS_MATCH string(can't even remember why I went for that),
and simply kept the expression string itself (i.e. '^\\d{3}-\\d{4}-\
\d{4}-\\d{1}?$')
And
bump...
Anyone?
On May 5, 8:27 am, niknok wrote:
> I .represent a field as follows:
>
> db.auth_user.gender.represent=lambda i: db.aux_gender[i].concept[:1]
> if i>0 else '?'
> db.auth_user.member_status.represent=lambda i:
> config.member_s
I'm doing a requires statement so the id number matches a prescribed
format, encrypt it, and then store it in the database (if it isn't a
duplicate number)
db.card.id_number.requires=[eval(db.agency[int(request.vars.id_number)].regex),CRYPT(),IS_NOT_IN_DB(db,'card.id_number')
Do you use ev
this SQL statement :
SELECT agency.card_type FROM agency
WHERE agency.id NOT IN (select issuer from card where person=1)
is equivalent in DAL:
registered_cards=db(db.card.person==1)(db.card.issuer==db.agency.id)._select(db.card.issuer)
unregistered_cards=db((db.agency.is_active
I should have also said that I think the fields should be fields and
> not strings:
> i.e.
> fields = [db.auth_user.id, db.auth_user.last_name, ]
>
> On May 4, 2:47 pm, niknok wrote:
>
>
>
>
>
>
>
> > I'm using v1.94.6 and retrieving orde
I have SSNs in a table as text strings. I'm planning to use CRYPT() on
the web2py app fields that will store these SSNs.
define_table('identity_card'
,Field('person', 'reference auth_user')
,Field('id_type', 'reference valid_id')
,Field('id_number','stri
I .represent a field as follows:
db.auth_user.gender.represent=lambda i: db.aux_gender[i].concept[:1] if
i>0 else '?'
db.auth_user.member_status.represent=lambda i:
config.member_status.get(i)[:1] or '?'
The first one works, and displays data in jqgrid as expected:'M','F'
or'?'
How do I display the user's local time in a form?
+1 for the link :P
On May 2, 9:36 pm, Massimo Di Pierro
wrote:
> http://mywiki.wooledge.org/XyProblem
>
> what do you want to do exactly?
>
> On May 1, 8:04 pm, niknok wrote:
>
>
>
>
>
>
>
> > I have this button that redirects to a URL:
>
> >
gt; http://mywiki.wooledge.org/XyProblem
>
> what do you want to do exactly?
>
> On May 1, 8:04 pm, niknok wrote:
>
>
>
>
>
>
>
> > I have this button that redirects to a URL:
>
> > form[0][-1][1].append(INPUT(_type='button',_value=T('Prev
Right now, I just generate a list from the database and feed it into a
IS_IN_SET validator. It worked out faster than slice 85.
On May 2, 11:38 pm, Anthony wrote:
> On Sunday, May 1, 2011 11:56:55 PM UTC-4, niknok wrote:
>
> > Thanks Anthony.
>
> > I've actually tried
Thanks Anthony.
I've actually tried that, but it was a tad too slow for me. :(
On May 1, 12:32 pm, Anthony wrote:
> This may help:http://www.web2pyslices.com/main/slices/take_slice/85
>
>
>
>
>
>
>
> On Saturday, April 30, 2011 10:53:16 PM UTC-4, niknok wrote
I have this button that redirects to a URL:
form[0][-1][1].append(INPUT(_type='button',_value=T('Previous')
,_onclick='document.location="%s"'
%URL("question")))
what do I add to _onclick to do the following:
1) session.current_item -=1
2) redirect(URL('question'))
/
Can I do joins in CRUD?
I'm getting a 404 Not Found error with this:
rows=crud.select(db((db.qa.candidate==user_id)&(db.quiz.id==db.qa.quiz)))
But the following works alright:
rows=db((db.qa.candidate==user_id)&(db.qa.quiz==db.quiz.id)).select()
/r
Nik
I'm wondering why this doesn't work:
delta=datetime.timedelta(seconds=15*60)
db(request.now>(db.qa.time_start+delta)).count()
TypeError: can't compare datetime.datetime to Expression
while this one does:
delta=datetime.timedelta(seconds=15*60)
db(db.qa.time_start<(request.n
Where should I run a function whose task is to maintain the status of a
table record?
For example, I have a survey table with the column status. A record's
status is "open" when a user answers it, and it is set to "completed"
when a user finishes answering it. But, if in case the user doesn't
fini
I am clueless about jQuery, but I'm wondering if there's any script I
can use to trigger a change the values in one dropdown list after
selecting a value from another dropdown list in a CRUD form?
Right now, I used a jquery script I picked up in the list that initiates
a submit action. The consequ
After registration, user is automatically logged in (when verification
is set to False). How do I direct a newly registered user to a series of
pages?
I have a number of pages, I would like a user to go through. I tried:
auth.settings.register_next =[URL(c='default',f='profile'),
URL(c='default
When plugin_wiki is installed, the multi-select dropdown uses a
different dropdown widget.
Although it indicates how many items are selected, is there a way to
make it show at least one of the items checked by default? I also miss
the ability to type a letter and get to those items beggining with
How can I add something like this in a CRUD form?
On Apr 26, 1:26 am, Massimo Di Pierro
wrote:
> I would do something like this:
>
> db.define_table('nominee',Field('name'),Field('region_id',db.Regions))
>
> def get_nominees():
> region_id = request.vars.region_id
> return TAG[''](*[OPTIO
The following validator doesn't work:
IS_IN_DB(db(db.g_province.id==db.g_municipality.province)\
,db.g_municipality.psgc_m\
,label='%(g_municipality.name)s (%(g_province.name)s)')
I am trying to generate a select option that shows a label cons
it?
>
> On Apr 29, 2:09 am, niknok wrote:
>
>
>
>
>
>
>
> > I'm trying to set it like this: db.mytable.is_active.readable=False
> > but it doesn't appear to be working as they still show up in the CRUD
> > forms I make.
>
> > Is there a w
I'm trying to set it like this: db.mytable.is_active.readable=False
but it doesn't appear to be working as they still show up in the CRUD
forms I make.
Is there a way to individually set the readable, writable settings for
each field that auth.signature creates?
Argh! It was a logic error. I was accessing a different database.
Thanks anyway.
On Apr 29, 11:43 am, niknok wrote:
> The following model and controller works fine when adding records, but
> generates an error "('issuer')" when I try
> to edit a record. Unf
The following model and controller works fine when adding records, but
generates an error "('issuer')" when I try
to edit a record. Unfortunately for me, I couldn't understand what
that error actually means, or what I missed doing.
Could someone give me a nudge forward? Thanks.
/r
Nik
code is he
Thanks Villas. I missed that, and it defaulted to 'string'.
How do I use 'list:reference ' with another database? I tried:
'list:reference gdb.country' but that doesn't work.
On Apr 25, 7:09 am, villas wrote:
> country.iso2 is a 'list:reference
Found the answer: orderby is supported.
IS_IN_DB(dbset, field, orderby='mytable.myfield', ...)
On Apr 24, 8:31 am, niknok wrote:
> Thanks. But I guess I did not explain myself properly.
>
> I would like the list to display the titles, but sorted by say the ID
> f
My 0.01 dollar opinion.
Two weeks after trying it out, I've had it. It's actually nice except
for the crashes - which I get lots of. So, I lose the code I'm trying
out. Its auto-completion doesn't even help redeem it. I'm back to the
robust iPython shell, now with ipdb installed, it gives iPyt
I have the following:
db.profile.citizenship.requires=IS_IN_DB(gdb,'country.iso2',
'%(name)s',multiple=True,zero=None)
It works fine until I try accessing the record from appadmin (I can view
the table, it fails when I view a specific record), which dumps me this:
Traceback (most recent call
**bump**
Anyone?
On Apr 23, 3:17 pm, niknok wrote:
> I have a field regex which contains requires segements like "IS_MATCH('^
> \d{3}-\d{4}-\d{4}-\d{1}?$')" in an administrative table
>
> I store them as as Storage types and then retrieve and apply it to a
&
0:30 pm, DenesL wrote:
> Yes, use the label parameter e.g.
>
> IS_IN_DB(dbset, field, label='%(title)s', ...)
>
> On Apr 23, 8:59 am, niknok wrote:
>
>
>
>
>
>
>
> > Is there a way to sort the list generated by IS_IN_DB by another field
> > other than the one formatted for display?
>
> > Thanks.
>
> > /r
> > Nik
Is there a way to sort the list generated by IS_IN_DB by another field
other than the one formatted for display?
Thanks.
/r
Nik
Is there a way to sort the list generated by IS_IN_DB by another field
other than the one formatted for display?
Thanks.
/r
Nik
I have a field regex which contains requires segements like "IS_MATCH('^
\d{3}-\d{4}-\d{4}-\d{1}?$')" in an administrative table
I store them as as Storage types and then retrieve and apply it to a
Form like this:
Field('f4', requires=IS_EMPTY_OR(settings.regex[4]))
In a model file, it's defi
1 - 100 of 145 matches
Mail list logo