agree, flexible is no policy, long story short what i mean is, can user
define templates on it's own path in the app ?
*e.g. *
*apps/_scaffold/settings.py*
TMPLTS_FOLDER = os.path.join(APP_FOLDER, 'views')
btw, no worries, it's fine
test latest commit (142), error traceback about database folder
got it, thank you very much !
On Sat, Jun 1, 2019 at 11:20 AM Anthony wrote:
> In order for web2py to submit forms inside LOAD components via Ajax, it
> must set up its own event handler to "trap" the form submission, so it can
> be intercepted -- this is done here:
> https://github.com/web2py/w
Good to know!! Slack deleted accounts and blocked the access from Cuba some
months ago...
Greetings
El sábado, 1 de junio de 2019, 0:48:23 (UTC-4), Massimo Di Pierro escribió:
>
> we will not. Google groups has served us well. We will eventually create
> another group but not today. ;-)
>
> On
You can already has subfolders in the templates folder. When you specify a
template file, you would specify the path relative to the templates folder.
You could also make a decorator at the app level that automatically finds
the appropriate template based on the filename and the function name.
Bu
i have two users -> *ONE *and *TWO*
www.example.com/welcome/default/index/*ONE => *if i poster args ONE ,it
will show user ONE's page
www.example.com/welcome/default/index/*TWO **=> *if i poster args TWO,it
will show user TWO's page
i want to do :
one.example.com *=> *to show user ONE's page
is it possible to have flexible folders pattern for templates and
translations folders ?
*e.g.*
mkdir apps/_scaffold/controllers
mkdir apps/_scaffold/models
mv apps/_scaffold/controllers.py apps/_scaffold/controllers/default.py
mv apps/_scaffold/models.py apps/_scaffold/models/db.py
then adjust s
In order for web2py to submit forms inside LOAD components via Ajax, it
must set up its own event handler to "trap" the form submission, so it can
be intercepted -- this is done here:
https://github.com/web2py/web2py/blob/master/applications/welcome/static/js/web2py.js#L307
.
If you don't want
Ignore this. I am unable to reproduce it for now.
=
On Thursday, May 30, 2019 at 2:36:50 PM UTC+5:30, Sundar wrote:
>
> When I try to run the above version under Apache (2.4), welcome app screen
> comes. When I click on 'Admin' button, an error message is displayed.
Hi Dave,
I've faced the same problem trying to add psycopg2 on MacOs binaries with
python 2.7. Following some advices, I've resolved it by installing unixodbc
(with brew) before it.
I hope it helps,
Nico
Il giorno sab 1 giu 2019 alle ore 00:09 Dave S ha
scritto:
> Help!
>
> /dps
>
> On Thursd
9 matches
Mail list logo