Skip to content
cyruslab

cyruslab

Try Harder!

Tag: UserMixin

[python]Flask-login Usermixin raised exception: ‘No `id` attribute – override `get_id`’

I was doing my User model by inheriting UserMixin from flask-login, an exception was raised: This is because I implemented my own "userid" by replacing the default "id" attribute in UserMixin, so for id columns just use the default "id" and not implement any attribute according to your wish if you want to use UserMixin … Continue reading [python]Flask-login Usermixin raised exception: ‘No `id` attribute – override `get_id`’ →

cyruslab Python, Scripting Leave a comment September 20, 2019September 20, 2019 1 Minute
Follow cyruslab on WordPress.com

Categories

Archives

Recent Posts

  • Deserialization of flask app and memcached April 8, 2021
  • Pentest report on Helpdesk March 27, 2021
  • Pentest report on Nickel March 26, 2021
  • Pentest report on livda March 25, 2021
  • hackthebox – Shocker December 9, 2020
  • Simple terminal in python December 8, 2020
  • linux – Grab the ipv4 address from interface December 8, 2020
  • service ports discover with nmap December 7, 2020
  • hackthebox – Bank December 4, 2020
  • hackthebox – Buff December 3, 2020
Create a free website or blog at WordPress.com.
Cancel

 
Loading Comments...
Comment
    ×
    Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
    To find out more, including how to control cookies, see here: Cookie Policy