oh no, trying that ruined everything, now none of them work. I tried
again, and now "votes' works but "results" doesn't.. Again, is there
anyone who knows this code?
On Friday, October 23, 2020 at 2:38:15 PM UTC-7 rbar...@xcaretresearch.com
wrote:
> Someone suggest that I add "detail" to the
Someone suggest that I add "detail" to the urls.py code at
path('/", view detail, name="detail"
But that ruins everything.
On Friday, October 23, 2020 at 2:32:19 PM UTC-7 rbar...@xcaretresearch.com
wrote:
> My guess is that the index url is supposed to return "detail," but, then,
> why even ha
My guess is that the index url is supposed to return "detail," but, then,
why even have that "detail" function in the code? I think I have been
spending too long on this and need to move. I would appreciate it if
anybody would explain this to me. Adding "detail" to the functions just to
prov
Oh my. I figured it out partially. I was not entering the url correctly
in address bar. So, now, "results" and "votes" works but "detail" doesn't.
However, "detail" returns when I just enter the basic index url for a
given question_id, it just doesn't work for "detail". Is it supposed to b
Now I am in the situation where "votes" works but "detail" and "results"
does not work. So weird.. Well, I just checked "votes" to make sure it
works and it doesn't. "index works and takes me to "detail" which,
according to the tutorial, is what it supposed to do. Does anybody know
this code
Hi,
Stackoverflow link for all the details: https://stackoverflow.com/
questions/64485888/add-custom-attributes-to-django-models-through-mixins
Tl;dr - dynamically setting method attributes on models through mixin
classes doesn't work as expected. Appreciate any help.
--
You received this mess
6 matches
Mail list logo