Thanks a lot for the thorough explanation, I will keep that in mind for my
future investigations.
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
> As suggested, if you can't find documentation on something, first trying
> searching this forum, as there are several posts explaining
> decode_credentials (e.g.,
> https://groups.google.com/d/msg/web2py/xPREtSr3-PI/xx5EPVrU738J). It has
> nothing to do with database encryption. Rather,
Thanks for the support, I already feel less less. :)
On Wednesday, November 8, 2017 at 3:40:33 PM UTC+1, Leonel Câmara wrote:
>
> Lars I think everyone agrees the pyDAL codebase should be better
> documented. I even opened up an issue about it
> https://github.com/web2py/pydal/issu
ok a few months
ago, all for realise when I was finished that it was already done.
Thanks to all that are still awake.
On Tuesday, November 7, 2017 at 9:24:04 PM UTC+1, Dave S wrote:
>
>
>
> On Tuesday, November 7, 2017 at 7:59:19 AM UTC-8, Lars wrote:
>>
>> I really d
I really didn't want to argue on this, I just said how I feel, that's all.
Sorry if I offended anyone.
On Tuesday, November 7, 2017 at 4:52:18 PM UTC+1, Anthony wrote:
>
> On Tuesday, November 7, 2017 at 4:22:44 AM UTC-5, Lars wrote:
>>
>> Hi Anthony,
>>
>&g
Hi Anthony,
> I think that convers most of the arguments
Actually 11 on 24... ;)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this
:
>
> This helps?
> http://pydal.readthedocs.io/en/latest/_modules/pydal/base.html?highlight=DAL
>
>
> Kiran Subbaramanhttp://subbaraman.wordpress.com/about/
>
> On 06-Nov-17 9:02 PM, Lars wrote:
>
> Hi,
>
> I would like t
Hi,
I would like to use pydal but I can't seem to find the documentation
(except from this one : http://pydal.readthedocs.io/en/latest/). But I
didn't find (sorry if I missed it) anywhere explained the DAL constructor
parameters for example.
Is there any ? And where please ?
Thank you
--
Hi,
I want to display a form with the following code :
def display_line():
T = current.T
try:
return TR(
TD(id),
TD(file_name),
TD(file_size),
TD(file_type),
TD(INPUT(_type='submit', _name=T('Rename'), _value=T('Rename'
The code needs to be in model not in modules.
Could anyone explain why ?
On Thursday, August 31, 2017 at 12:38:32 PM UTC+2, Lars wrote:
>
> Hi,
>
> I have this code in dlogging.py in the modules folder of my app :
>
> import logging
> import logging.handlers
>
>
Hi,
I have this code in dlogging.py in the modules folder of my app :
import logging
import logging.handlers
def get_configured_logger(name):
global logger
logger = logging.getLogger(name)
if len(logger.handlers) == 0:
fh =
In any case, you can be explicit via the connection string:
>
> 'postgres:psycopg2://...'
>
> Anthony
>
> On Wednesday, August 30, 2017 at 11:16:32 AM UTC-4, Lars wrote:
>>
>> Hi,
>> How can we use for example : psycopg2 instead of pg8000 which is default ?
&g
Hi,
You need to write at the beginning of the app models :
from gluon.custom_import import track_changes
track_changes(track=True)
Regards
On Wednesday, August 30, 2017 at 4:56:54 PM UTC+2, Claudio Andre wrote:
>
> Hello,
>
> I'm using web2py 2.15.3-stable on Kali (debian) and having a strange
>
Hi,
How can we use for example : psycopg2 instead of pg8000 which is default ?
Thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this
The solution is to put the table and the form in a div not in a dict.
Simple enough.. ^^
On Wednesday, May 10, 2017 at 10:35:42 PM UTC+2, Lars wrote:
>
> Hi,
>
> Those are my first steps with ajax, so please indulge me.. :)
>
> I have a list of divs describing objects. Id li
Hi,
For custom styles, you should use the web tools addons in firefox to get
the chain of formattings : you click on the button you want to customize
and you have all css styles matching it.
To change the disposition of the widgets (input, button, etc..), for a
complete customization you
Hi,
Those are my first steps with ajax, so please indulge me.. :)
I have a list of divs describing objects. Id like to click on one div so
that it sends the object id in an ajax call which would open a div at the
top with the object description and a form to bid on it. I don't know how
to
I went for something even simpler : I bypass BEAUTIFUL.. I just wanted a
view with everything named :
def my_beautify(component):
t = TABLE()
if isinstance(component, dict):
for k, v in component.iteritems():
if v is None or isinstance(v, (bool, str)):
Hi,
Everything is in the title : I try to have a BEAUTIFY look at
copy.copy(globals()) and I get an xml error line 131 in html.py :
data is empty for : return data.xml()
Why can't we beautify globals() ?
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
; automatically imported since they are not used as often.
>>
>> The core API entities in the web2py execution environment are request,
>> response, session, cache, URL, HTTP, redirect and Tand are discussed
>> below."
>>
>>
>> Then a little further :
&
Actually it comes from T, the issue remains even with no xml() or XML
involved.
Sorry but I reduced the function to the wrong line : I had a T = current.T
at the beginning of get_dashboard() which
deletion didn't suppress the issue.
It seems that an involuntary (my bad) spelling of the
Hi,
I have this small code in the dashboard module:
from gluon.html import DIV
def get_dashboard():
return DIV(
DIV('Lorat ipsum etc', _class='dashboard alert'),
_class='center-box').xml()
and this one in default.py :
def index():
from modelling.dashboard import
standard web2py db.define_table calls inside a
> function rather than using the complex class-inheritance-based approach
> shown in this slice.
>
> Anthony
>
> On Thursday, March 2, 2017 at 10:01:09 AM UTC-5, Lars wrote:
>>
>> Hi,
>>
>> Could someone please
Hi,
Could someone please explain to me how to use hooks in that code ?
http://www.web2pyslices.com/slice/show/1479/model-less-apps-using-data-models-and-modules-in-web2py
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
But what exactly is his complaint? Would it have hurt for him to
actually, you know, explain?
---
Lars
Yeah, but if everyone sits around waiting for the champion to appear
there won't be one. Someone has to take the plunge.
Cheers,
Lars Hansson
26 matches
Mail list logo