Hi Guys,
Couple of things.
1: I added a print('Dependancies %s ' % reloader.get_dependencies(module))
just before the output to console in web3py/core.py.
Here is the output (not formatted):-
Dashboard is at: http://127.0.0.1:8000/_dashboard
[ ] loading examples ...
Dependancies None
[A[OK]
Just an update to the below.
It seems that the from . import 'whatever' is where the issue is with the
reloader as if I do for example import os or import datetime in the
__init__.py they both show up in the list of dependencies. Anything with a
from . import 'whatever' just lists the apps/my
tested latest commit (115) about recent tickets
- recent tickets can be deleted but when refresh the
browser, http://localhost:8000/_dashboard it will appears again
- recent tickets can be edited, not sure why the ticket can be edited ?
- when click create, it show forms, but can't be saved, not s
after hit 'reload' affect the '_dashboard', when do crud for 'recent
tickets' (before hit 'reload', no error occured on terminal)
[OK] reloaded _dashboard
[OK] reloaded _scaffold
[OK] reloaded examples
[OK] reloaded myapp
[OK] reloaded superheroes
[OK] reloaded todo
E
Hi Vlad,
I think I have come across this issue as well some time ago. Can you try
IS_NOT_EMPY() OR IS_IN_DB(id ...)
This should hopefully bring back your drop down list.
BR
John
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
Hi Massimo,
I saw that announcement shortly after submitting the question. I've
downloaded the developer source (/static/nightly, with VERSION contents
"Version 2.18.5-stable+timestamp.2019.04.08.04.22.03") and neither dbapi.py
(nor it's recent rebranding as restapi.py) is in that zip. Is it re
Sorry, being dim. The web2py repo links out to pydal, so I can just clone
web2py/web2py.
Cheers,
David
--
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)
---
Y
Hello,
has anyone written a scaffolder ideally web based, where a non technical
user can define tables and fields including relations
and the new app getes generated and put into the applications folder or by
creating a new controller with SQLFORM.smartgrid on the
tables defined by the user?
ok you are right. reloader it broken. Please try the latest version I
posted. I dicthed reloader but we may have some side effects.
On Sunday, 19 May 2019 02:38:07 UTC-7, John Bannister wrote:
>
> Hi Guys,
>
> Couple of things.
>
> 1: I added a print('Dependancies %s ' % reloader.get_dependencie
right we should not be able to edit those. Will fix.
On Sunday, 19 May 2019 03:49:22 UTC-7, 黄祥 wrote:
>
> tested latest commit (115) about recent tickets
> - recent tickets can be deleted but when refresh the browser,
> http://localhost:8000/_dashboard it will appears again
> - recent tickets can
db.commit() is missing. fixing it later today.
On Sunday, 19 May 2019 03:56:19 UTC-7, 黄祥 wrote:
>
> after hit 'reload' affect the '_dashboard', when do crud for 'recent
> tickets' (before hit 'reload', no error occured on terminal)
> [OK] reloaded _dashboard
> [OK] reloaded _scaffold
>
Thanks for your feedback Jim.
Since there are known problems with python-redis3 i force python-redis2
(2.10.6)
I tried your suggestion but it fails
if 'unique_key' in self and rtn['unique_key'] == self.unique_key:
TypeError: argument of type 'MockQuery' is not iterable
Did anyone succeed in run
in latest commit (116)
for reload fixed:
- edit, add and delete function on controllers take effects after hit
reload button
- route for is refreshed after hit reload button (last reported
dissapear in some webapp)
btw, the button said 'Reaload Apps' is it intention or correct one is
'Reload
The default validator for a reference field is IS_EMPTY_OR(IS_IN_DB(...)).
When SQLFORM encounters a field without an explicit "widget" specified but
with an IS_IN_SET or IS_IN_DB validator, it automatically generates a
select widget with options derived from the validator.
In your case, you ha
got it, that makes sense -
Thank you very much!
On Sunday, May 19, 2019 at 10:16:58 PM UTC-4, Anthony wrote:
>
> The default validator for a reference field is IS_EMPTY_OR(IS_IN_DB(...)).
> When SQLFORM encounters a field without an explicit "widget" specified but
> with an IS_IN_SET or IS_IN_
Got it working -
Thank you!
On Sunday, May 19, 2019 at 7:16:40 AM UTC-4, John Bannister wrote:
>
> Hi Vlad,
>
> I think I have come across this issue as well some time ago. Can you try
> IS_NOT_EMPY() OR IS_IN_DB(id ...)
>
> This should hopefully bring back your drop down list.
>
> BR
> Joh
how would I redirect to a plain static web page that displays "This Web2py
app is temporarily down while we install updates"? Could I redirect to
another site? Is there code to sense when site is broken then automatically
redirects users?
I use pythonanywhere.com, redirect through a SSL service
17 matches
Mail list logo