are you authenticated ? if you don't pass user_signature=False by default
grids are "read only" (and for a good reason)
On Tuesday, June 16, 2015 at 8:33:33 AM UTC+2, Mirek Zvolský wrote:
>
> Web2py 2.11.2
> Chrome & Firefox
> cache cleared
>
> I don't see Add button in the web2py grid.
> Explici
Web2py 2.11.2
Chrome & Firefox
cache cleared
I don't see Add button in the web2py grid.
Explicit setting create=True doesn't help.
In controller is just a grid with a table as source - this table is empty
yet.
In view is just grid rendering {{=grid}}
Any idea what I'm doing bad?
Thanks.. Mirek
go all the way for iis and fastcgi. the first slice is outdated and frankly
counter-productive with wfastcgi lying around.
On Monday, June 15, 2015 at 7:42:28 PM UTC+2, Leonel Câmara wrote:
>
> Hey, I've never tried it in production, because frankly there's just much
> better choices of servers
uhm. sqlite lockings then ?
On Monday, June 15, 2015 at 6:13:04 PM UTC+2, Michael Gheith wrote:
>
> I am querying a remote PostgreSQL database, and then inserting certain
> values into my local SQLite database, that's all...
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
Hey, I've never tried it in production, because frankly there's just much
better choices of servers in Linux, this isn't just a web2py problem, it's
any Python framework running with WSGI. That said you should be able to get
pretty good performance by using IIS with ISAPI WSGI extension.
Like t
I am querying a remote PostgreSQL database, and then inserting certain
values into my local SQLite database, that's all...
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Re
What is keyboard shortcuts of web2py's web-based IDE. i can't find any
guide about it. I recognize that has shortcuts. but i don't know what are
they.
for example:
in views - index.html
ctrl + space gives advices.
in every files.
alt + mouse select multiple lines.
and so on.
--
Resources:
- ht
Ok, i have dropped me and am now using just user. I will try to find a
solution and update what the error is. Thanks a lot for all your prompt
help.
On Monday, 15 June 2015 14:45:15 UTC+2, Anthony wrote:
>
> On Monday, June 15, 2015 at 4:57:51 AM UTC-4, zimani wrote:
>>
>> hi Anthony, i apologis
On Monday, June 15, 2015 at 7:57:14 AM UTC-4, Meghana Sanagaram wrote:
>
> Hi all,
>
> I'm trying to display an image stored in the database table.
> Here's the table:
>
> db.define_table('menu',
>Field('image','upload'),
>format = '%(title)s')
>
> I used the below html code to render the i
Check out http://pdfobject.com/.
The URL to retrieve the PDF file would be URL('default', 'download',
args=row.pdf_odc) where "row" is a record from your db table.
Anthony
On Monday, June 15, 2015 at 7:57:23 AM UTC-4, kama wrote:
>
> Hi there,
>
>
> do zou know how could I display one filed def
On Monday, June 15, 2015 at 7:57:14 AM UTC-4, dt0...@gmail.com wrote:
>
> Hi,
>
> Excellent product web2py but still trying to get my head around some of
> the structure
> and some burning questions from the documentation.
>
> Question 1:
> I want my auth tables to have an audit table.
> So i unco
please try :
{{=IMG(_src = URL('default', 'download', args = i.image),
_alt = i.description, _width = '110', _height = '110') }}
best regards,
stifan
Could somebody help me?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Sour
On Monday, June 15, 2015 at 4:57:51 AM UTC-4, zimani wrote:
>
> hi Anthony, i apologise for the late response, i had no access to the
> internet the whole weekend.
>
> Maybe i should clarify. I am customising this from one of your tutorials
> "Web development with python and web2py " part 1 and 2
I think what you need is in the book:
http://web2py.com/books/default/chapter/29/09/access-control#Authorization
2015-06-14 23:48 GMT+02:00 :
> Hi,
>
> Excellent product web2py but still trying to get my head around some of
> the structure
> and some burning questions from the documentation.
>
>
Hi there,
do zou know how could I display one filed defined like this:
Field('pdf_doc','upload'))
as embed in one form?
Thanks.
Cheers.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2
Hi,
Excellent product web2py but still trying to get my head around some of the
structure
and some burning questions from the documentation.
Question 1:
I want my auth tables to have an audit table.
So i uncommented the following line in db.py:
auth.enable_record_versioning(db)
Now this did
Hi all,
I'm trying to display an image stored in the database table.
Here's the table:
db.define_table('menu',
Field('image','upload'),
format = '%(title)s')
I used the below html code to render the image:
Though I'm able to see that the image files are stored in the table, for
each im
Here is my code:
Controller
def index():
form = SQLFORM(db.guest_questionnaire)
if form.process().accepted:
response.flash = 'form accepted'
elif form.errors:
response.flash = 'form has errors'
else:
response.flash = ''
return dict(form=form)
Model
db
On Friday, 5 June 2015 06:28:54 UTC-7, 黄祥 wrote:
>
> please take a look at web2py book about components and plugins
> ref:
>
> http://web2py.com/books/default/chapter/29/12/components-and-plugins#Components--LOAD-and-Ajax
>
> best regards,
> stifan
>
Thanks to both of you. This was very helpful
Saludos, desde Costa Rica.
Mucho agradezco la colaboración.
Quisiera saber si se presentan problemas en W7+64b con Web2py, estoy por
cuanto estoy pensando seguir desarrollando con este framework.
Que hace meses vengo siguiendo.
Gracias.
--
Resources:
- http://web2py.com
- http://web2py.com/bo
Hi,
Excellent product web2py but still trying to get my head around some of the
structure
and some burning questions from the documentation.
Question 2:
Hi at the moment every time a user registers, a new 'role' is created for
the user.
Basically I want three roles:
USER
STAFF
ADMIN
Admin goes
Hi Alex,
Symbolic links on Windows seem broken out of the box even on current
versions and nothing would surprise me on Windows except when symbolic
links work. On my mac I use symbolically linked folders with no problems at
all, but this is not a production environment. For example, my web2py-
So you don't have the problem with files getting out of sync inside
symbolic linked folders (applications)? I have this problem on Windows and
Linux, e.g. everytime the language file gets modified by the application I
have to manually synchronize the folder in PyCharm.
and what about the projec
According to my tests, the current PG adapter works only with psycopg2 and
python2.7
It is broken with both pg8000 and psycopg2 on python 3.x
A possible fix for pg8000 and python2.7 is
here
https://github.com/ilvalle/pydal/commit/d5450938ae606a3e85deffa831899a35146f5e64
I've posted an issue fo
ok, rephrasing "Then, I deploy the app on internet" <-- how is it
deployed ?
On Monday, June 15, 2015 at 10:19:11 AM UTC+2, DucVa wrote:
>
> I don't config. I am using default mode. How must I config it?
>
> Vào 15:51:28 UTC+7 Thứ Năm, ngày 11 tháng 6 năm 2015, Niphlod đã viết:
>>
>> it seem
for the gmail account :
port 465 leads to the error (timeout)
port 25,587 lead to the error (10013 )
Any help is appreciated..
On Sunday, June 14, 2015 at 6:26:00 AM UTC+3, webpypy wrote:
>
> Hi :
>
> I got the error
>
> error 10013
> An attempt was made to access a socket in a way forbidden
hi Anthony, i apologise for the late response, i had no access to the
internet the whole weekend.
Maybe i should clarify. I am customising this from one of your tutorials
"Web development with python and web2py " part 1 and 2
The 'user' in this case is the person that posted a post. Hence if i u
I don't config. I am using default mode. How must I config it?
Vào 15:51:28 UTC+7 Thứ Năm, ngày 11 tháng 6 năm 2015, Niphlod đã viết:
>
> it seems that web2py uses request.env.wsgi_url_scheme,
> request.env.http_host to build the url. How is your server configured ?
>
>
--
Resources:
- http://w
28 matches
Mail list logo