Why not just use alternative delimiters with Vue -- so in your Vue
templates, instead of @{{...}}, you might have @{...}@, or any other
alternative?
Anthony
On Monday, March 6, 2017 at 3:48:09 PM UTC-5, marco mansilla wrote:
>
> Hi, I'm a long time web2py user and most of us. Latety I've been d
And if you're specifically interested in a case-insensitive email field in
auth_user, you can do:
auth.email_case_sensitive = False
Anthony
On Wednesday, December 2, 2015 at 3:05:12 AM UTC-5, Niphlod wrote:
>
> There's no such thing in several backends.
> That being said, I don't see the issue
There's no such thing in several backends.
That being said, I don't see the issue using requires=IS_UPPER() or
requires=IS_LOWER()
On Wednesday, December 2, 2015 at 8:59:49 AM UTC+1, Encompass solutions
wrote:
>
> I am not sure this exists yet, but it would be nice to take a string field
> (or
Thanks!
On Saturday, March 29, 2014 2:50:42 PM UTC+2, Encompass solutions wrote:
>
> I would love to have a list set with strings but I am able to define if
> they should be of a certain string type.
> Does this already exist and I did it wrong, or would this be a good idea
> to implement.
>
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Validators
multiple=True
...
On Saturday, March 29, 2014 1:51:35 PM UTC+1, Encompass solutions wrote:
>
> I forgot, this is my code:
> db.define_table('opening_time',
> Field('restaurant', 'reference restaurant'),
>
I forgot, this is my code:
db.define_table('opening_time',
Field('restaurant', 'reference restaurant'),
Field('start_time', 'time'),
Field('end_time', 'time'),
Field('days', 'list:string')
)
db.opening_time.days.requires = IS_IN_SET(('Monday', 'Tuesday',
'We
it's valid only for mysql and given that is a table method, it won't be
included in DAL so easily.
BTW, what is different ?
On Sunday, October 13, 2013 6:31:27 PM UTC+2, Kevin Crowston wrote:
>
> In the database abstraction layer, it would be useful to have support for
> the SQL REPLACE INTO c
Specifically, the third element in a menu item tuple can be an A() helper
or any other HTML helper (including nested helpers) -- in that case, the
first element of the tuple (usually the item label) will be ignored, so you
can set it to an empty string.
Anthony
On Tuesday, April 16, 2013 4:30:
wouldn't be just better to include your own A and let be it ?
On Tuesday, April 16, 2013 9:57:49 AM UTC+2, Edwin Haver wrote:
>
> Hi all,
>
> I think it would be useful to add the parameters "callback", "target" and
> "delete" to the MENU parameters so that it can be used for ajax requests.
> Le
I generally opposed to adding new helpres since we can do tag.DD and
tag.DT. Yet I would not oppose to modify the UL and OL logic to
understand tag.DD and tag.TD
On Oct 9, 12:14 pm, Guy Nesher wrote:
> Hi,
>
> While LI are supported in the views ({{=LI()}} DD and DT dont seem
> to be.
> (Th
the problem is not just to use a minified version of jquery but
combine and compress all js files
i have started a small project that would unify all js files and
minify using Google Closure but there were some problems because of
GAE (u cannot read the static files there)
i ll post once i ll resum
Good ideas. I think they can both be done.
On Jun 6, 2:11 pm, Praneeth wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello all,
>
> I was wondering if the following 2 features could be added to newcron.py
>
> 1) Support sourcing application paths in crontab folder:
>
> Example:
>
>
They are just python pickles.
On May 11, 5:35 am, Jason Brower wrote:
> I would like to not have them available online at all. I want to be
> able to see the logs from web2py's error folder in a nice way. Right
> now I get this...(attatched). They look like pickles to me. I want to
> be able t
I would like to not have them available online at all. I want to be
able to see the logs from web2py's error folder in a nice way. Right
now I get this...(attatched). They look like pickles to me. I want to
be able to read them with a text based system. (Like when I ssh into my
server to see the
are you talking about apache error log, httpserver.log, tickets of
console logs?
In the first case we have two apps for that:
http://web2py.com/appliances/default/show/14
http://web2py.com/appliances/default/show/27
I think the second is better.
On May 10, 11:06 pm, Jason Brower wrote:
> When I
Any status on xls2web2py?
-Thadeus
On Wed, Mar 17, 2010 at 9:38 AM, mdipierro wrote:
> The problem with appadmin is that it is designed for the administrator
> and has security issues. A user can execute any python code he/she
> wants in the query string. This is a feature because its use is
And what if:
- there is no ajax
- the controller do the locking with controllable expiration
- form validation checks if there is a proper lock for the record
- if not invalidate the submit
- if there is a lock then update/delete/... the record and release
the lock
it could be done with crud
It requires exposing an ajax listener. It would introduce a dependency
on a js library and would be more complex for the user who would have
to implement the listener.
Massimo
On Mar 26, 9:20 am, szimszon wrote:
> Seems to work. Thank you!
>
> Anyway I think in long term it would be better to ha
Seems to work. Thank you!
Anyway I think in long term it would be better to have such feature
integrated in core web2py.
On márc. 26, 03:04, mdipierro wrote:
> No... that did not work. This does:
>
> http://web2py.com/plugins/default/locking
>
> On Mar 25, 5:20 pm, Massimo Di Pierro wrote:
>
It is incomplete but good enough.
On Mar 26, 12:58 am, szimszon wrote:
> In sort I'll test it.
>
>
> I'm somewhat lost in plugin threads :( Is the plugin system stable
> now? Are there any complete documentation about it in current state?
>
>
> On márc. 26, 03:04, mdipierro wrote:
>
> > No..
In sort I'll test it.
I'm somewhat lost in plugin threads :( Is the plugin system stable
now? Are there any complete documentation about it in current state?
On márc. 26, 03:04, mdipierro wrote:
> No... that did not work. This does:
>
> http://web2py.com/plugins/default/locking
>
> On Mar 2
No... that did not work. This does:
http://web2py.com/plugins/default/locking
On Mar 25, 5:20 pm, Massimo Di Pierro wrote:
> Give this a try... it may need some debugging
>
> 1) install the plugin:
>
> 2) in the controller actions that need some locking
>
> lock=plugin_locking('tablename',recor
Give this a try... it may need some debugging
1) install the plugin:
2) in the controller actions that need some locking
lock=plugin_locking('tablename',record_id)
if not lock:
# record was locked
redirect()
else:
# lock acquired
return dict(...,lock=lock)
3) and in page view:
I didn't supposed it to be in auth. I just thought it could be made
like the auth's permission table just in lock's table... :) Anyway I
don't mind the background :-o it should just work :)
On márc. 25, 20:51, mdipierro wrote:
> This is done in kpax to prevent two users from editing the same wik
This is done in kpax to prevent two users from editing the same wiki
page at the same time. It involves ajax keepalive. For efficiency the
locking time is stored in the same table being locked. I am not sure
this belongs to auth but we could have a plugin.
Massimo
On Mar 25, 2:16 pm, szimszon wr
The problem with appadmin is that it is designed for the administrator
and has security issues. A user can execute any python code he/she
wants in the query string. This is a feature because its use is
supposed to be restricted to the administrator. Users have to be
trusted to expose appadmin to th
I had actually used appadmin in production for a particular database
for several months. The users were the same as you are describing
(end-user, used to excel).
Now that it is time to give them the real app (as appadmin was just a
quick get us up and running)... they are actually sad to see us st
On Tue, Mar 16, 2010 at 4:11 PM, mdipierro wrote:
> I think what Vincent is asking is not so much importing capability but
> an interface that can read an excel file (or a csv file) asks you the
> names (guessing from the header) and types (guessing from data) of
> columns and then writes the mode
I've used this wrapper (http://code.activestate.com/recipes/483742-
easy-cross-platform-excel-parsing-with-xlrd/) for xlrd (http://
www.lexicon.net/sjmachin/xlrd.htm) with good results. As long as the
worksheet has column headers as the first row you're good to go - it
will read in the data and pu
I think what Vincent is asking is not so much importing capability but
an interface that can read an excel file (or a csv file) asks you the
names (guessing from the header) and types (guessing from data) of
columns and then writes the model for you. Perhaps something that can
deal with the case wh
Well, my suggestion would be forget the XLS format for the first
iteration. Use CSV. If you're not concerned with formulas, that's the
cleanest route, and included in the default python install. (csv
module). I use it all the time for my load test frameworks I build.
It's not only very easy to use
This can be done. I need to check the licence of the xls readers.
On Mar 16, 3:45 am, Vincent Borghi wrote:
> Hello
>
> I have used web2py to (quickly) implement a simple phone directory of
> customer contacts,
> for a small phone call center.
> Before that, people tried to maintain their contact
yes
db.define_table('customer',
Field('user_id', db.auth_user,
writable=False, readable=False),
address('bill'),#inherit address fields
address('ship'),#inherit address fields
phone, #inherit phone fields
migrate = 'customer.table'
)
you can
33 matches
Mail list logo