Any news about this topic?
Regards Martin
Massimo Di Pierro schrieb am Mi., 15. Jän.
2020, 07:09:
> yes. that is a priority.
>
> On Sunday, 5 January 2020 13:28:10 UTC-8, Carlos Cesar Caballero wrote:
>>
>> Maybe implementing a CAS server for py4web... But I am not s
Thank you!
Martin
Jose C schrieb am Di., 28. Juli 2020, 10:53:
> Just FYI, the web2py book states:
>
> Try to avoid web2py cron, and use a background process instead. web2py
>> cron can start too many Python instances and cause excessive memory
>> usage.
>>
&
Ubuntu 16
Dave S schrieb am Do., 23. Juli 2020, 11:29:
>
>
> On Thursday, July 23, 2020 at 2:15:43 AM UTC-7, mweissen wrote:
>>
>> Yes, I could use the scheduler. But it's a very small app (only 50 lines
>> of code) and I wanted to learn how to use cron.
>&
Yes, I could use the scheduler. But it's a very small app (only 50 lines of
code) and I wanted to learn how to use cron.
Regards, Martin
AGRogers schrieb am Do., 23. Juli 2020, 10:56:
> Sorry, can't help there. I have just started to use the Scheduler which is
> part of web2py
I use web2py with nginx.Now I need cron . I have read, that habe to use
"-Y" to activate it. But where is the place for this option, which
configuration file?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2
hat is the expected behavior.
But after the login py4web redirects to *index *and not to *index1*.
What is wrong?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/li
e: db Table: auth_user"
I change the username, click on [Save] and [Close]
Seems to be ok.
But 127.0.0.1:8000/myapp again shows the username joe.
And a second click on db.auth_user displays the old values.
Why?
(2) Change password:
How can I change a password using the dashboard?
Regards,
is required.*
Am Di., 11. Feb. 2020 um 09:02 Uhr schrieb Martin Weissenboeck <
mweis...@gmail.com>:
>
> py4web 0.1.20200210.2 installed
> Created "myapp" from scaffold
> Tried 127.0.0.1:8000/myapp
>
> Error:
>
> Traceback (most recent call last):
>
>
rst a registered user, but @authenticated() does
not ask for.
@authenticated()
def index():
user = auth.get_user()
message = T("Hello {first_name}".format(**user))
return dict(message=message, user=user)
Regards Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (
What is the best way to try this new version?
Download, unpack and copy over an old one?
Regards, Martin
Am Mo., 10. Feb. 2020 um 07:13 Uhr schrieb Massimo Di Pierro <
massimo.dipie...@gmail.com>:
> A new py4web version is out 0.1.20200209.2:
>
> - better reload mechanism sh
Ok, I have learned how to create an app.
But I did not find any button to remove an app.
I can delete the directory of the app, but should not be there a button on
the dashboard for that?
Or is it well hidden?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book
Is there any special reasons, why the session is cleaned when using
gloun.tools.Expose or is this an unintended behavior/bug or am I using Expose in
a way it was not intended? Or is there an other solution to my usecase , I am
missing?
Tested under version: Version 2.18.5-stable+timestamp.
queries. This would require an extension of the DAL or a
separate library for CouchDB.
Regards, Martin
Am Mo., 13. Mai 2019 um 10:10 Uhr schrieb Val K :
> You are right, this is 100% client side technology. I think we can provide
> a simple universal script that will show some configurable
I think, progessive web applications are a very important way to create
native-like apps and it would be nice, if web3py could support pwas. There
is an interesting article about the future of pwas:
https://enonic.com/progressive-web-apps
Regards, Martin
Am Sa., 11. Mai 2019 um 05:45 Uhr
Is it planned that web3py will support the development of PWAs?
Martin
Am Fr., 10. Mai 2019 um 03:58 Uhr schrieb Massimo Di Pierro <
massimo.dipie...@gmail.com>:
> Good question.
>
> We are not dropping web2py support. We will continue improve web2py. You
> may have seen a l
I want to use couchdb with web2py. It's a little bit hard, because the
documenation is missing in the book, but I found something in
https://pydal.readthedocs.io/en/latest/
Now I have tried
cdb = DAL('couchdb://admin:password@localhost:5984/w2p')
and I got:
Error ticket for "admin"Ticket ID
213
ashboard'), False, URL('main',
'students')))
response.menu[1][3].append((A('---', _class="divider"), False, None))
response.menu[1][3].append((T('Assessments'), False, None))
response.menu[1][3].append((T('History'), False
.
Any ideas, any hints?
Who has written PWAs with web2py?
By the way: my next stept would be to use Preact together with PWAs. But
for now I want to go step by step...
Regards Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
ok, thank you.
I'll try it.
Regards Martin
Am So., 18. Nov. 2018 um 19:50 Uhr schrieb Massimo Di Pierro <
massimo.dipie...@gmail.com>:
> If I assume you have full control of both domains, I would use nginx to map
>
> domain1.com/$anything ->
> domain2/yourapp/y
s purpose? Or someting else?
>>
>>
> Is the translation abcd->xyz likely to remain the same for relatively long
> times (like weeks)? Or could it be different each time the user accesses
> it?
>
> /dps
>
>
>> Regards, Martin
>>
>>
>>
>
for this purpose? Or someting else?
Regards, Martin
--
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
Me too (not #metoo :-)
I like groups and permissions and I use both very often.
Regards, Martin
Am So., 7. Okt. 2018 um 17:19 Uhr schrieb :
> "Nobody really uses groups and permissions"
>
> Dear Massimo
> I do use groups and permissions. Groups, use them as roles,
m.element('input', _name='always_show')['_readonly']=True
Am Do., 4. Okt. 2018 um 20:27 Uhr schrieb Martin Weissenboeck <
mweis...@gmail.com>:
> Sorry - wrong idea...
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentati
Sorry - wrong idea...
--
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
Try
form = SQLFORM.factory(
Field('always_show', default='123', readable=True, writable=True,
_readonly=True),
Field('writable_if_intended', default='456', readable=True,
writable=True),
readonly=False,
)
Regards Martin
Am Do., 4.
I have found the answer myself:
auth.settings.alternate_requires_registration = True
Am So., 30. Sep. 2018 um 20:16 Uhr schrieb Martin Weissenboeck <
mweis...@gmail.com>:
> I habe tried to verify the logincredentials using a remote SMTP server.
> Works fine!
> But I do not wa
;]
but it not work - there will be a new user if the email address is not in
the database table auth_user.
Any hints?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
Sorry, wrong address.
Martin Weissenboeck schrieb am Do., 12. Juli 2018,
15:25:
> --
> 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 I
Yes I think this solution could do the job. But I don't know if an
exception would produce a big overhead. Anybody who knows the answer?
Manuele Pesenti schrieb am Mi., 11. Juli 2018,
10:29:
>
>
> On 09/07/2018 09:56, Martin Weissenboeck wrote:
> > What I want to do:
>
I shall use the following solution: the scheduled function checks if there
is a conversation. If yes, it schedules a copy of itself with a start time
2 minutes in the future and returns without any further action.
Thank you for the discussion!
Leonel Câmara schrieb am Mo., 9. Juli 2018, 20:02:
Ok, could solve most problems. But not all: let's say a conversation
between bot and client is going on and just in this moment another process
wants to send a message. The queue of the scheduler is empty and therefore
this message would be sent immediately.
Leonel Câmara schrieb am Mo., 9. Juli
Leonel Câmara schrieb am Mo., 9. Juli 2018, 12:39:
> Does the chatbot keeps logs of the conversations it's having?
>
No, there are no logs. The message occurs independent from the
conversation. The scheduled function, which wants to send a message can
detect whether there is a conversation. There
is the
receiver of message). Therefore the scheduler should not send the message
and should try it e.g. 2 minutes later. And may repeat this process if
necessary.
Thanks in advance, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
ecify the order of evaluation and therefore does not
provide a shortcut on evaluation of the and operator.
Martin
2018-06-02 10:10 GMT+02:00 Martin Weissenboeck :
> Hi Anthony!
>
> That is interesting.
>
> I have tested the example with coalesce and it worked in the SELECT clause.
a->>'umfrage_text_id') IS NOT NULL => Error
WHEN extra != NULL and ... ist not allowed - there is no comparison
operator for json
Therefore I filled every empty json field with '{}'
This WHERE does the job:
WHERE extra::text!='{}'::text and (extra->>&
xtid\'=\'4\';'
self.cursor.execute
kwargs {}
What is wrong?
2018-05-31 23:14 GMT+02:00 Anthony :
> "
> Can you show your exact code? Here's what I get:
>
> >>> db('j->>"x" = 1')._select(db.j.id)
> 'SELECT "
.
I have tried some queries like
db.mytable.j.like("%1%")
db('(j-->x)=1')
but nothing did work. web2py creates always a sql-statement with
WHERE X)=1>...
Postgresql does not understand " come from?
Any ideas?
Regards, Martin
--
Resources:
- http://web2py.com
-
Ok, thank you again!
2018-05-19 14:59 GMT+02:00 Anthony :
> On Saturday, May 19, 2018 at 4:32:49 AM UTC-4, mweissen wrote:
>>
>> Hi Anthony,
>> do you have an answer for the second problem?
>>
>
> No, other than to submit a Github issue (or better yet, a pull request).
> SQLFORM.accepts does conv
Hi Anthony,
do you have an answer for the second problem? I want to get the number of
items in the list "auswahl":
form = SQLFORM.factory(
Field("auswahl", "list:string"),
)
- If there is only one item in "auswahl" then the type of
form.vars.auswahl is string and len(form.
Thank you very much. I have read the book very often, but I did not
remember this chapter.
2018-05-18 17:03 GMT+02:00 Anthony :
> On Wednesday, May 16, 2018 at 1:35:02 PM UTC-4, mweissen wrote:
>>
>> I understand that there is no DEFAULT VALIDATOR for 'list:string', but it
>> seems that is not po
ist:string` does not have a validator. Maybe you can create your own?
>
>
> On 16-05-2018 22:26, Martin Weissenboeck wrote:
>
>
> That is ok:
> form = SQLFORM.factory(
> Field("auswahl", "string", length=15, requires=IS_LENGTH(15,3)),
>
That is ok:
form = SQLFORM.factory(
Field("auswahl", "string", length=15, requires=IS_LENGTH(15,3)),
)
This does not work:
form = SQLFORM.factory(
Field("auswahl", "list:string", length=15,
requires=IS_LENGTH(15,3)),
)
nice idea - thank you!
2018-05-16 10:11 GMT+02:00 黄祥 :
> think you can use condition to check the request.args value then assign
> the represent on it, before defining SQLFORM.grid
> *e.g.*
> if 'view' in request.args:
> db.mytable.myfield.represent = function_to_represent
> grid = SQLFORM.gr
I am using* db.mytable.myfield.represent=function_to_represent* in the
grid.
After clicking the "view" button I want to see *myfield *in another
representation. Is it possible to change *db.mytable.myfield.represent*
only for the view?
Regards, Martin
--
Resources:
- http://
redis works great - thank for this hint!
Regards Martin
2018-05-04 15:11 GMT+02:00 Anthony :
> If your web server runs multiple workers in separate processes (e.g., the
> uwsgi setup here
> <https://github.com/web2py/web2py/blob/4ed36cfb1fe960d5c818c53562d920d407e991ae/scripts/
outes uses
cache.ram, but if it does: is it possible to change it to cache.disk?
Any ideas?
Regards, Martin
--
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
> <https://sx.infosms.org/admin/default/edit/gridtest/controllers/default.py>,
>> line 105, in
>> File "/home/www-data/web2py/gluon/globals.py", line 414, in
>> self._caller = lambda f: f()
>> File "/home/www-data/web2py/applications/grid
data/web2py/gluon/packages/dal/pydal/objects.py",
line 2582, in export_to_csv_file
field = fieldmap[col]
KeyError: '"tt"."ff"'
It seems that the export function does not find the virtual field.
Is there any workaround?
Martin
2018-04-15 8:43 GMT+02
grid
value = row[str(field)]
File "/home/www-data/web2py/gluon/packages/dal/pydal/objects.py",
line 84, in __getitem__
raise KeyError
KeyError
What is wrong?
Regards Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2
0 Marco Mansilla :
>>
>>> Take a look to this
>>>
>>> https://groups.google.com/forum/m/#!topic/web2py/qgmh5C0XXkY
>>>
>>> El 26 feb. 2018 03:36, "Martin Weissenboeck"
>>> escribió:
>>>
>>>>
mh5C0XXkY
>
> El 26 feb. 2018 03:36, "Martin Weissenboeck"
> escribió:
>
>> Sorry, it does not work.
>> The same results with or without "default"
>>
>> 2018-02-26 4:20 GMT+01:00 Marco Mansilla :
>>
>>> This
>>>
>
> You can do that on the view. But the change on the controller should do.
>
> El 25 feb. 2018 15:54, "Martin Weissenboeck"
> escribió:
>
> What I want to do:
>
> I store a pdf-file in a database table.
> Then I want to show this file.
>
> The model:
>
&
Cannot display embed
Cannot display iframe
The section show an error "Error on loading pdf".
The section shows an empty iframe and opens the Adobe Acrobat
Reader with the required pdf.
Any ideas?
Regards Martin
--
Resources:
- http://web2py.com
- http
Ok, I have found the anwser: it's the browser.
It has classified the code as "insecure".
embed:https://www.youtube.com/embed/x1w8hKTJ2Co
<http://www.youtube.com/embed/x1w8hKTJ2Co>
works as expected.
2018-02-24 15:58 GMT+01:00 Martin Weissenboeck :
> I want to em
.
iframe:http://www.youtube.com/embed/x1w8hKTJ2Co
creates an iframe without content.
iframe:https://www.youtube.com/watch?v=x1w8hKTJ2Co
does no do anything.
[[youTube embed:http://www.youtube.com/embed/x1w8hKTJ2Co]]
shows a link without any action.
Any ideas?
Regards Martin
--
Resources:
- http
Thank you for your additionals hints. This is the last version of my
program, it does not use vars.records and it is very simple.
def test1():
form = SQLFORM.grid(db.tt,
selectable=test2,
)
form.elements('table')[0].append(INPUT(_type='text', _name='f'))
return dict(for
Hi Anthony!
You have written:
Not sure what you mean. When I try it, I get the expected list of record
IDs in request.vars.records as well as the value of "f" in request.vars.f.
The list in *request.vars.records* is ultimately passed to the "selectable"
function, after which, the redirect happens
stion remains: how can I get the value from an
>>>> additional INPUT in a SQLFORM.grid?
>>>>
>>>>
>>>>
>>>> 2017-12-12 14:24 GMT+01:00 Anthony :
>>>>
>>>>> request.vars.f
>>>>>
>>>>>
&g
eissen wrote:
>>>>
>>>> I want to add *one and only one *INPUT field to a grid (not one field
>>>> per row, but one filed for the whole grid)
>>>>
>>>> For example:
>>>>
>>>> form = SQLFORM.grid()
>>>>
solution, but it works.
>>
>> My question is: how can I get the value of the input field f? form.vars.f
>> does not work of course.
>>
>> Regards, Martin
>>
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Document
ks.
My question is: how can I get the value of the input field f? form.vars.f
does not work of course.
Regards, Martin
--
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
+01:00 Dave S :
>>
>>>
>>>
>>> On Wednesday, November 22, 2017 at 9:25:31 AM UTC-8, mweissen wrote:
>>> aaa
>>>
>>>> Two questions:
>>>>
>>>> (1) Under some conditions (email send not successfully) I want to
&g
>
>
>> (2) Let's say scheduler_task.retry_failed is 5 and we are in the second
>> repetition. How can I get these number = 2? Is there any property of
>> scheduler like scheduler.number_of_try?
>>
>> Regards, Martin
>>
>>
> select retry_failed, t
there any property of
scheduler like scheduler.number_of_try?
Regards, Martin
--
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 be
Is there anything new in 2.15.4, which is responsible for this message? I
think that nothing else has changed.
Version: 2.15.4-stable+timestamp.2017.09.02.04.02.22
(läuft auf nginx/1.10.0, Python 2.7.12)
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
en in version
>> 2.14.x), but web2py 2.15.4 delivers a "str".
>>
>> def dttest2():
>> form = SQLFORM.factory(Field('startzeit', 'datetime'))
>> if form.process().accepted:
>> return \
>> str(isinstance(f
27;datetime'))
if form.process().accepted:
return \
str(isinstance(form.vars.startzeit,datetime.datetime))
return dict(form=form)
The result is "False"
Regards Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/we
I have found a solution
BUTTON('Testext', _onclick="ajax('%s',[],'')" % URL("testfunction")
2017-09-10 17:47 GMT+02:00 Martin Weissenboeck :
> I have tried the callback parameter of A:
>
> A('Testext', callback('t
re it should look
like
BUTTON('Testtext', _onclick="jQuery()")
Any hints how to do it?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
rset='utf-8', errors='strict')
Variables
global text_type
obj
Context
locals Anfrage Sitzung Antwort
In file: /home/www-data/web2py/applications/secure/controllers/default.py
1.
at 0x7f7f26d774b0, file
"/home/www-data/web2py/applications/secure/controllers/default.
s/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options,
Ok, thanks.
Am 02.09.2017 06:22 schrieb "Massimo DiPierro" :
> also we can assume git is already installed so it is a matter of calling
> subprocess. I would take a patch to simplify the code. :-)
>
> On Sep 1, 2017, at 11:21 PM, Martin Weissenboeck
> wrote:
>
> I
;> mercurial is installed, hg --version shows 2.8.2
>>>
>>> And a click on versioning gives "Sorry, could not find mercurial
>>> installed"
>>>
>>> What is wrong - any ideas?
>>> Regards, Martin
>>>
>>>
--
Resou
Thank you for your fast response.
I think if "versioning" does not work in web2py the button and the chapter
from the book should be removed. It is frustrating to try something, which
does not work. I always think that I have made a mistake.
Regards Martin
2017-08-30 22:32 GMT+02
n)
Error snapshot [image: help]
<https://noez.infosms.org/admin/default/ticket/admin/62.46.34.69.2017-08-30.18-52-32.0686f969-19c0-4400-9e6c-2f79cec2c962#>
(addremove() takes at least 3 arguments (1
given))
2017-08-30 13:20 GMT+02:00 Martin Weissenboeck :
> I want to try the admin
104, in
>> custom_importer
>> raise ImportError(e1, import_tb) # there an import error in the module
>> ImportError: (ImportError('No module named storage',), > 0x7ff6cdbc4638>)
>>
>> Error snapshot [image: help]
>> <https://sx.infosms.org/
I want to try the admin versioning.
mercurial is installed, hg --version shows 2.8.2
And a click on versioning gives "Sorry, could not find mercurial installed"
What is wrong - any ideas?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentati
43-02.ab8b4dda-a3dc-4958-9d64-dc0fc1c973af#>
((ImportError('No module named storage',),
))
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
Try
https://mdipierro.pythonanywhere.com/examples/static/web2py_win.zip
Regards Martuin
2017-08-15 10:21 GMT+02:00 Halili Celik :
> When I downloaded above link for windows, the web2py version is still '
> 2.15.2-stable+timestamp.2017.07.19.12.18.41'.
>
> --
> Resources:
> - http://web2py.com
>
> Richard
>>
>> On Tue, Aug 15, 2017 at 10:52 AM, Martin Weissenboeck > > wrote:
>>
>>> Thank you - should be mentioned in the book.
>>>
>>> 2017-08-15 16:44 GMT+02:00 Richard Vézina :
>>>
>>>> Always the same issue... I wo
;
> Watch out the last command will override the layout.html...
>
>
> This listing above is a copy/paste from one of my older post, so it may
> not be 100% accurate
>
> Richard
>
>
> On Tue, Aug 15, 2017 at 4:09 AM, Martin Weissenboeck
> wrote:
>
>> I have
iteritems(cache.ram.storage):
I suppose that without a restart web2py does not find gluon._compat
Regards, Martin
--
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 Is
ill get the expected result.
And there is another problem in this new markmin2html.py:
markmin2html needs now gluon and therefore it is not longer a standalone
program.
And: all links in the lines 228 ... 230 do not work. There should be the
actual links.
Regards, Martin
--
Resources:
- http://
e change that cause the issue you found and try to fix it...
>
> Richard
>
> On Mon, Jul 3, 2017 at 2:11 PM, Martin Weissenboeck
> wrote:
>
>> I have found an old thread about the same problem
>> https://mail.google.com/mail/u/0/#search/markmin+blockquote/
>> 14
I have found an old thread about the same problem
https://mail.google.com/mail/u/0/#search/markmin+blockquote/14a8c05a08025b93
It seems that there are a lot of different versions of markmin2html.py in
the web.
I have opened issue #1671.
It contains a proposal for a solution.
Regards, Martin
the blockquote are only joined, without any other
interpretation. Maybe some code is missing?
2017-06-29 5:44 GMT+03:00 Martin Weissenboeck :
> I have run the markmin2html.py file. The results of blockquotes are not as
> expected, e.g.:
>
> This is a blockquote with a list with ta
exaples.
What is wrong?
Regards, Martin
--
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
, but without *bold* and *italic* letters.
How can I get the expected result?
Regards, Martin
--
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 re
Is there any Schedular Calendar as a plugin for web2py or with the same
licence as web2py?
Regards, Martin
2017-02-13 15:43 GMT+01:00 Richard Vézina :
> Why don't you approach the problem the other way?! If you know how to
> create a form in web2py, you know how to enter a record
I'm pretty sure I tried that as well without success...
However, the problem is solved now. Something was wrong with the databases
files (or I was missing something) and also I had comiled files that was
recreating this field whenever I tried to remove it. My solution was
perhaps not so pretty
ould remove it from the files in the databases
>> folder. Then turn on migration and add the column back. There is a file,
>> sql.log, in the databases folder that should show you all the sql
>> statements that were run for you by the migration.
>>
>> Hope that
Still having this issue! Do the migration not work for mysql databases? I never
had this problem with sqlite, but for various reasons I cannot use an sqlite
database.
I have now also tried manually adding the field by altering the table in the
database and can then start the app. However, when
Hi,
I have an app in production to which I am trying to add a new column to an
existing table. I have done this kind of thing before but now I am getting
(1054, u"Unknown column 'product.category_tags' in 'field list'")
(category_tags being the new column name)
I have tried combinations of migr
Try in the module:
from gluon import current
T = current.T
Regards, Martin
2017-01-25 9:51 GMT+01:00 icodk :
> I have a controller that imports a module
> In the controller I can use T('some text'). However trying to use it in a
> function in an imported module gives:
any result the
next step should be to look for '|x|y|' and so on.
It works as expected.
My question: is this solution efficient?
Is there any better solution?
Regards, Martin
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py
return locals()
Testqueries
queries :
True
w :
mytable.idmytable.myvalue
1 abc
2 bcd
3 def
Regards, Martin
2016-11-25 13:32 GMT+01:00 Jurgis Pralgauskis
:
>
> How are you making your query map reduce?
>>
&
rated code.
Martin de Groot
--
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
&q
es.
>>
>> b): I need no sessions, I want the least possible overhead. What would be
>> the best method?
>>
>> By the a way - a similar problem:
>> I want to use the SMTP package of Python to receive and analyze emails. I
>> have put the program into the s
yze emails. I
have put the program into the static directory. Are there any disadvantages
?
Regards, Martin
--
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
Yes - that's it. Now I can add tasks from a module.
Thank you again very much!
Martin
2016-11-02 22:31 GMT+01:00 Niphlod :
> tl;dr : it just gets automatically filled with
> "request.application/request.controller" in a web environment that it is
> missing in your
1 - 100 of 722 matches
Mail list logo