I want to add authorization to the following url, is this the right path
for a web2py controller url ?
- url: /applications/test/default/do_something/
script: none
login: admin
auth_fail_action: unauthorized
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
Maybe he/she was asking for custom forms:
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Custom-forms
El viernes, 1 de enero de 2016, 11:34:07 (UTC+1), Niphlod escribió:
>
> strange question. If you know what html and css are, you know what to do
> already.
>
--
Resources:
I've been liking using "fields" recently for its explicitness.
On Friday, January 1, 2016 at 8:14:50 AM UTC-8, Anthony wrote:
>
> On Friday, January 1, 2016 at 10:31:23 AM UTC-5, RAGHIB R wrote:
>>
>> Suppose a db has fields: name,roll,gender and I want to insert only into
>> name and gender as
@Anthony, it did upload to the 'person' table as in upload folder I can read it
as person.image.something but the later part didn't work.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/
This didn't work. Can you please edit the code above and then point out the
mistake?
--
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 me
Why use factory rather than SQLFORM with dbio=False?
Anyway, the problem is that when a file is uploaded, its new name starts
with the table and field name from the DAL model, and that table and field
name are then used to locate the file on the filesystem. With
SQLFORM.factory, a dummy DAL tab
On Friday, January 1, 2016 at 10:31:23 AM UTC-5, RAGHIB R wrote:
>
> Suppose a db has fields: name,roll,gender and I want to insert only into
> name and gender as of now , thus create a SQLFORM only for name and gender.
> How do I do that without putting roll as both readabke and writable as
> f
Suppose a db has fields: name,roll,gender and I want to insert only into name
and gender as of now , thus create a SQLFORM only for name and gender. How do I
do that without putting roll as both readabke and writable as false?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Document
My codes are : (it is uploading the image using sqlformfactory nicely but there
is some problem with the following one)
Form=SQLFORM.factory(Field('image','upload',uploadfolder=os.path.join(request.folder,'uploads/')))
if Form.accepts(request.vars,session):
db.person.insert(image=request.var
My codes are : (it is uploading the image using sqlformfactory nicely but there
is some problem with the following one)
Form=SQLFORM.factory(Field('image','upload',uploadfolder=os.path.join(request.folder,'uploads/')))
if Form.accepts(request.vars,session):
db.person.insert(image=request.va
Form=SQLFORM.factory(Field('image', 'upload',
uploadfolder=os.path.join(request.folder,'uploads')))
It says os is not defined.
When I just put: uploadfolder=('uploads')
It just creates an image of 0 bytes which when checked can't be opened becayse
it has not uploaded, just created.
i an using w
--
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 message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubsc
Form=FORM(INPUT(_name='gender', requires=IS_IN_SET(['MALE','FEMALE'])), INPUT(
_type='submit'))
--
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 recei
Form=FORM(INPUT(_name='gender' requires=IS_IN_SET(['MALE','FEMALE']), INPUT(
_type='submit'))
--
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 receive
Dude I am asking about inbuilt forms like SQLFORM and form called from
default.py
--
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 messa
strange question. If you know what html and css are, you know what to do
already.
If you don't, I strongly suggest you keep using a css framework, as
bootstrap is, to make things easy for you
That being said, there's plenty of guides on css, html and js. You can
start http://www.w3schools.com/
Please give me the source at least.
--
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 message because you are subscribed to the Google Gro
17 matches
Mail list logo