[web2py] Re: Web2py in combination with mod_python

2011-02-14 Thread Grezly
No, my host doesn't provide FastCGI access, so i need to use mod_python. On Feb 13, 10:08 am, cjrh wrote: > On Feb 13, 12:17 am, Grezly wrote: > > > I'm trying now for a few days to get web2py working with mod_python > > (on a shared hosting). Because i have no

[web2py] Web2py in combination with mod_python

2011-02-12 Thread Grezly
I'm trying now for a few days to get web2py working with mod_python (on a shared hosting). Because i have no other options of configuring apache or anything else. I did find a small tutorial on how to configure web2py with mod_python. (http://www.web2py.com/AlterEgo/default/show/231). So far i ha

[web2py] Re: Model with 2 fields were one field is required

2011-02-08 Thread grezly
you already filled start time') >     elif not form.vars.start_time and not form.vars.end_time: >         form.errors.estart_time = 'you must fill start time or end > time') > > then use > form = crud.create(db.event,onvalidation=exclusive) > and/or > form = crud.u

[web2py] Model with 2 fields were one field is required

2011-02-07 Thread grezly
i have a table with 3 fields: title start end For some reason i want to have the following; the title has to be filled in always, but for the start and end field belongs a rule to the fields; only 1 of the two fields can be filledin, They also can't be either empty or filled in. It's up to the u

[web2py] Change upload behaviour: standard filename

2011-01-17 Thread grezly
I'd like to change the default behaviour for one app, concerning my uploads. Web2py normally rename the uploaded file, but in my particular case, web2py doesn't need to change my filename. Is something possible, while creating my model? Next to that i also like to store a hash of a file in my dat

[web2py] Multilanguage wiki

2011-01-07 Thread Grezly
I'm trying to create a multilanguage wiki with the plugin_wiki. I know i can create just a few pages with different slugs (corresponding to the language) for the same article, but what i can't figure out is how to create a menu, using meta-menu or another way, that belongs to a specific language.