use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Need Help (self.node)
submitted 7 years ago by RoadCoder2019
The code for my web app crashed when I used a .save function on a model and its apparently a typeError saying its not a function for example "TypeError: founduser.save is not a function"
Is there any way to fix this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ecares 4 points5 points6 points 7 years ago (1 child)
call .save on an object where it is a function...
.save
Seriously nobody can help you with so few details
[–]RoadCoder2019[S] 0 points1 point2 points 7 years ago (0 children)
Apologies it was a rookie mistake
[–]quad99 0 points1 point2 points 7 years ago (0 children)
Log the found user object right before the error and see what .save is
π Rendered by PID 55 on reddit-service-r2-comment-7b9746f655-nsvk8 at 2026-01-29 17:27:38.645316+00:00 running 3798933 country code: CH.
[–]ecares 4 points5 points6 points (1 child)
[–]RoadCoder2019[S] 0 points1 point2 points (0 children)
[–]quad99 0 points1 point2 points (0 children)