Hi Ruban,

Well, what's the type of `name`? That's what the error is saying: You're
passing a type that SQLite doesn't understand properly.

Also, why are you not using models to do that for you?

On Mon, Aug 13, 2018 at 9:42 AM, ruban bharath <[email protected]>
wrote:

> how to resolve from this error  *Error binding parameter 0 - probably
> unsupported type*
>
>
> db = sqlite3.connect('db.sqlite3')
> cursor = db.cursor()
> cursor.execute('insert into music_final(username,meaning) values(?,?)', 
> (name, meaning))
> db.commit()
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/5bb72467-21c0-426e-9699-1c654d4511b4%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/5bb72467-21c0-426e-9699-1c654d4511b4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Julio Biason*, Sofware Engineer
*AZION*  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101 <callto:+555130838101>  |  Mobile: +55 51
<callto:+5551996209291>*99907 0554*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEM7gE0H%3DCWBjcf_v9OdK6G5GoGhc3cuoVXKr5Mv9LAQwrqrbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to