I'm new to Web2Py, so I am creating a (what I thought was a) simple app
that tracks progress of a workout routine. I have a database (db.workouts)
that has information such as Workout Name, Rating, Completed, etc. I have 2
fields(rating, completed) I would like to update via a form. I have
in the form Field(...,
readable=False, writable=False)
On Saturday, 9 August 2014 20:01:51 UTC-5, Drew Howell wrote:
I'm new to Web2Py, so I am creating a (what I thought was a) simple app
that tracks progress of a workout routine. I have a database (db.workouts)
that has information
August 2014 11:11:05 UTC-5, Drew Howell wrote:
I made the changes and switched to using {{=form}}, but It's still
creating a new record. I just realized I didn't post a part of the view
that might be causing the issue. I have multiple forms on a single page.
...
{{=for row in rows
. If this is the case there
should not be problems. Can you confirm?
Massimo
On Sunday, 10 August 2014 12:58:06 UTC-5, Drew Howell wrote:
The purpose of the app/page is to track progress of a workout routine. It
is a 5 week / 35 day schedule. I have all the static information stored
in the table (Day
the value of r in your code. Perhaps do a {{=r}} and see if
there record you are trying to edit is there.
On Sunday, 10 August 2014 15:57:02 UTC-5, Drew Howell wrote:
It's still creating a new record rather than updating. So I've still got
something wrong. I need to look over the code
I seem to be having issues getting defaultdict to work within Web2Py. I am
using Web2Py version 2.16.1 (Python 2.7.11).
Here is the code in my controller:
from collections import defaultdict
g = defaultdict(list)
g['someKey'].append('someValue')
Here is the error I'm getting:
File
I am running from source, but still seem to have the issue.
On Monday, March 12, 2018 at 1:55:51 AM UTC-4, Val K wrote:
>
> Hi!
> If you're Windows user it's requires to run web2py from source (not
> web2py.exe) to get modules that are installed on your machine
I was doing some testing and
I think I've narrowed it down to having an error somewhere in my 'students'
controller.
1. If I remove all other functions within that controller, it works.
2. If I create a new controller and only have that function, it works.
3. If I put the same exact code in another existing
After taking a break and working on another section, I finally found what
was causing the issue. There was, indeed, an error elsewhere within that
controller, which was causing me all the headache. I appreciate your guys'
help! Thanks.
On Sunday, March 11, 2018 at 11:14:27 PM UTC-4, Drew
9 matches
Mail list logo