http://code.google.com/p/modwsgi/wiki/InstallationOnWindows
A controller function must either return a string or a dictionary. If a
string is returned, it is returned as the response body directly to the
client. If a dictionary is returned, web2py will call the associated view
and the keys in the dictionary will be available as variables in the view.
By
Anybody know where to get this version? I'm stuck on python 2.5 and
need to drive apache on windows 7.
Typically a controller should return either a string or (more commonly) a
dict():
return mystring
return dict(rows=rows, pages=pages)
controller:
rows =
db(query).select(db.table.id,db.table.field,orderby=~db.table.published,limitby=((page-1)*items_per_page,
page*items_per_page))
pages = UL([A(str(p),
_href=URL('default','acquisitions_ajax',args=[str(p)])) for p in
range(1,total_pages+1)], _class='test
sounds like you would need to write either a custom validator and or some
custom handling of the form - the SQLFORM() helper assumes that what is the
output of the validated field is exactly what you want to store in the DB,
but it sounds like you want the output of the validated field to be mad
HTMLMixin is not included with GAE. that means that you need to deploy it
with your application. web2py (in the latest version at least) puts
site-packages on the path in GAE.
don't forget to change your password when you are done testing. ;)
cfh
Sorry for the double post. =(
In case Massimo doesn't find a simple way to do this deep in the code,
you should really consider doing this as an app yourself, Sr. Ramos.
This is easy to implement with web2py group auth functionality.
Personally, I wouldn't expose the web2py admin interface to any but
those directly developing t
see ticket below:
File "N:/web2py/applications/my_app/models/my_model.py", line 642,
in update_audio_herds
form=SQLFORM.factory(db.my_table,record=db.my_table[b.my_table.id])
File "N:\web2py\gluon\sqlhtml.py", line 1226, in factory
return SQLFORM(DAL(None).define_table(table_name, *field
see ticket below:
File "N:/web2py/applications/my_app/models/my_model.py", line 642,
in update_audio_herds
form=SQLFORM.factory(db.my_table,record=db.my_table[b.my_table.id])
File "N:\web2py\gluon\sqlhtml.py", line 1226, in factory
return SQLFORM(DAL(None).define_table(table_name, *field
Ray Luo and I are developing a web2py jqgrid module that allows you to
insert a jqgrid into a page with only a few lines of code.
# In
model
Can you point is to the driver? Which SQL DB is it most similar to?
Can you help testing?
On Jul 30, 12:19 pm, boss wrote:
> hello,
>
> Would be great to have support for VoltDB . It has a native Python
> driver as well as a json interface .. very promising DB which is a mix
> between NoSQL & re
hello,
Would be great to have support for VoltDB . It has a native Python
driver as well as a json interface .. very promising DB which is a mix
between NoSQL & relational SQL. The database retains the data in RAM
or disk partitions and distributes both the data and the SQL engine
which processes
hey guys ,
is there anyway to do a search but other that the crud.search or a
way to control the crud.search output ... am doing it on blogs so
every blog has a title and when i search i want it to view the blog
with the title am looking for what do u think guys ?
fixed. thank you
On Jul 30, 4:56 am, Casey Schroeder wrote:
> The link to experts4solutions is written as
>
>
>
> http://experts4solutions";>experts4solutions
> (worldwide)
>
>
Open a ticket. I will think about this. I doubt it can be done without
major rewrite in Auth.
On Jul 29, 5:53 am, António Ramos wrote:
> In a small organization (+- 100 users) it can be dificult to manage ACLs
> without being able to add group to group membership.
>
> consider my company
>
> we h
An issue has been submitted, and this should be corrected soon.
Anthony
On Friday, July 29, 2011 9:57:30 PM UTC-4, Anthony wrote:
> auth.user is Storage(table_user._filter_fields(user, id=True)). The
> _filter_fields method of the auth_user table only selects actual table
> fields, not virtua
Do not know if I can help, but I made a screencast showing the use of
virtualenv with web2py:
http://vimeo.com/22919392
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Hi Richard, i ran into a similar problem with sub-sub-menus just today
using a number of the available layouts in the layouts plugin - in
fact all 4 that i downloaded. It worked fine with the default layout,
but with the other four the menu was not navigable. I used firefox 5
and the latest sour
The link to experts4solutions is written as
http://experts4solutions";>experts4solutions
(worldwide)
21 matches
Mail list logo