Hello,
is it possible to build an app that handle multiple domains but totally
different layouts.
I'm thinking something like this:
views/domain1/layout.html
default/index.html
..
views/domain2/layout.html
default/index.h
Try
db(db.table.field.belongs([1,2,3,4,7]) & (db.table.field2=="3)).select()
db(db.table.field1.belongs([1,2,3,4,7]) & (db.table.field2=="3")).delete()
Regards, Martin
2014-04-06 5:49 GMT+02:00 Kurt Jensen :
> How do I do :
>
> "SELECT * FROM table WHERE field IN (1,2,3,4,7) AND field2='3'""
Derek, thank you so much. Appending the line below that you suggested to
/etc/apache2/apache2.conf has fixed it!
Header always append X-Frame-Options SAMEORIGIN
On Tue, Apr 1, 2014 at 5:44 AM, Derek wrote:
> also, make sure you have this line in your apache config...
>
>
> Header always appe
How do I do :
"SELECT * FROM table WHERE field IN (1,2,3,4,7) AND field2='3'""
AND / OR
"DELETE FROM table WHERE field1 IN (1,2,3,4,7) AND field2='3'"
in web2py DAL?
I come from PHP and I am really struggling with DAL in web2py.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Doc
Yes. Please open a ticket so we'll remember to fix it.
On Saturday, 5 April 2014 18:21:35 UTC-5, horridohobbyist wrote:
>
> If I delete records in SQLFORM.grid, the number of records does not
> change. Only if I explicitly refresh the browser page does the number of
> records change.
>
> Have I
If I delete records in SQLFORM.grid, the number of records does not change.
Only if I explicitly refresh the browser page does the number of records
change.
Have I found a bug?
(I'm using web2py 2.9.4.)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
There is no Python 3 migration. Mind it is not a technical issue. web2py
promises backward compatibility and we cannot port it to python 3 without
breaking that promise. Almost none of the users have expressed an interest
in helping moving existing code to Python 3.
There will be some other fr
form = SQLFORM(db[request.get_vars.name]).process()
anyway, make sure you validate access and the name variable.
On Friday, 4 April 2014 00:13:17 UTC-5, Sharvil Katariya wrote:
>
> I want to basically pass URL?name='table_name'
>
> and create a form of the table name passed.
>
> but when i try to
It is a multipart yes. I was able to use request.body.read() to read the
requests' body in other platforms. It looks ok, and everything works. I
even changed from using FormData in javascript to writing my custom body
and so on. It all works fine except in iOS. There seems to be some kind of
pr
I want to basically pass URL?name='table_name'
and create a form of the table name passed.
but when i try to do db.table_name
i understand it will give me a error
as it will search for a table with table_name 'table_name'
But I can't think of work around this problem...
The code snippet in defa
Hello,
I'd like to give access to a subtable only if there is something to see in
it (this is of course depending on the main table).
So, I tried this which does not...
myform = SQLFORM.smartgrid(db.my_main_table,
linked_tables=dict(my_main_table= *lambda row:* ['my_sub_table'] if
*my_cou
Hi Sihui,
Just add a div with an id after extend layout and then select this id from
d3.
If you select "body" and append a circle it will go at the bottom of the
page.
{{response.files.append(URL(r=request,c='static',f='/js/d3.js'))}}
> {{extend 'layout.html'}}
>
>
>
>
> d3.select(
You got it to work!
How did you do it? What was wrong with it?
http://moneytweak.com/welcome/default/index
On Monday, March 10, 2014 5:21:42 AM UTC-7, Mạnh Trần Đức wrote:
>
> I 've bought Hatchling package hosting on hostgator.
> I tried install web2py on subfolder public_html/web2py but it w
I have just tried to run this version...
Now it's working fine on my Windows Vista.
Thanks
2014-03-29 23:08 GMT+01:00 Massimo Di Pierro :
> 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,
Hi, may I inquire about the status of python 3 migration?
--
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 subscr
I have not tuned Apache nor Postgres, their both vanilla installs through
APT. I don't have the top or iostat output right now, I will simulate the
load tomorrow that users don't work on the app and post back on monday. I
will also enable PostgreSQL statistics and post them too. Thanks for the
Use trunk. We made some changes to fix appengine problems. Will release a
2.9.6 soon. It allows:
web2py.py -G
Which configures appending (app.yaml and gaehandler.py) for you.
On Friday, 4 April 2014 19:54:03 UTC-5, gubbanoa wrote:
>
> I'm trying to run web2py 2.9.5 from Google App Engine Launc
http://blogs.cisco.com/security/introducing-kvasir/
El viernes, 4 de abril de 2014 05:59:22 UTC, Brando escribió:
>
> It's pretty easy to find Django developers out there; however, I can't
> seem to find web2py devs. I have an upcoming project to build an app for
> data entry and report genera
there is a web2py project built by cisco for Penetration Test Data
Management
https://github.com/KvasirSecurity/Kvasir
El viernes, 4 de abril de 2014 05:59:22 UTC, Brando escribió:
>
> It's pretty easy to find Django developers out there; however, I can't
> seem to find web2py devs. I have an
So I have this tables:
if not "board" in db.tables:
db.define_table("board",
Field("title", label=T('Title')),
Field("description", 'text', label=T('Description')),
auth.signature,
format = "%(title)s"
)
if not "text_type" in db.tables:
db.define_table("text_type",
Field("title", label=T('Title')
On Friday, April 4, 2014 5:51:11 PM UTC-4, Cliff Kachinske wrote:
>
> If I write a python module like this:
>
> # born_to_fail.py
> foo = 'bar'
> def main():
> print foo
> if __name__=='__main__': main()
>
>
The above shouldn't produce an error, but the following will:
foo = 'bar'
def main():
Versionweb2py™Version 2.9.5-stable+timestamp.2014.03.16.02.35.39PythonPython
2.7.5: /usr/bin/python (prefix:
/System/Library/Frameworks/Python.framework/Versions/2.7)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
Traceback (most rec
22 matches
Mail list logo