Hi.
The question would be if theres any way to run a function taking a composed
unprocessed view as argument to return a modified one, before its executed
and rendered.
The problem im trying to solve is because handlebars, jquery or knockout js
are using the same delimiters as web2py.
Im awa
Hi everyone,
I'm trying to access the data stored in my app db from a different piece of
software (apart from my web2py app). But I get an error AttributeError.
Based on the manual:
http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Using-DAL-without-define-tables
I
Did you set up the db_define table for the database in models.
For example, the accounting package I am working on for our Supreme Court
has and external postgres database.
>From the DDL, I've created, for example, the "ship to code" file (we reuse
for something else)
-
It's just a file, so read it in, do whatever you want with it, and then
call response.render() with the results. A simpler approach is to see if
you can use alternative delimiters with your JS library. If the library
doesn't allow that, you can use alternative delimiters in the original
code, r
Hello everybody
I have some questions about an appllication I want to migrate from SQLite
db to MySql in windows:
- what version of mysql do I have to install to my PC where I have 2.17
version of web2py? Where can I find?
- is it necessary to install drivers or it is still included in my web2py
Those are all good alternatives. ill investigate the js option but cant
process a view with js delimiters as \{{ as they will be interepreted by
python.
response.render is not documented but found an example at
http://web2py.com/books/default/chapter/29/08/emails-and-sms?search=response.render
On Wednesday, February 6, 2019 at 4:01:51 AM UTC-8, Константин Комков wrote:
>
> If I use first method my services was stoped and cannot be run, enother
> method open in text editor file web2py.py. The better for me use nssm
> becouse I can delete folder session manually(online 2 - 10 students)
This would be a solution:
At gluon/templates.py line 790, poll for "*response.parseview*" which is a
custom function that will get the template text and return a modified one:
else:
text = filename.read()
response = context.get("response")
if response and respon
>
> - what version of mysql do I have to install to my PC where I have 2.17
> version of web2py? Where can I find?
>
in windows env there are mysql and mariadb
*ref:*
https://downloads.mariadb.org
https://dev.mysql.com/downloads/mysql/
- is it necessary to install drivers or it is still includ
9 matches
Mail list logo