In layout.html
add class: navbar-fixed-top
!-- Navbar == --
div class=navbar navbar-inverse navbar-fixed-top
div class=flash{{=response.flash or ''}}/div
div class=navbar-inner
div class=container-full
button
Dear all
I need to make a summary from all records that return from sqlform.grid
(grid.rows) but grid.rows is contain records only for 1 page (default = 20
records display).
Anyone know, how to get all records from SQLFORM.grid.
Thank you in advance
Ariya
code
==
q0 =
Dear Johann,
Thanks for your sharing. Now I try to use smart_query() function by using
keyword from SQLFORM.grid (request.vars.keyword) and return to row.
:)
เมื่อ วันพุธที่ 30 เมษายน ค.ศ. 2014, 13 นาฬิกา 54 นาที 20 วินาที UTC+7,
Johann Spies เขียนว่า:
On 25 April 2014 00:05, Ariya Owam
Thanks
เมื่อ วันอาทิตย์ที่ 31 สิงหาคม ค.ศ. 2014, 9 นาฬิกา 57 นาที 04 วินาที UTC+7,
Massimo Di Pierro เขียนว่า:
Nico has helped edit and re-organize some my class lectures about web2py.
They are now split into 30 small videos:
https://vimeo.com/album/3016728
Please join me in
Dear all,
There is an error when use SQLFORM.grid in LOAD function.
This are steps to reproduce the problem?
*Step 0*
# in models/db.py
db.define_table('product',
Field('code', length = '50', notnull = True, unique = True),
Field('name', notnull = True),
)
*Step
Thank you for your sharing. It working excellent.
On Friday, March 1, 2013 3:19:22 PM UTC+7, Mandar Vaze wrote:
Hi,
As you all know, SQLFORM.grid search does not support searching for
multiple words - it throws an error Invalid Query
Searching for multiple words may be a common
Hi Bruno,
I install wkhtmltopdf and integrate with web2py by using subprocess.call,
it work very well on my macbook (rocket server). But I can't success
running subprocess.call on production server (Ngix). I also test
subprocess.call wkthtmltopdf from web2py's shell (admin) it return non-zero
Thank you,
On Saturday, January 17, 2015 at 1:20:14 PM UTC+7, Massimo Di Pierro wrote:
Changelog:
- Modular DAL, thanks Giovanni
- Added coverage support, thanks Niphlod
- More tests, thanks Niphlod and Paolo Valleri
- Added support for show_if in readonly sqlform, thanks Paolo
- Tornado
Found that call('wkhtmltopdf .') not work Nginx,
Thank you
Ariya
On Thursday, January 15, 2015 at 8:54:25 PM UTC+7, Ariya Owam-aram wrote:
Hi Bruno,
I install wkhtmltopdf and integrate with web2py by using subprocess.call,
it work very well on my macbook (rocket server). But I can't
without understanding them very well and hope I have not
broken something else.
On Tue, Feb 10, 2015 at 7:02 AM, Ariya Owam-aram write...@gmail.com
javascript: wrote:
HI Juozas Masiulis
In /etc/apache2/sites-enabled/default.conf please chenge rewriterule as
follows.
RewriteEngine
HI Juozas Masiulis
In /etc/apache2/sites-enabled/default.conf please chenge rewriterule as
follows.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(admin/.*) https://%{SERVER_NAME}/$1 [R,L]
Hope it wil help
เมื่อ วันพุธที่ 4 กุมภาพันธ์ ค.ศ. 2015 3 นาฬิกา 48 นาที 21 วินาที
,
Massimo Di Pierro เขียนว่า:
What does it mean not working. Do you get a traceback? What does it say?
On Friday, 20 March 2015 10:02:57 UTC-5, Ariya Owam-aram wrote:
Dear all,
I implement conditions models but it seem to broken function download for
display image from upload fields.
let say
Dear all,
I implement conditions models but it seem to broken function download for
display image from upload fields.
let say:
##
# in models/01_defind_table.py
##
class Pd_product_sku(BaseModel):
def __init__(self, db):
self.db =
...@gmail.com javascript:
Brasil
2015-01-15 10:54 GMT-03:00 Ariya Owam-aram ariya.ca...@gmail.com
javascript::
Hi Bruno,
I install wkhtmltopdf and integrate with web2py by using subprocess.call,
it work very well on my macbook (rocket server
Thank you,
A
เมื่อ วันพุธที่ 29 เมษายน ค.ศ. 2015 17 นาฬิกา 07 นาที 21 วินาที UTC+7,
Paolo Valleri เขียนว่า:
Hi,
Can you try the fix I proposed in
https://github.com/web2py/web2py/issues/946#issuecomment-9661
Paolo
On Tuesday, April 28, 2015 at 9:26:23 PM UTC+2, Ariya Owam-aram
Hi Everyone,
I just upgrade to 2.10.4 and found error message when using filed
list:reference.
APP : welcome
DB
db.define_table('parent', Field('name'))
db.define_table('student', Field('name'), Field('parent', 'list:reference
parent'))
in APPADMIN
- from parent table insert : father,
#
## default.py
#
def test():
import pygal
from pygal.style import LightColorizedStyle
from pygal import Config
config = Config()
Hi Cliff,
Any update for this.
Thanks.
เมื่อ วันจันทร์ที่ 1 เมษายน ค.ศ. 2013 22 นาฬิกา 18 นาที 49 วินาที UTC+7,
Cliff Kachinske เขียนว่า:
Opened issue 1423
https://code.google.com/p/web2py/issues/detail?id=1423thanks=1423ts=1364829473
On Monday, April 1, 2013 10:11:59 AM UTC-4, Cliff
Hi Alessio
If you call from Apache then you can call subprocess directly from
webserver but in nginx you have to use schedule task. Better to run
wkhtmltopdf via schedule task in case of generate pdf or process a report.
THIS IS MY CODE:
def schedule_task__pdf_render():
# import
In from field construct in your models.
Field('approve', 'boolean',
label = T('Approve'),
default = False ),
A
เมื่อ วันเสาร์ที่ 31 ตุลาคม ค.ศ. 2015 7 นาฬิกา 38 นาที 18 วินาที UTC+7,
Alex Glaros เขียนว่า:
>
> Users approve or disapprove items in selection of
he component. In
>>> particular, it is possible to trap both links and forms, so when you click
>>> a link or submit a form contained within a component, the new content will
>>> be loaded within the component (without reloading the rest of the page).
>>> Comp
Hi everyone,
I often use ajax and web2py_component for onclick action (for example) but
I never know what is difference between them and how to use them the right
way. Can anyone guide me a good example, please?
Thank your
Ariya
--
Resources:
- http://web2py.com
- http://web2py.com/book
a component and a full web page, so you could have
> separate .load and .html views for that controller.
>
> Anthony
>
> On Thursday, January 7, 2016 at 7:38:43 PM UTC-5, Ariya Owam-aram wrote:
>>
>> Hi Anthony,
>>
>> Thank you for your clear and helpful expl
Hi
Try separate function for form & chart and in the view/form.html you can
use function {{ =LOAD('chart', ...) }}
or
You can embedded python chart code into form.html for example:
{{
import pygal
from pygal.style import DefaultStyle
from pygal import Config
config = Config()
Try pygal.org very easy.
เมื่อ วันพุธที่ 20 มกราคม ค.ศ. 2016 23 นาฬิกา 04 นาที 43 วินาที UTC+7,
Diego Tostes เขียนว่า:
>
> Hi,
>
> anyone can indicate a good solution to create charts using web2py?
>
> rgds
>
> diego
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
25 matches
Mail list logo