Did you have a look in pg_hba.conf and /etc
You have to allow the connection from local with password
Richard
On Sun, May 15, 2016 at 3:42 PM, Ghada Chabbouh
wrote:
> Hi every one
> acctually i'm binginner in web2py , and i'm trying to develope a web app
> i wrote
Did you check if all files have proper owner? Sometimes files get created
by web2py and I had issue with that because they get created with wrong
owner for some reason I ignore...
Richard
On Mon, May 16, 2016 at 7:38 PM, Ben Lawrence wrote:
> Hi,
> I have basically
There is this issue open for some times could it be related :
https://github.com/web2py/web2py/issues/1245
Richard
On Tue, May 17, 2016 at 1:30 AM, Martin Weissenboeck
wrote:
> I have installed:
>
> Mercurial on the Windows server:
>
You can't access the admin app when in production for security reason...
I think Massimo should have a look at the issue...
Richard
On Thu, Apr 28, 2016 at 3:42 PM, wrote:
> Access to books in Spanish version, except the prologue, gives the
> following error
>
> Access:
>
Good points... I forgot about the aspect of changing site way to make
calculation... At the same time, I understand the need as more specific for
some user the rest of the crowd stock with the basic calculation if they
don't know how to hack their own calculation function... In this context
Why not just found a way to attach Ipython notebook (which seem to had been
renamed Jupyter) to your app??
https://jupyter.org/
By providing dataset over which users can interact with... I am not sure
exactly how to do that, but one idea could be to db select data that user
can play with inside
On Wed, Apr 27, 2016 at 4:44 PM, Niphlod wrote:
> on these "philosophical" notes, boring for someone, exciting for yours
> truly, the are a few other pointers (just to point out that the concept of
> "caching" isn't really something to discard beforehand)...be aware that on
>
The web2py autocomplete already involve componization + component in the
main controller container... The issue was the autocomplete which hang...
So I guess that it should use web2py_component() instead of LOAD() but this
involve a lot of rewrite of web2py autocomplete...
I solve it by removing
Thanks Leonel... I learn something today :)
http://stackoverflow.com/questions/2742852/unicode-characters-in-urls
On Wed, Apr 27, 2016 at 9:11 AM, Mamisoa Andriantafika
wrote:
> Thank you I will do post an issue.
>
> Le mercredi 27 avril 2016 00:16:39 UTC+2, Leonel Câmara a
Can you open a issue here :
https://github.com/mdipierro/web2py-book/issues/new
On Wed, Apr 27, 2016 at 1:57 AM, Mirek Zvolský wrote:
> AppConfig really need better description in the book.
>
>
>
>
>
> Dne pátek 25. března 2016 3:07:18 UTC+1 Massimo Di Pierro napsal(a):
>
>>
If you cache db().select() results cache.ram should be allrigths as every
user/session can be operate in isolation without issue... This wouldn't be
the case for things that need to be up to date for all the users at the
same time, global variables for instance even if they are the result of bad
Why not merge with :
http://www.web2pyref.com/reference/field-type-database-field-types
??
Richard
On Tue, Apr 26, 2016 at 1:17 PM, rochacbruno wrote:
>
> There were some changes in pythonanywhere mysql hosts name and access
> policies.
>
> It is back now!
>
> We really
Also URL(url_encode=True) is default...
On Tue, Apr 26, 2016 at 1:17 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> @Leonel, he receives unicode characters which are parsed and result with
> no record in case those special characters are include in th
@Leonel, he receives unicode characters which are parsed and result with no
record in case those special characters are include in the REST query...
There is not really any way to url_encode has he not generate unicode URL...
Richard
On Tue, Apr 26, 2016 at 11:05 AM, Leonel Câmara
https://groups.google.com/d/msg/web2py/I6xhaSaQCdE/sjSeYBHjMcUJ
Massimo's suggest also to use RactiveJS...
Richard
On Tue, Apr 26, 2016 at 1:11 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> Think I try that in the pass and it wasn't working... Let me find the
> thread
Think I try that in the pass and it wasn't working... Let me find the
thread in question see if it was the case...
On Tue, Apr 26, 2016 at 11:04 AM, Anthony wrote:
> On Tuesday, April 26, 2016 at 9:30:21 AM UTC-4, Richard wrote:
>>
>> Component inside component can work
@Massimo... Look here!!
Richard
On Mon, Apr 25, 2016 at 12:00 PM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> I think it comes from here :
>
>
> https://github.com/web2py/pydal/blob/85c530cc791e2aadbbbf6302b2f58d354d9800b5/pydal/helpers/rest.py#L70
>
> A
Component inside component can work theoritically but you will have to
craft your own ajax... the web2py LOAD() ou web2py_component() not going to
work...
Richard
On Mon, Apr 25, 2016 at 6:41 PM, wrote:
> Note: This may also have something to do with fancybox, which is
I think it comes from here :
https://github.com/web2py/pydal/blob/85c530cc791e2aadbbbf6302b2f58d354d9800b5/pydal/helpers/rest.py#L70
As RestParse is used here :
https://github.com/web2py/pydal/blob/85c530cc791e2aadbbbf6302b2f58d354d9800b5/pydal/base.py#L538
By parse_as_rest()
RestParse don't
I don't understrand... Are you trying to generate this URL or you receive
the request? Does it fails for a request you receive?
On Sat, Apr 23, 2016 at 8:38 PM, Mamisoa Andriantafika
wrote:
> Just to be clearer, here is a response from the following get:
>
>
>
It unicode :
http://stackoverflow.com/questions/15092437/python-encoding-utf-8
What I don't understand is why to get those without the u''
>>> print u"ma\u00eft"
maït
>>> print u"ma\u00eft".encode('utf8')
maït
>>> u"ma\u00eft".encode('utf8')
'ma\xc3\xaft'
Inside web2py it should be :
I mean they are not outdated in the sens that the core works, but since the
solution surround app, the app code on which they are based is effectively
outdated, but can really easily upgrade...
On Fri, Apr 22, 2016 at 1:38 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> I had
I had proposed to integrate one or the other in welcome, but never had
feedback...
On Fri, Apr 22, 2016 at 1:36 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> Sorry the link should be this :
> https://github.com/niphlod/welcome_augmented
>
> Don't know wh
Sorry the link should be this : https://github.com/niphlod/welcome_augmented
Don't know why it get messed up...
Both project are not outdated...
On Fri, Apr 22, 2016 at 10:52 AM, Matheus Cardoso
wrote:
> I've seen the first link, but the project is really outdated. So
What happen when you put back fake_migrate_all to false?
Did they really get created in the database?
In which context are you needing to do this? If you try to recreate your DB
in a new environnement you can simply delete databases/ folder content and
set migrate to true...
Richard
On Thu,
;>
>> I am not sure, but .factory() should accept readonly=True for read form...
>>
>> Are you sure you have not any fields with the same name in both tables?
>>
>> On Thu, Apr 21, 2016 at 2:00 PM, Richard Vézina <ml.richa...@gmail.com>
>> wrote:
&
, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> I am not sure what the purpose of this :
>
>for f in db.investor.fields:
> form.vars[f] = investor[f]
> for f in db.auth_user.fields:
> form.vars[f] = user[f]
>
>
> And why not using
&
I am not sure what the purpose of this :
for f in db.investor.fields:
form.vars[f] = investor[f]
for f in db.auth_user.fields:
form.vars[f] = user[f]
And why not using
if form.process().accepted:
Richard
On Thu, Apr 21, 2016 at 2:05 PM, Richard Vézina
Michael,
About displaying value use default = when you create input field it should
be all what you need...
About the other problem I don't get it... You should be able to update a
record email/username as long as the new value is unique...
Richard
On Wed, Apr 20, 2016 at 11:43 PM, Michael
Maybe :
http://stackoverflow.com/questions/16192647/how-to-append-only-a-div-from-ajax-done
On Thu, Apr 21, 2016 at 4:31 AM, Emmanuel Dsouza
wrote:
> ajax('{{=URL('default', 'ignite')}}', 'q', 'target');
>
>
> So taeget is the id of div which shoes something as per
buttons = [TAG.button((I('', _class='icon-ban-circle icon-large
icon-white'), CAT(' '), STRONG(T('Cancel'))),
_type='button',
_onClick="javascript:void(history.go(-1))",
_class='btn btn-small btn-inverse'),
Not ids, but emails... But do you want them to recieve the "same" email by
including them into the recipient field ? or you want to send them a copy
of the email individually ? In the later case you will have to make
multiple mail.send() to single item of your list of emails...
Richard
On Thu,
Had you give a look at web2py.test (
https://github.com/viniciusban/web2py.test) and welcome_augmented (
https://github.com/niphlod/welcome_augmented)... I did a hybrid of both...
Richard
On Thu, Apr 21, 2016 at 3:08 AM, Matheus Cardoso
wrote:
> What do you guys use as
And what the problem?
I guess you want
db.auth_user.email.readable = False
db.auth_user.email.writable = False
On Thu, Apr 21, 2016 at 8:23 AM, Steve Joe wrote:
> auth = Auth(db)
> auth.user_email.readable=False
> auth.user_email.writable=False
>
> --
> Resources:
> -
What if you use this inside _filter_fields() instead of form.vars
**{k: v for k, v in form.vars.iteritems() if k not in ('username', 'email')}
?
On Wed, Apr 20, 2016 at 11:43 PM, Michael Beller wrote:
> Thanks Richard, I should have provided more details.
>
> When I tried
which web2py version?
On Wed, Apr 20, 2016 at 4:34 PM, Gael Princivalle wrote:
> Hello.
>
> I'm still having some pain with DAL connection strings and migrations.
>
> In one application my DAL connection string is like that:
>
Hello Michael,
I am not sure to understand what you are trying to acheive exactly and what
is causing issue...
On Wed, Apr 20, 2016 at 2:18 PM, Michael Beller wrote:
>
> The approach in the book for one form for multiple tables works well for
> create forms:
>
>
on of LDAP... Simone, do you know if we can at least test Open
>> LDAP easily?
>>
>>
>>
>> On Wed, Apr 20, 2016 at 10:29 AM, Richard Vézina <ml.richa...@gmail.com>
>> wrote:
>>
>>> :)
>>>
>>> On Wed, Apr 20, 2016 at 8:31 AM,
We should test ldap_auth... But how to with all the different
implementation of LDAP... Simone, do you know if we can at least test Open
LDAP easily?
On Wed, Apr 20, 2016 at 10:29 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> :)
>
> On Wed, Apr 20, 2016 at 8:31 AM
:)
On Wed, Apr 20, 2016 at 8:31 AM, Niphlod wrote:
> no problem. it's better a false bug report than noone checking the code at
> all ^_^
>
>
> On Wednesday, April 20, 2016 at 1:08:18 PM UTC+2, flando wrote:
>>
>>
>> right! my fault, didn't set "secure=True"...
>>
>> Thank
Did you check if there is record with empty username? If you try to add not
null over a column/table that is not empty it may happen that some
record(s) don't respect the new rule so your constraint can't be apply...
You need to first update your records make sure none are empty than try
again the
Hello Jack,
You mean you want to pass the id of the inserted record to another
controller ?
# Controller form 1
if form.process(dbio=False).accept:
id = db.table.insert(**forms.vars)
session.last_record_id = id
In the next controller you can access the id you store in session
#
Steve,
There is no way you can be sure a use is logged in web2py from plain web2py
auth as it may seems to be logged in but had quit without loggin out
(closing the navigator not ending session)... So, as Ron says you need to
use websocket for that. See websocket messaging contrib for that...
Alex,
Were you using BS 2? Now welcome use BS 3...
So, I guess you have to learn what has change between these 2 majors
versions...
Richard
On Fri, Apr 15, 2016 at 6:28 PM, Alex Glaros wrote:
> if anyone has any nice CSS replacements for the current btn class, please
>
Let test then!!
On Thu, Apr 14, 2016 at 9:15 AM, Niphlod wrote:
> I hear you and I'm happy (or not, not sure) to not being alone ranting
> about web2py's code quality and lack of tests. this was a serious bug that
> should have had the effect of retiring web2py's release
I didn't have time to investigate though it won't start with :
python web2py.py -S welcome -M
But once it has been started with the launcher :
python web2py.py
It start with the previous command...
To reproduce, unzip 2.14.4 and try the first command.
Richard
On Wed, Apr 13, 2016 at 5:31
Did you upgrade? If so, you most probably did it with root privileges... So
the permission should probably come from there, been change at the upgrade
time...
On Wed, Apr 13, 2016 at 9:06 AM, Leonel Câmara
wrote:
> Was appadmin being accessed? It uses admin for
Hello Joe,
You can extract URL like this if you know where the use is coming from, I
use the below code in "" link to pass the URL in _next
variable so the view on which the user is redirected which content a form
will redirect the user on the _next var content...
URL(r=request,
Can you review the script to look at what we do there :
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
On Fri, Apr 8, 2016 at 8:22 AM, 'Yan Wong' via web2py-users <
web2py@googlegroups.com> wrote:
> The web2py Nginx setup page (
>
{{if customer.address2:}}
Apt/Suite: {{=customer.address2}}
{{else:}}
Apt/Suite:
{{pass}}
On Fri, Apr 8, 2016 at 3:44 PM, Jeff Riley wrote:
> Hello all. I have the following if statement in my views to try to
> eliminate empty fields that are displaying "None" in
I take note... As I said it a draft... I consider having something even not
perfect is better than non and we have to start somewhere... I learn a lot
about web2py internal these days and I have a very limited time... I bang
my head on all sort of issue trying to create these tests so don't have
I try to create self.request and if I remember it start throwing error
about threading...
I know they are really basic test and the only objective was to get some
coverage, start testing and see the difficulty it represents...
Richard
On Wed, Apr 6, 2016 at 2:49 PM, Niphlod
it failed for the same reason
On Wed, Apr 6, 2016 at 2:29 PM, Niphlod wrote:
> recaptcha should be discarded and recaptcha2 should be promoted as the
> default.
>
>
> On Wednesday, April 6, 2016 at 6:17:38 PM UTC+2, Richard wrote:
>>
>> Hello,
>>
>>
Yeah you right...
On Wed, Apr 6, 2016 at 12:06 PM, Anthony wrote:
> On Wednesday, April 6, 2016 at 11:30:34 AM UTC-4, Richard wrote:
>>
>> You maybe right Anthony abour update_record() it really depend though of
>> what he is trying todo...
>>
>
> Well at the point where
You maybe right Anthony abour update_record() it really depend though of
what he is trying todo...
:)
Richard
On Wed, Apr 6, 2016 at 11:21 AM, Anthony wrote:
> On Wednesday, April 6, 2016 at 11:20:44 AM UTC-4, Anthony wrote:
>>
>> On the other hand I am curious that you
Are they specific to one applications or they apply to multiple application?
Are they required in production? I guess not since they seems to be usefull
for developping the app...
If they are usefull for many app and only serve for development I would say
that their place should be in
6, 2016 at 10:20 AM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> Are they specific to one applications or they apply to multiple
> application?
>
> Are they required in production? I guess not since they seems to be
> usefull for developping the app...
>
> I
Hello Mark,
Not sure about the bool part, I think web2py treat bool like that to comply
with all the different backend and the apdater does the rest...
On the other hand I am curious that you update row with simple update(),
you suppose to use update_record()
Ref:
You don't need default for a update form... and as I said you query was
wrong... I have big doubt that your auth_user content is not what you think
it is... You should look at what your DB contains...
Your form may not pass because the value you try to update already not
unique too... which would
Should be URL('static','images/files/{*0*}'.format(file[1]))
Richard
On Thu, Mar 31, 2016 at 6:34 AM, Marko Seppälä wrote:
> Hi,
>
> I want to upload some of the images programmatically from file system,
> when initializing the database. Not the actual file though, just
Why that for ???
for row in db(db.auth_user.first_name == db.auth_user.first_name).select():
administrator = row.is_manager
first_name = row.first_name
last_name = row.last_name
nickname= row.nickname
email = row.email
https://github.com/blog/2131-git-2-8-has-been-released
I may be wrong, I think the improvement is in fetch... I thought it was
managing clone recursive...
Richard
On Thu, Mar 31, 2016 at 4:04 AM, Tommi Lahtonen wrote:
>
>
> On Tuesday, March 29, 2016 at 7:48:07 PM UTC+3,
You should show us some code... The issue you have seems to be cause by a
validator that make sure you don't duplicate value entry... Don't have
twice the same value for a given field...
On Wed, Mar 30, 2016 at 3:52 PM, 'Laer Cius' via web2py-users <
web2py@googlegroups.com> wrote:
> Hi,
>
> I
Git 2.8 will solve that...
On Tue, Mar 29, 2016 at 1:53 AM, Tommi Lahtonen wrote:
>
>
> On Thursday, March 24, 2016 at 1:41:42 AM UTC+2, Massimo Di Pierro wrote:
>>
>> Which version of web2py? Did you use git clone? Did you do what it is
>> asking?
>>
>> git submodule update
@Sukrut
Maybe here :
http://stackoverflow.com/questions/18351553/regular-expression-validation-for-indian-phone-number-and-mobile-number
On Tue, Mar 29, 2016 at 4:07 AM, Sukrut Joshi wrote:
> please help for regex of mobile numbers of india i dont want use country
> code
Or second answer here :
http://stackoverflow.com/questions/3813195/regular-expression-for-indian-mobile-numbers
On Tue, Mar 29, 2016 at 11:24 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> @Sukrut
> Maybe here :
> http://stackoverflow.com/questions/18351553/reg
I agree with Anthony... Do you have any constraint that prevent you from
doing that... I would definetly stay away from router as much as I can...
Richard
On Tue, Mar 29, 2016 at 9:37 AM, Anthony wrote:
> Right now the url to reach the index function of the country
I don't understand Carlos, do you have a "cuba" controller/function in
country/state/city controller files? Are you going to create a function for
any given possible contry (+192)? There will be a lot of duplicated code...
Why don't you have a location.py controller file with a contry/state/city
Hello Dave,
You may have a look in gluon/contrib... Simone had change scheduler since
2.13.1 and there is info about how to instantiate scheduler now in the
changelog...
On Thu, Mar 24, 2016 at 3:41 PM, Dave S wrote:
>
>
> On Thursday, March 24, 2016 at 10:36:54 AM
Fine for me...
On Thu, Mar 24, 2016 at 2:45 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> I checked and the stable versions at web2py.com/ and they are 2.14.1.
> @Ron. Try again.
>
>
> On Thursday, 24 March 2016 13:41:38 UTC-5, Massimo Di Pierro wrote:
>>
>> Ron is right. Should
Here : http://www.web2py.com/examples/static/nightly/web2py_src.zip
On Thu, Mar 24, 2016 at 2:17 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> @Ron, you need to take the trunk :
> https://github.com/web2py/web2py/blob/master/VERSION
>
> On Thu, Mar 24, 20
@Ron, you need to take the trunk :
https://github.com/web2py/web2py/blob/master/VERSION
On Thu, Mar 24, 2016 at 2:13 PM, Ron Chatterjee
wrote:
> I downloaded the new source code from web2py/download and it still says:
>
> 2.13.4-stable+timestamp.2015.12.26.04.59.39
>
>
Here : https://github.com/web2py/web2py/releases
2.11.2 is still flagged as Latest
2.14.1 doesn't appear either...
On Thu, Mar 24, 2016 at 1:36 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> http://web2py.com/
>
> First of all many many thanks to Simone (niphlod), Richard, and
Michael,
The preview is really "fucking" nice!!
It that what your starter app is capable really?
Richard
On Tue, Mar 22, 2016 at 10:17 PM, Michael Beller wrote:
> I created a new 'starter' app for the types of data and process management
> apps I tend to build.
>
> I used
pyDAL should be R-2.13.3 :
https://github.com/web2py/web2py/tree/R-2.13.4/gluon/packages
On Tue, Mar 22, 2016 at 9:05 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> How do you manage your web2py update? Could it happen that you get it from
> github and upgrade p
How do you manage your web2py update? Could it happen that you get it from
github and upgrade pydal package with a version different from the one used
by web2py 2.13.4?
Can you check you version of pyDAL?
On Tue, Mar 22, 2016 at 8:12 PM, wrote:
> You think this is a game?
Nop!
On Tue, Mar 22, 2016 at 8:53 PM, wrote:
> Are you using GAE?
>
> On Tuesday, March 22, 2016 at 5:42:33 PM UTC-7, Richard wrote:
>>
>> I use to store fr uft8 and didn't have any issue with 2.13.4
>>
>> Richard
>>
>> On Tue, Mar 22, 2016 at 8:33 PM,
I use to store fr uft8 and didn't have any issue with 2.13.4
Richard
On Tue, Mar 22, 2016 at 8:33 PM, wrote:
> It could possibly be something specific to GAE. As I said, I don't have
> time for a lot of tests right now. Try uploading this in a database
> somewhere: テスト
All my functional tests had passed just fine...
Richard
On Tue, Mar 22, 2016 at 8:15 PM, wrote:
> Guess I could have posted here first, but it's not an error in the new
> version, it's in multiple versions:
>
> Unicode is not working in "string" DB entries. WTF mate?
>
You want to create a kind of landscape computer management?
Richard
On Tue, Mar 22, 2016 at 1:47 PM, Dragan Matic
wrote:
> I want to create a service where users could remotely manage some services
> on their computers which are behind the firewall.
>
> Users could
I will launch my app automated tests, but so far it looks very good! Seems
fast...
On Tue, Mar 22, 2016 at 11:31 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> Here :
> https://github.com/web2py/web2py/blob/41fd02fa2c03bacafd67faad56861e7d14e9b361/CHANGELOG
>
>
Here :
https://github.com/web2py/web2py/blob/41fd02fa2c03bacafd67faad56861e7d14e9b361/CHANGELOG
Ok figure it out... There were more then one web2py instance running what
causing issue I think, I kill them and now it seems to work.
Testing beta now...
On Tue, Mar 22, 2016 at 10:59 AM, Richard
I can't figure out how to establish Redis cache connection...
I was doing like that before...
from gluon.contrib.redis_cache import RedisCache
cache.redis = RedisCache('localhost:6379', db=None, debug=True,
with_lock=False, password=None)
Try that :
from gluon.contrib.redis_utils import RConn
Here you have default .grid() button class :
https://github.com/web2py/web2py/blob/dbbbd44642f0858871cde6a9d72ace36f907bf69/gluon/sqlhtml.py#L2071
And here how buttons get created :
https://github.com/web2py/web2py/blob/dbbbd44642f0858871cde6a9d72ace36f907bf69/gluon/sqlhtml.py#L2184
Richard
It just set websocket on... Then you have to implement your own protocol of
communication...
On Sun, Mar 20, 2016 at 10:42 AM, Ron Chatterjee
wrote:
> I haven't had a chance to go through the code but is it using multiple
> chat room or just one single room?
>
> On
Don't know why it doesn't nothing special from my side...
On Thu, Mar 17, 2016 at 2:59 PM, Leonel Câmara
wrote:
> from other_module import function
>
> should work too
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> -
import module_name
Then
module_name.function
works fine...
Richard
On Thu, Mar 17, 2016 at 2:48 PM, Richard
wrote:
> Hello,
>
> Is there any thing to consider when trying to import from one module to
> another?
>
> I try import a specific fonction like so :
>
>
for i in range(0, number_of_total_fields):
row[field+i]
Richard
On Tue, Mar 15, 2016 at 4:22 PM, wrote:
> I have a table defined with 3 input fields and then an upload field. The
> upload field is used to take the values that are entered by the user and
> input them
SQLFORM and SQLFORM.gris play well with each other you just have to leve
the create/read/update to SQLFORM and use .grid for the display...
Did you try session?
Richard
On Fri, Mar 11, 2016 at 5:30 AM, David Orme wrote:
> Hello all,
>
> Thanks for the information and
If you use session be aware that the value you put in session will remain
there for the duration of the session, so you need to carefully reset them
or init them in order to not create bug...
As Dave S mention SQLFORM() wouldn't maybe suffer from this issue as you
can do that :
form =
Ok, your form is not over auth_user... Sorry fast reading does that...
You can use session then...
session.volunteer_id = db.table(row_id).volunteer_id
Or
You can passe it as request vars :
URL(..., vars=dict(volunteer_id=db.table(row_id).volunteer_id))
Though, I am not sure you will be able
Not complete my sentence :
You already retrieve auth_user row, so I guess instead of use form.vars
instance for this piece of information you can get it from auth_user row...
On Thu, Mar 10, 2016 at 2:41 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> You can't get
You can't get it in you onupdate function?
You already retrieve auth_user row, so I guess instead of use form.vars
instance for this piece of information...
Though I am not sure what is exactly you problem...
Richard
On Thu, Mar 10, 2016 at 1:34 PM, David Orme wrote:
>
...
Richard
On Wed, Mar 9, 2016 at 1:58 PM, Richard Vézina <ml.richard.vez...@gmail.com>
wrote:
> Damn it, there is surely something else wrong also... Even with the
> removal I seems to have difficulty with other fields not included in the
> custom form which are removed with readab
aez...@gmail.com> wrote:
> Thanks dude,
> Yoel
>
> 2016-03-09 18:01 GMT-04:00 Richard Vézina <ml.richard.vez...@gmail.com>:
>
>> I think I had publish something in the past that address your
>> requirement...
>>
>> search for inline form or something..
properly for year now and it seems now completly broken...
Richard
On Wed, Mar 9, 2016 at 12:19 PM, Richard Vézina <ml.richard.vez...@gmail.com
> wrote:
> Hello Anthony,
>
> Last suggestion seems the way to go... I do understand and I realise by
> trying to hack IS_NOT_EMPTY() tha
Hello Anthony,
Last suggestion seems the way to go... I do understand and I realise by
trying to hack IS_NOT_EMPTY() that it makes no sens to refactoring it in
anyway to make it support bool null since it never going to allow null
value to be input in the DB. Though it certainly shouldn't prevent
it works with boolean type field so
that it returns false when the checkbox is leave blank as it should...
Or even mention in the book that IS_NOT_EMPTY() doesn't apply and shouldn't
be use with boolean type field, which seems the simplest solution...
Richard
On Tue, Mar 8, 2016 at 2:00 PM, Richard
To me, Francisco is rigth...
In boolean case, I assume that IS_NOT_EMPTY() would make sure that field
don't get a NULL value, so the database get hit with True or False value
when you set IS_NOT_EMPTY() and default=False...
Richard
On Thu, Dec 4, 2014 at 6:27 AM, Kiran Subbaraman
I submit a PR to replace bla bla by Lorem ipsum extract...
Richard
On Mon, Mar 7, 2016 at 6:28 AM, Ron Chatterjee
wrote:
> Nice work Massimo. Looks really great. Once seen one theme but the others
> looks nice as well.
>
> On Sunday, March 6, 2016 at 5:19:33 PM UTC-5,
501 - 600 of 3531 matches
Mail list logo