miguelgrinberg/microblog

Member redis is unknown

Edmartt opened this issue · 2 comments

Hi, Miguel, I hope you are having good time.

I'm stuck with this line, I can't understand how can you call this attribute from (according to me) nowhere:

https://github.com/miguelgrinberg/microblog/blob/3472187155ba60d36aa819cf4e6dbfeefeadf2fa/app/__init__.py#L41C12-L41C12

Can you please explain to me how is it possible? Thanks in advance

That is an assignment, not a reference to an attribute. The attribute is created right there.

That is an assignment, not a reference to an attribute. The attribute is created right there.

You're right, thank you.