Thank you sir

On Monday, August 13, 2018 at 7:09:26 PM UTC+5:30, Julio Biason wrote:
>
> Hey Ruban,
>
> I'd suggest taking a look at the second part of the Django Tutorial: 
> https://docs.djangoproject.com/en/2.1/intro/tutorial02/
>
> It explains how models work and how they interact with the database -- 
> which is basically what you're trying to do.
>
> On Mon, Aug 13, 2018 at 9:57 AM, ruban bharath <[email protected] 
> <javascript:>> wrote:
>
>> Thank you sir,
>>  The datatype of the name is text and i am new to django sir so i dint 
>> have clear knowledge  about it that's my problem sir 
>> and now what should i do to overcome this issue sir
>>
>>
>> On Monday, August 13, 2018 at 6:17:12 PM UTC+5:30, Julio Biason wrote:
>>>
>>> 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  |  Mobile: +55 51 *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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/a6950b99-c31a-494e-b24e-affe4e78a299%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/a6950b99-c31a-494e-b24e-affe4e78a299%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  |  Mobile: +55 51 *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/224ade4f-19f1-4b5e-b4e5-345a10cd5713%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to