not_in = db(db.table2.id>0)._select(db.table2.column2)
query = db(~db.table1.column1.belongs(not_in)).select()
On Tuesday, December 2, 2014 12:06:42 PM UTC+1, vijay@agnicient.com
wrote:
>
>
> Hi All,
>
> I really need help with a query?
>
> this is my query:
>
>
> Select * from Table1 whe
Actually I was referring to max-procs parameter of the fastcgi server that
is setup in lighttpd virtual host configuration. I don't know if you mean
that. In my virtual host configuration, I setup the fastcgi server like
this:
fastcgi.server = (
".fcgi" => ("localhost" => (
The correct approach is using virtualenv and installing dependencies
inside your virtualenv.
On Mon, Dec 1, 2014 at 11:49 AM, Jason Solack wrote:
> Hello, i'm deploying some sites to apache and i'm wondering if there's built
> in support for a "requirements" file to ensure my project is using the
why not flup?
- not event based. Event based servers are usually more responsive under
load.
- seems pretty unmantained.
- misses some tuning options.
max-procs in lighttpd configuration:
- leave it to 1
- work with the following options in your script:
WSGIServer(application, minSpare=1, maxSpar
Final solution was this:
_tables.py
def store_file(file, filename=None, path=None):
path = path #"applications/init/uploads"
if not os.path.exists(path):
os.makedirs(path)
pathfilename = os.path.join(path, filename)
dest_file = open(pathfilename, 'wb')
try:
Where should I put code that should run only once at web server startup
(not once per http request) (eg application initialization) ?
Thanks in advance!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.goog
I'll be there.
Matjaz
--
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-u
I really want to learn Web2py and get it working on my P.C.
I have LinuxMint17 (a Ubuntu derivative); Python2.7 was installed; I
installed python-web2py.
Trying to follow the documentation.
When I type *python web2py.py -S welcome* into my terminal I get:
python: can't open file 'web2py.py
Most of my application code is running in Python modules in the modules
directory. In the modules directory, I have a few singletons which are
implemented as variables defined in the main body of a globals module.
However, it seems that web2py runs my modules and the controller in
different pro
Hi,
I would like to apply a widget (ckeditor) to an INPUT field of a custom
FORM (not a SQLFORM).
When using SQLFORM and FIELD(...,widget=ckeditor.widget), the widget is
correctly applied to the field of the FORM. Can I do the same thing with a
custom FORM?
The data I'm manipulating in the FO
Hi ,
I'm fairly new to web development so this may be a silly question but how
do I deploy a website I made in web2py?
Thank you :)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/is
I'll go.
--
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.
So glad I came across this. I'll be there. Thanks! Looking forward to it.
J
On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote:
>
> *Massimo Di Pietro, web2py's originator, will attend our own Bay Area*
> *web2py
> meetup* to meet, greet and present. Additional talks by Dexter Hadley
I will attend, will there be WiFi access?
On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote:
>
> *Massimo Di Pietro, web2py's originator, will attend our own Bay Area*
> *web2py
> meetup* to meet, greet and present. Additional talks by Dexter Hadley, of
> Stanford University and Ric
pylint checks fail on web2py controllers and models because web2py
automatically imports several modules/classes/variables at runtime. I
assume this is a known issue and there is no workaround?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
See you Friday.
--
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"
if you need a simple menu you can use this code on "MODELS" > "menu.py"
def _():
# shortcuts
app = request.application
ctr = request.controller
# flags
pesquisa_h = 'highlighted' if ctr=='pesquisa' else ''
relatorios_h = 'highlighted' if ctr=='relatorios' else ''
res
I would like to attend! Thanks! -Daniel Roesler
On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote:
>
> *Massimo Di Pietro, web2py's originator, will attend our own Bay Area*
> *web2py
> meetup* to meet, greet and present. Additional talks by Dexter Hadley, of
> Stanford University a
You can use any web hosting service but this one is the
easiest: https://www.pythonanywhere.com/try-web2py/
On Wednesday, 3 December 2014 10:37:44 UTC-6, PZ R wrote:
>
> Hi ,
>
> I'm fairly new to web development so this may be a silly question but how
> do I deploy a website I made in web2py?
Hello Paul,
Where are you installing this from? You are using a version that is 3 years
old. You should download and unzip the version from the web2py.com web
site. The version issue may or may not be related to the cache problem.
Massimo
On Wednesday, 3 December 2014 11:32:49 UTC-6, paul_...@
Because requests are handled by threads, the way to do this may be to use
the current object.
Note that you should replace "processes" with "threads" in your question.
Most web2py execution environments are multi-threaded not not-multiprocess.
You set your global variables in one of the code bod
Does your RPC call actually block other requests?
On Tuesday, 2 December 2014 06:29:36 UTC+11, Matt Broadstone wrote:
>
> Hi,
> We're making a number of rpc calls to other services using jsonrpc, and a
> few of them are particularly long running. I'd rather not use the
> scheduler, but instead
Can you show some code (i.e, both some module code and how you are
importing/accessing the objects from the controller)?
On Tuesday, December 2, 2014 1:01:04 PM UTC-5, Alan Evangelista wrote:
>
> Most of my application code is running in Python modules in the modules
> directory. In the modules
Are you trying to do this via the web2py admin interface, is that what you
mean? What type of web2py installation do you have? (did you clone github,
a "source" installation)
The git integration built in to the admin app worked last time I used it
as long as the python git modules are available
Have you read through this yet?
http://web2py.com/books/default/chapter/29/13/deployment-recipes
-Jim
On Wednesday, December 3, 2014 10:37:44 AM UTC-6, PZ R wrote:
>
> Hi ,
>
> I'm fairly new to web development so this may be a silly question but how
> do I deploy a website I made in web2py?
>
25 matches
Mail list logo