the table i have:, common_type and grade is just another table with only 1
field
db.define_table('coil_type',
Field('common_type_id', 'reference common_type', label='Type'),
Field('grade_id', 'reference grade', label='Grade'),
Field('alternatives', 'list:reference coil_type'), <-- thi
Thanks dave - if I understand this correctly I need to unzip and manuall
copy into my folders?
On Tuesday, October 22, 2013 11:00:53 PM UTC-4, Dave S wrote:
>
>
>
> On Tuesday, October 22, 2013 6:55:37 PM UTC-7, Joe Magaro wrote:
>>
>> Hi Dave,
>>
>> Im not sure what source zip to download? Can
I added blank lines before & after the raw HTML; it still got escaped.
On Sunday, November 17, 2013 9:56:08 PM UTC-5, Scott Hunter wrote:
>
> As I understand it, Markdown allows for raw HTML to be included, so long
> as it is set unindented in its own "paragraph". But when I try the example
> f
On Sunday, November 17, 2013 8:24:56 PM UTC-5, 黄祥 wrote:
>
> On Sunday, November 17, 2013 9:37:31 PM UTC+7, Anthony wrote:
>>
>> Python will create a .pyc file for any module (same for modules in
>> web2py). However, unlike in Django, web2py model and controller files are
>> not Python modules.
>
As I understand it, Markdown allows for raw HTML to be included, so long as
it is set unindented in its own "paragraph". But when I try the example
from the Markdown spec
(http://daringfireball.net/projects/markdown/syntax#html), it gets escaped.
My view code:
{{extend 'layout.html'}}
> {{fro
I changed it to:
return dict(answer=answer)
but the response looked the same through Firebug... I'm sure I'm not doing
it right, I was only trying to do that to see what the response looks like.
My main concern is how to look through the response in "answer =
conn.getresponse()" and get the valu
why not make it list using rows.as_list()
and then you can get the data like on the controller example.
ref:
https://groups.google.com/forum/#!searchin/web2py/google-charts-plugin/web2py/a09_F-udFVQ/_HC5h3LB2tkJ
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Do
On Sunday, November 17, 2013 9:37:31 PM UTC+7, Anthony wrote:
>
> Python will create a .pyc file for any module (same for modules in
> web2py). However, unlike in Django, web2py model and controller files are
> not Python modules.
>
so that's the reason, why only in modules folder, web2py autom
As I understand it, the second argument in a menu item (which does not seem
to be documented in the book) indicates if the item is disabled (True) or
not (False). In fact, in the menu generated by the app wizard, this
argument is given an expression comparing the same URL() as used for the
men
i actually have 5th edition but i need to check something in the 3rd. pls,
if anyone have it or a link to, kindly response. thanx.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/
Python will create a .pyc file for any module (same for modules in web2py).
However, unlike in Django, web2py model and controller files are not Python
modules. Instead, they are executed by the framework. The advantage is that
changes are active immediately, without needing to restart the web s
I am not a django user but what happens if you edit a file in django? Do
you need to restart the webserver to make it work?
In web2py you don't (except for modules). Web2py behaves different and it
has its advantages.
But can you tell me why does one need compiled files during development?
(In fa
Thanks Ron. I didn't immediately grasp that I should have been learning
Python concurrently. Alex
--
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 rec
Yes, a Python feature called string formatting
http://docs.python.org/2/library/stdtypes.html#string-formatting-operations
r['first_name'] and r['last_name'] are processed by their str function
because of the %s in "%s %s" the format specifier.
The standalone % is the operator specifying string
hi,
just wondering, why web2py didn't have auto compiled like in django?
e.g. everytime create the new python file in django and then execute it
(cli or browser), i observe that django always create the *.pyc (python
compiled) for the file that executed.
honestly, i don't know what exactly happ
15 matches
Mail list logo