Hello Cassio,
the Field constructor takes a name and a type. The type can be
"list:reference malzemeler" (assuming you have a table malzemler). Also if
you want the value to display something other than the id of a referenced
record, you have to specify a record format for the referenced
I started both projects so I have an opinion on this topic. :-)
Use py4web.
web2py started in 2007 and it is now 14 years old. We learned a lot from it
and py4web was thought of a successor.
py4web and web2py share:
- the same DAL
- the same validators
- the same template language (but a
I am biased, but do yourself a favor and write it with py4web.
The execution isn't just a little bit faster, it is orders of magnitude
faster.
Check out the SouthBreeze sample app I wrote using py4web, bulma and htmx.
https://southbreeze.pythonbench.com
Documentation for web2py is better,
Have you tried adding a db.commit() to your delete_after_hours() function?
-Jim
On Tuesday, October 5, 2021 at 8:49:44 AM UTC-5 Andrew wrote:
> Hello, I am trying to run a database query using the web2py scheduler, but
> for some reason I can't get the query to commit. I've tested the
hi can you send me working code, i am fiddling with similar issue,
On Friday, September 24, 2021 at 10:51:09 AM UTC+5:30 muratkas...@gmail.com
wrote:
> Hi Dragan,
> I used this when upgrading. Maybe it helps you:
> try:
> # For Python 3.0 and later
> from urllib.request import urlopen
>
Today I've discovered that web2py has a child called py4web. Now I'm
confused about when to choose any one of these.
Documentation says py4web is faster than web2py, but it seemed to me py4web
is also more difficult to work with (although I can see that's for a
justifiable reason).
So, does
send code to analyze bro
On Friday, September 24, 2021 at 2:48:44 PM UTC+5:30 Ramos wrote:
> Why update_or_insert on an existing record returns None ??
> If the record does not exist it returns the created record id but if
> updating an existing record i get None.
>
> Regards
> António
>
--
Scot et.al.;
I believe I am having the same strange problem. I am using web2py
version 2.21.1 with python 2.7.5
I found that particular line of code tyou mentioned in
web2py/gluon/tools.py about line: 3468
"if not self.settings.email_case_sensitive:
Hello, I am trying to run a database query using the web2py scheduler, but
for some reason I can't get the query to commit. I've tested the function
in a controller to see that it works, and I'm pretty sure the scheduler is
running correctly because I have a scheduler_worker with the status of
I also agree that py4web would give much better performance.
Web2py is easy so i dont think your friend will face much problem
converting the application to web2py.
I have converted an app I wrote in flask to web2py and was able to do so.
The actual conversion i.e. database, html, css was a
hi can you send me working code i am tired to set my codes straight
On Friday, September 24, 2021 at 10:51:09 AM UTC+5:30 muratkas...@gmail.com
wrote:
> Hi Dragan,
> I used this when upgrading. Maybe it helps you:
> try:
> # For Python 3.0 and later
> from urllib.request import
11 matches
Mail list logo