@Niphlod
My point was simply this: if I set a='myapp' I would expect 'myapp' to
replace the appname from r or anywhere else.
This behaviour also caused difficulty for the OP.
I just mentioned it in case it was a bug. Thanks for commenting.
--
Resources:
- http://web2py.com
-
I would love to have a list set with strings but I am able to define if
they should be of a certain string type.
Does this already exist and I did it wrong, or would this be a good idea
to implement.
BR,
Jason Brower
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
I forgot, this is my code:
db.define_table('opening_time',
Field('restaurant', 'reference restaurant'),
Field('start_time', 'time'),
Field('end_time', 'time'),
Field('days', 'list:string')
)
db.opening_time.days.requires = IS_IN_SET(('Monday', 'Tuesday',
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Validators
multiple=True
...
On Saturday, March 29, 2014 1:51:35 PM UTC+1, Encompass solutions wrote:
I forgot, this is my code:
db.define_table('opening_time',
Field('restaurant', 'reference restaurant'),
Is there a way for me to dynamically add form elements, such as INPUT
fields or SELECT fields, to a form? I'm not sure how to do this. I'd like
to add these elements only under certain conditions.
Thanks.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
FORMs are just HTML helpers, so you manipulate them after creating them.
You can therefore just treat them like python lists, but there is
functionality which may be more helpful:
http://web2py.com/books/default/chapter/29/05/the-views#Server-side-DOM-and-parsing
On Sunday, 30 March 2014
On 29 Mar 2014, at 5:04 AM, villas villa...@gmail.com wrote:
My point was simply this: if I set a='myapp' I would expect 'myapp' to
replace the appname from r or anywhere else.
This behaviour also caused difficulty for the OP.
I just mentioned it in case it was a bug. Thanks for
Dear users,
I'm writing because i have a problem with function login_bare.
I'm developing a mobile app and data are shared by json i'm using something
like this
response.view = 'generic.json'
import gluon.contrib.simplejson, collections
json_data = request.body.read()
Here #41 the workaround / solution:
http://code.google.com/p/web2py/issues/detail?id=1809
Il giorno venerdì 28 marzo 2014 16:26:27 UTC+1, egigi ha scritto:
Could someone help me about this error?
I'm trying to install the framework just downloaded but something doesn't
work fine:
Iam a newbie, I just wanted to know if I can make use of web2py to create
login Send sms by clicking a button on web2py with gsm modem attached to
same computer recieve sms store sms details in database? Thanks in
advance!
--
Resources:
- http://web2py.com
- http://web2py.com/book
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
Il giorno venerdì 28 marzo 2014 19:35:51 UTC+1, Dave S ha scritto:
On Thursday, March 27, 2014 2:41:14 PM UTC-7, User wrote:
Did you install web2py source version or web2py_win.zip? What python
version are you using? And when you run it, what are you doing
specifically?
On
Hi,
I’m too newbie to know if this is a typo or an error but, here
http://web2py.com/books/default/chapter/29/03/overview#Configuring-the-layout
when Massimo writes “(…) In fact, the static/base.css stylesheet is well
documented and described in Chapter 5 (…), I can’t find any reference to this
Hi guys,
Having an issue with the web editor. Other's have experienced this problem
before with no resolution:
https://groups.google.com/forum/#!topic/web2py/fIuUAqdSieQ
https://groups.google.com/forum/#!topic/web2py/SxYJX90zszY
http://comments.gmane.org/gmane.comp.python.web2py/120843
I'm
pyserial maybe?
2014-03-29 5:01 GMT+00:00 Jayesh Adhikari jayeshadhik...@gmail.com:
Iam a newbie, I just wanted to know if I can make use of web2py to create
login Send sms by clicking a button on web2py with gsm modem attached
to same computer recieve sms store sms details in database?
I have this field in my table:
Field('exceed_by', length=1, requires=IS_IN_SET({'P':'Percentage',
'A':'Amount'})),
In my controller code I want to get the label for my field, as in
record = db.table_name(1)
print record.exceed_by
I want it to print 'Percentage' or 'Amount' depending on
Can you please try the latest nightly build?
http://web2py.com/examples/static/nightly/web2py_win.zip
On Friday, 28 March 2014 14:06:37 UTC-5, egigi wrote:
Il giorno venerdì 28 marzo 2014 19:35:51 UTC+1, Dave S ha scritto:
On Thursday, March 27, 2014 2:41:14 PM UTC-7, User wrote:
Did
Let's say I have
URL(f=myfunction, vars=dict(x=1))
or
v = {f:myfunction, vars:{x:1}}
URL(**v)
That works fine.
Now I do
j = json.dumps(v)
I store j in
Field(url, requires=IS_JSON())
Now I read this field and call URL(**fieldvalue). I get an error:
type
had you already read this chapter?
http://web2py.com/books/default/chapter/29/08/emails-and-sms#Sending-SMS-messages
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I am curious how much interest has been garnered for python 3 support. I
have read about people askign about it for quite some time. And have seen
that it may very well be a different project all together (web3py ?).
Python 3 seems to really have picked up a lot more in the last couple
years.
20 matches
Mail list logo