oh really! No I haven't tried that.
That must be what Sean meant by front-end Apache (or nginx) server
I read some documentation (https://help.webfaction.com/index.php?
_m=knowledgebase_a=viewarticlekbarticleid=26) about serving static
directories on webfaction but it seems complex because you
Hi,
I am away from my app right now but I guess it would be something like
this:
data: '{ name_of_ username_field: username_field_value,
name_of_password_field: password_field_value,
_formkey: form_key_value,
_formname: formname_value }'
On Sep 10, 8:45
It sounds like you're getting the HTML for the login page, which is
what I would expect because you're requesting that URL.
Also you're missing a ) for URL()
Richard
On Sep 10, 3:11 pm, eddwinston eddwins...@gmail.com wrote:
Hi,
This is what I did:
jQuery.ajax({
type: POST,
url:
I think no quotes:
data: { name_of_ username_field: username_field_value,
name_of_password_field: password_field_value,
_formkey: form_key_value,
_formname: formname_value }
The problem is that you do not know the formkey until the form is
generated and
neat!
On Sep 10, 3:32 pm, Robin B robi...@gmail.com wrote:
On GAE, the default ordering depends on which index is needed to
answer the query, and it is stable, so it is non-random.
To get random rows on GAE, I use a float field called random, which is
assigned a float from 0 and 1, then to
Try putting it in db.py directly in your Field declaration. Here is an
example:
db.define_table('mytable',Field('myfield','string',label='My
Field'),Field('file','upload',label='My File'))
IMO, the 2nd edition manual is the best source of info (besides the
source code). You can view it here:
Check out lxml: http://codespeak.net/lxml/parsing.html
It is also great at parsing HTML and very efficient:
http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/
Richard
On Sep 8, 11:03 am, mr.freeze nat...@freezable.com wrote:
I am working with web services from
I would also be interested in understanding more about the DAL,
particularly the new one in development.
On Sep 10, 2:02 am, mr.freeze nat...@freezable.com wrote:
I would like to see a 'deep dive' into the DAL included complex
queries, best practices, limitations, tips and tricks.
On Sep 6,
Try this. u is the url, i is the form index (set to 0 for a single
form on the page), and t is the target for the response.
function ajaxSubmit(u,i,t){
frm = jQuery(form:eq( + i + ));
query = 'undefined=' + i;
if (frm.length==1){query = frm.serialize();}
jQuery.ajax({type: POST,
Many thanks. Looks good.
On Sep 10, 1:15 am, Richard richar...@gmail.com wrote:
Check out lxml:http://codespeak.net/lxml/parsing.html
It is also great at parsing HTML and very
efficient:http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/
Richard
On Sep 8, 11:03 am,
On Sep 9, 10:06 pm, Jose jjac...@gmail.com wrote:
WSGIScriptAlias / /home/myaccount/webapps/apachewsgi/web2py/
wsgihandler.py
WSGIDaemonProcess web2py user=myaccount group=myaccount \
home=/home/myaccount/webapps/apachewsgi/web2py/ \
processes=1 maximum-requests=1000
Aha, so this is
On Sep 10, 3:27 am, Richard richar...@gmail.com wrote:
I've created a backend process to postprocess the uploaded files
separately to the request, and so am no longer receiving this error.
Is there a way to configure Apache to allow more time before this
timeout error?
On Sep 8, 10:11 pm, Tim Michelsen timmichel...@gmx-topmail.de wrote:
If you need to access legacy databases the best way is to create a
database view for your table.
How do I do this?
Can you give an example or reference (to your book)?
http://www.sqlite.org/lang_createview.html
Not
Thanks a lot guys. I will try it when I get hands on my app again.
Regards,
Winston
On Sep 10, 9:28 am, mr.freeze nat...@freezable.com wrote:
Try this. u is the url, i is the form index (set to 0 for a single
form on the page), and t is the target for the response.
function
This does exactly what you want:
http://vimeo.com/6401333
the source code is in
http://bazaar.launchpad.net/~mdipierro/qcdmc/development/files
Wow, thanks for posting this here and letting us know.
It's great and shows a good enterprise directed application.
Use such good examples
Also Tips on using the DAL with a domain model would be nice...
On 10 sep, 08:17, Richard richar...@gmail.com wrote:
I would also be interested in understanding more about the DAL,
particularly the new one in development.
On Sep 10, 2:02 am, mr.freeze nat...@freezable.com wrote:
I would
This would be an excellent addition to the appliances web2py already
has. I was recently trying out GAE and set up a test site using T3.
The installation was dead simple and T3 worked really well. With
minimal effort I was able to set up -http://fightalzheimers.appspot.com
Yes, T3 is good. I
Hi,
What exactly is T2 or T3? Are they applications built with web2py or
are not. I don't actually get it
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Hi,
I've been trying to use win32com with web2py to get data from an
external process. I have been using the following in a controller for
my app (default.py)
import win32com.client
serv = win32com.client.Dispatch(MyService)
Once I installed web2py source this worked fine, however
credits:
That is paid for by the Department of Energy.
I need to add the acknowledgment to the info page.
Massimo
On Sep 10, 3:11 am, Timmie timmichel...@gmx-topmail.de wrote:
This does exactly what you want:
http://vimeo.com/6401333
the source code is in
I would put the code below in a module in web2py/ and from the module
import serv in your apps.
On Sep 10, 7:16 am, tvw surftas...@gmail.com wrote:
Hi,
I've been trying to use win32com with web2py to get data from an
external process. I have been using the following in a controller for
Yes. Old ones. Proof of concepts for things to come. T2 was an example
of a possible plugin structure but everything in T2 is now in web2py.
T3 is harder to explain. There is a video on vimeo. It is a handy app,
it's only problem is that it still use T2 stuff. It should be
rewritten. It will not
I'm sorry I didn't get the point.
What should I do with {{=crud.update(db.cliente, cliente)}}
I put it in the view and...
thank you
CA
2009/9/9 mdipierro mdipie...@cs.depaul.edu
{{=crud.update(db.cliente,cliente)}}
On Sep 9, 9:50 am, Carlos Aboim abo...@gmail.com wrote:
Hey Massimo,
Hello,
I have following code in my controller
@service.json
@service.jsonrpc
def list_users():
return dict(users=db(db.auth_user.id0).select())
when i go to
http://127.0.0.1:8000/userapp/default/list_users.json
it gives me no json
http://127.0.0.1:8000/userapp/default/list_users.xml
works
On 10 sep, 07:17, Fran francisb...@googlemail.com wrote:
To redirect to your application, I use mod_rewrite:
RewriteEngine On
RewriteRule ^/$ /myapplication/ [R]
F
Thanks Fran. Works well
Regards
Jose
--~--~-~--~~~---~--~~
You received this message
Becouse the form created, is configured to download a pdf (return),
but when I
resume using the form, it needs to be updated (redirect). thanks
On Sep 10, 12:50 am, Richard richar...@gmail.com wrote:
why do you need to update the form?
On Sep 10, 6:58 am, __Kyo__ iacastil...@gmail.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
for a productive site I wish to touch the default error handler, maybe
using some kind of decorator. IMO it would be good to
1. retain the ticket generation
2. notify admin by e-mail
3. redirect client to a custom error page
I would like to
That is all. When you visit the page there will be a create form in
the page.
Perhaps I misunderstand what you want to do.
On Sep 10, 8:14 am, Carlos Aboim abo...@gmail.com wrote:
I'm sorry I didn't get the point.
What should I do with {{=crud.update(db.cliente, cliente)}}
I put it in the
DAL Rows objects are not json serializable. It must be converted to a
list of dict first as below:
@service.json
@service.jsonrpc
def list_users():
return dict(users=db(db.auth_user.id0).select().as_list())
On Sep 10, 8:28 am, Manoj sonawane.ma...@gmail.com wrote:
Hello,
I have following
make app error with a controller default.py and an action
def index():
from gluon.tools import Mail
mail=Mail()
mail.settings.server=smpt.example.com:port
mail.settings.sender=y...@example.com
mail.settings.login=you:password
ticket=request.vars.ticket
subject=Ticket:
I know how to work with xml code. I just wanted to make sure I do it
with all the built in libraries that are possible.
I have an existing tool that will be sending me an XML in a post
request. What is the best way for me to take that data and use it in
my Web2py Application? they are not
Ex:
x = 'db.table.id == value'
query = db(x)
* This fails. Is it possible to convert a string into a query?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email
Have a look at the Algorithms Animator, Cool!
http://vimeo.com/1735226
Regards
Anand
On Sep 10, 4:11 pm, Timmie timmichel...@gmx-topmail.de wrote:
This does exactly what you want:
http://vimeo.com/6401333
the source code is in
On 10 sep, 14:26, Don sam...@gmail.com wrote:
Ex:
x = 'db.table.id == value'
query = db(x)
* This fails. Is it possible to convert a string into a query?
Replace with:
x = (db.table.id == value)
query = db(x)
Jose
--~--~-~--~~~---~--~~
You received this
the idiom is db(WHERE_CLAUSE).select(FROM_CLAUSE) (a simplification, but
you get the idea)
so you want
query_results = db(x).select()
or (equivalently):
query_results = db(x).select(db.table.ALL)
On Thu, Sep 10, 2009 at 9:26 AM, Don sam...@gmail.com wrote:
Ex:
x = 'db.table.id == value'
I think the OP wanted to execute something based on an email
trigger, i.e. when sending an email to a specific address with, say,
the contents of a blog post, and have the system automatically add the
post based on the contents of the email, something like that, this is
somewhat away from web2py,
Okay, that was a bad example and my fault. Let's try again
x = 'db.table.id == value'
query = x
set = db(query)
row = set.select()
This will fail because the query variable is not a gluon.sql.Query
object, it is just a string. How can I convert from a string to a
query?
On Sep 10, 10:32 am,
From Clientes/index (a list of clients) I want to pick up a record and edit
it.
with the earlier configuration I get the record but I can't edit it.
How I merge my confs with your suggestion?
maybe would be better explain everything again but if you can understand..
thanks
CA
2009/9/10
Hi everyone,
I have a problem here seeking assistance. I am confused about how to
start writing test codes in web2py. Say I want to test the following:
def input_SS():
if session.username == None:
redirect(URL(r=request, f='../account/log_in'))
form = FORM(
TABLE(
FYI, something to consider is that SQLite doesn't natively support
foreign key constraints. For example, ON DELETE CASCADE doesn't
work. It is possible to write triggers to handle referential
integrity, but a dbms like postgresql just does it. So, depending on
your requirements, postgresql
Try
def xml_uploader():
import xml.etree.ElementTree
mytree=xml.etree.ElementTree.parse(request.body.read())
# do something with mytree. look into python docs about it
On Sep 10, 9:22 am, encompass encomp...@gmail.com wrote:
I know how to work with xml code. I just wanted to make
This is dangerous because vulnerable to SQL Injections. Anyway
a query can be a valid SQL WHERE clause:
x = table.id == %i % value
query = x
set = db(query)
row = set.select()
in this case x is valid SQL. Notice it is not 'db.table.id' but
'table.id' because db is a web2py animal not a SQL
Ahh.. Thanks I will try it out.
On Sep 10, 11:12 am, mdipierro mdipie...@cs.depaul.edu wrote:
This is dangerous because vulnerable to SQL Injections. Anyway
a query can be a valid SQL WHERE clause:
x = table.id == %i % value
query = x
set = db(query)
row = set.select()
in this
Hi
I found issue in database administration module and blob field for
files storage
When model is defined as below
db.define_table('picture', Field('file','upload'))
there is no problem with inserting new records using 'database
administration'
but when model is defined to store files
http://www.dzone.com/links/coding_django_polls_tutorial_in_web2py.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe
Hi,
I have looked at the web2py 2nd edition and I see no description of
isoformat.
Jm
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to web2py@googlegroups.com
see date.isoformat() here:
http://docs.python.org/library/datetime.html
On Thu, Sep 10, 2009 at 11:36 AM, jayvandal jayvan...@gmail.com wrote:
Hi,
I have looked at the web2py 2nd edition and I see no description of
isoformat.
Jm
--~--~-~--~~~---~--~~
You
It seems strange that the db.field 'label' is not used as the column
header by default in SQLTABLE. After all, if someone has gone to the
trouble of specifying a 'label', surely they would wish to use it
everywhere. I eventually found this excellent tip from Massimo.
Controller:
Hello,
I've found some weird behavior of web2py script. After few hours from
script start it throw error:
OSError: [Errno 24] Too many open files
Indeed, there is many attached files:
lsof -p 13149
python2.5 13149 www-data 24u REG 202,0 02702 /tmp/
tmpkvWcld (deleted)
python2.5
Please try
Field('file_data','blob',default=''))
On Sep 10, 10:57 am, ab adam.ba...@googlemail.com wrote:
Hi
I found issue in database administration module and blob field for
files storage
When model is defined as below
db.define_table('picture', Field('file','upload'))
This comes up once in a while and the answer is no.
The problem is that SQLTABLE may need to display the result of a join
where the same field appears has two columns and some columns may be
computed from expressions. They do not have a label and even if they
do, using label would be confusing.
Thank you.
What OS do you use?
Can you email me your full name, to log the patch?
Massimo
On Sep 10, 11:52 am, zahariash karra...@gmail.com wrote:
Hello,
I've found some weird behavior of web2py script. After few hours from
script start it throw error:
OSError: [Errno 24] Too many open
I see it may not be straightforward, but if I may still make a non-
urgent suggestion for future consideration:
1. Check whether it's a normal looking, unambiguous fieldname.
2. If true, and a label exists, then use the label.
After all, if there are any problems with column headers, we could
You can just do
{{=SQLTABLE(rows, headers=dict([('mytable.'+f,db.mytable[f].label) for
f in db.mytable.fields]))}}
On Sep 10, 1:07 pm, villas villa...@gmail.com wrote:
I see it may not be straightforward, but if I may still make a non-
urgent suggestion for future consideration:
1. Check
Good point. Another factor is handling threads. IIRC Sqlite won't handle
more than 1 thread while the others will.
On Thu, Sep 10, 2009 at 8:01 AM, ctalley ctal...@caci.com wrote:
FYI, something to consider is that SQLite doesn't natively support
foreign key constraints. For example, ON
mediatemple.net has Django Containers, basically a VPS designed
specifically to run Django, is there anything out there like this for
web2py?
I can imagine the having the dedicated django container is faster than what
could be set up with web2py?
Could the django container be used to host
Massimo,
use your mac.
run terminal
type in:
whois icoexist.org
might give a hint... :)
-wes
On Wed, Sep 9, 2009 at 4:23 PM, mdipierromdipie...@cs.depaul.edu wrote:
http://www.icoexist.org/
--~--~-~--~~~---~--~~
You received this message because
Also if you already have many existing rows w/o a random float field,
you will need to add a random field to those rows.
You could use the remote datastore API [ ru.ly/g6 ] to add a random
field to each row in the table. It basically connects you to the
production datastore from your local
What OS do you use?
Debian 5.0.3
Can you email me your full name, to log the patch?
Zahariash is ok ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
I assume those are virtual machines.
Some users have posted virtual machines containing web2py.
I think there is still room for improvement. Ideally I would like a
ubuntu server virtual machine with
1) apache preconfigured to run web2py via mod_wsgi
2) postgresql preconfigured and perhaps a
Thanks. Working fine.
I have one more question.
When I upload file by database administration, field file contains for
example following entry -
picture.file.975598ae58526cda.
46697265666f785f77616c6c70617065722a706a67.png
I want to upload files by REST. Is there function which I can use to
It depends on how you send the file. Can you send me an example?
On Sep 10, 2:19 pm, ab adam.ba...@googlemail.com wrote:
Thanks. Working fine.
I have one more question.
When I upload file by database administration, field file contains for
example following entry -
Hi guys,
The login now works, the session is saved but the value returned from
the server is still a full page html markup. How can I get either xml
or json as a return value?
Thanks
Winston
On Sep 10, 10:42 am, eddwinston eddwins...@gmail.com wrote:
Thanks a lot guys. I will try it when I
I don't know uploaded file name. There is only stream of bytes to save
in blob field.
On Sep 10, 9:27 pm, mdipierro mdipie...@cs.depaul.edu wrote:
It depends on how you send the file. Can you send me an example?
On Sep 10, 2:19 pm, ab adam.ba...@googlemail.com wrote:
Thanks. Working fine.
This is a shame there is no one click support for web2py aside from google
engine. I think web2py will suffice to a prototyping framework, and then use
django for the real thing, considering that many web hosts have one click
django support. (not that adminstering an apache server is difficult, it
make a view like user.json that contains
{{if user.is_logged_in():}}1{{else:}}0{{pass}}
then call the use action with
URL(r=request,c='default', f='user', args='login',extension='json')
On Sep 10, 2:31 pm, eddwinston eddwins...@gmail.com wrote:
Hi guys,
The login now works, the session is
def upload():
import cStringIO
data=request.body.read()
f=cStringIO.StringIO(data)
current_filename='bla.bla' # how to you know the file extension if
you do not pass the name?
new_filename=db.mytable.picture.store(f,current_filename)
# do something with new_filename and
There are dedicated web hosts that provide web2py pre-installed.
On Sep 10, 2:48 pm, Thadeus Burgess thadeus.burg...@gmail.com wrote:
This is a shame there is no one click support for web2py aside from google
engine. I think web2py will suffice to a prototyping framework, and then use
django
On Sep 10, 2:10 pm, mdipierro mdipie...@cs.depaul.edu wrote:
T3 is harder to explain. There is a video on vimeo. It is a handy app,
it's only problem is that it still use T2 stuff. It should be
rewritten. It will not take long so perhaps it is one of the first
things I would do.
I just
Fran,
I would take a different approach. Instead of making a t3 brank I
would rewrite it.
I would only keep (the function that executed pages), the function
that creates menus recursively.
Instead of things like
t2.create expose crud.create and instead of t2.login expose
auth.login, etc.
The
Is something wrong with the idea, that labels, defined for the fields,
will be also default headers for the crud.select() table. Just found
myself continuously filling up and updating headers parameters every
time when I add new field in DB ;) but it is the same with label, I
defined for the
http://groups.google.com/group/web2py/browse_thread/thread/9016f07f57605698#
On Sep 10, 4:00 pm, Oleg obutov...@googlemail.com wrote:
Is something wrong with the idea, that labels, defined for the fields,
will be also default headers for the crud.select() table. Just found
myself
I've been paying with some of the example apps and run across an
oddity in the 'Views'.
When I create a view, for example: default/index.html
It shows up in the list as: default\index.html
When I try to view or edit this file with the links on the Edit page I
get an 404 Error:
The requested URL
Hi all here, have somebody though on porting web2py framework in groovy ?(
Is somebody doing it already ? )
I am asking this because groovy has the same potencial as python, just with
a liiitle more complexity than straigth python.
I have made ( http://code.google.com/p/swebj/ ) a similar web2py
Wow, thanks! Don't forget to include in the book.
BTW have you seen the Cakephp book? It's a great collaborative
effort. It would be great if everyone could proposed edits, fix typos
etc and take some of the strain off the core development team. Just a
thought.
Thanks again for the labels!
Why would anyone bother porting a system that is still in heavy development?
On Thu, Sep 10, 2009 at 4:48 PM, David Hofmann hofmannda...@gmail.comwrote:
Hi all here, have somebody though on porting web2py framework in groovy ?(
Is somebody doing it already ? )
I am asking this because groovy
hi,
I have a backend job that I run periodically with:
python -u web2py.py --import_models --no-cron --shell=test
--run=applications/test/modules/backend.py
As you can see I am specifying no cron, but every so often I get this
error:
WARNING:root:alreadyrunning
WARNING:root:WEB2PY CRON:
One advantage of sqlite is that migrations work much better than
postgres, so it is great to use while developing your app.
On Sep 11, 4:14 am, Joe Barnhart joe.barnh...@gmail.com wrote:
Good point. Another factor is handling threads. IIRC Sqlite won't handle
more than 1 thread while the
Facebook has released Tornado Server http://www.tornadoweb.org/
Any comments?
Regards
Anand
Tornado is an open source version of the scalable, non-blocking web
server and tools that power FriendFeed. The FriendFeed application is
written using a web framework that looks a bit like web.py or
All:
Is there a way to enable line numbering in the admin interface editor?
Thank you,
Christopher
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
Looks kinda like Twisted to me, but without the generality of other
protocols. But it supports epoll on Linux (and Mac?). It *can* support
WSGI but you lose the cool asynchronous stuff so why do it?
In short, it sounds like an excellent solution for someone else's problem!
-- Joe B.
On Thu,
Hi Massimo,
I tried the above method but the return value is still a full page
markup. Don't know what I am doing wrong
On Sep 10, 11:32 pm, mdipierro mdipie...@cs.depaul.edu wrote:
make a view like user.json that contains
{{if user.is_logged_in():}}1{{else:}}0{{pass}}
then call the use
I starting to use PyDev now that the extensions are now free. I
remembered some of you had problems with the autocomplete because of
the Web2Py globals. Here is a solution.
When you add a Python Interpreter, go into forced globals. Click new.
Copy and paste the following:
Thank you so much :)
Been trying for ages to figure that out on my own - works like a dream
now.
Recent convert to python from perl. web2py automates a LOT of things I
used to do very manually.
I think this is going to be a big hit.
On Sep 10, 9:08 am, mdipierro mdipie...@cs.depaul.edu
On Thu, Sep 10, 2009 at 7:00 PM, cesmiga cesm...@gmail.com wrote:
All:
Is there a way to enable line numbering in the admin interface editor?
You may want to consider using the free version of Wing IDE:
http://www.wingware.com/downloads/wingide-101
-wes
i still think of this topic of autocompletion/snippets/collaboration
features when editing...
found a good editor called Ulipad with nice features like
autocompletion, snippets, etc. python-based with wxPython. easy to
install and use.
found that its author wrote a web framework Uliweb(http://
If you looking for that it is in the manual. And the examples.
I think you can create a page like generic.xml like in a new application
if you deleted one, just make it.
Then you just ask for the page with .xml at the end.
A new application has the framework for what I think your wanting to do.
On 9月11日, 午前10:00, cesmiga cesm...@gmail.com wrote:
All:
Is there a way to enable line numbering in the admin interface editor?
i see line numbers on the web2py editor when editing models/
controllers/views.
what is 'admin interface editor'?
Thank you,
Christopher
For anyone curious, I found out that pasting this at the top of your
web2py files seems to be the only way to fix pydev. Its a somewhat
updated version of Guido Kollerie's method all in one. Its too bad
there isn't a better fix.
if 0:
from gluon.sql import *
from gluon.sql import DAL
tell your friends. ;-)
On Sep 10, 9:58 pm, tvw surftas...@gmail.com wrote:
Thank you so much :)
Been trying for ages to figure that out on my own - works like a dream
now.
Recent convert to python from perl. web2py automates a LOT of things I
used to do very manually.
I think this is
I am new to web2py and I have some questions. The first one being:
Does the ability to creating Forms with html tables in the controller
violate the principal of Separation of Concerns? Shouldn't this
view logic be handled in the view and not in the controller?
Please reference example #28
Hello,
I am well versed in Python but a newbie in web2py.
I have a list of elements and I'd like to generate INPUTs for it using
a for loop if possible
Specifically
myElem = [ ['id_x', 'One'], ['id_y', 'Two'], ['anotherId',
'SomeValue']]
should become
form
input id='id_x'
Yes. The fact that you can do it, does not man you should do it.
Sometime need to build HTML programmatically, for this reason web2py
provides a OOP server side representation of the DOM so that you never
have to manipulate strings in the controllers.
You can use this to build forms but you do
what would be the compelling reason to commit to that work regardless?
On Thu, Sep 10, 2009 at 7:14 PM, Thadeus Burgess
thadeus.burg...@gmail.comwrote:
Why would anyone bother porting a system that is still in heavy
development?
On Thu, Sep 10, 2009 at 4:48 PM, David Hofmann
see output of:
python web2py.py -h
for the option to disable cron
On Thu, Sep 10, 2009 at 7:14 PM, Richard richar...@gmail.com wrote:
hi,
I have a backend job that I run periodically with:
python -u web2py.py --import_models --no-cron --shell=test
Good night, I ask for your support with this situation
I have a subdomain on WebFaction.
At this time, I can see and work with the admin, welcome and a mysql
database in my application in WebFaction.
However, when I request my subdomain, the initial application (init)
loads blank pages. I think,
what makes you say that? I've had good luck w/ postgres migrations. Have
you had problems?
On Thu, Sep 10, 2009 at 7:36 PM, Richard richar...@gmail.com wrote:
One advantage of sqlite is that migrations work much better than
postgres, so it is great to use while developing your app.
On
1) actually migrations work better in posgresql because all types of
alter tables are supported (http://www.sqlite.org/faq.html#q11).
For example if you change the type of a column with postgresql web2py
will create a new column, try to convert the data, drop the old
column, rename the old
On Sep11, 11:16am, suiato homm...@gmail.com wrote:
i still think of this topic of autocompletion/snippets/collaboration
features when editing...
found a good editor called Ulipad with nice features like
autocompletion, snippets, etc. python-based with wxPython. easy to
install and use.
I have made some changes to the code in trunk:
1) Since tonight I attended a presentation about how SQLAlchemy can do
on delete cascade in SQLite even if SQLite does not support it, I
implemented this feature in web2py too. There is nothing you have to
do it now there by default. For example:
1 - 100 of 103 matches
Mail list logo