let say i have table that will create a new table base on user input on
that table
*e.g.*
*models/db_schema_1_chart_of_account.py*
def __after_insert_chart_of_account(f, id):
name = f['name']
table_name = name.replace(' ','_').lower()
filename = os.path.join(request.folder, 'models', 'db_schema_3_
I have a similar problem with maxtextlengths and I do have the "represent"
attribute set like so:
Field('f_last_change', type='text',
label=T('Latest Changes'),
default = '',
represent=lambda text, row: HTML(XML('' i
Solved :
https://stackoverflow.com/questions/8643664/new-database-refuses-to-show-up-in-web2py-appadmin
Le mardi 25 juillet 2017 21:37:47 UTC+2, LC LC a écrit :
>
> Hi,
>
> Why can i see tables like auth_user, auth_group, auth_event in appadmin.
> the tables exist however ..
> Thanks
>
>
--
Re
Last night I couldn't figure out to use SQLTABLE's columns param when ROWS
I'm trying to display are from an inner join. The ROW objects are composed
of dict-like objects for both [or more] tables, i.e.,
{{segment={id=1234567890, waypoint="Thishereplace",route="thataway", partof=
666}},
{run={i
Hi,
Why can i see tables like auth_user, auth_group, auth_event in appadmin.
the tables exist however ..
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
Nope, that option doesn't exist yet.
You can go around this by using auth.settings.login_onvalidation and
putting a function there that checks for that, sets an appropriate
session.flash with auth.messages.registration_pending, and redirects.
You can also submit an issue in github and as
Dumb question and Im sure that there is an answer that Im missing, but when
in doubt
App requires registration to be approved and if its not, it redirects to
the home screen and flashes the standard message. If I want to redirect a
login where the user is pending approval to a different pa
On Monday, July 24, 2017 at 2:04:19 AM UTC-4, rāma wrote:
>
> Still no solution?
>
The grid now includes a element with elements like the
following:
So, you can use CSS rules to control the width of columns based on field
names or column numbers.
Anthony
--
Resources:
- http://web2py.com
8 matches
Mail list logo