Re: how to submit data in django's database

2012-04-12 Thread Mario Gudelj
Have you tried this?: c = Company() c.Subject = T c.save() On 12 April 2012 02:54, Sophia wrote: > Hi all, > > I have a question about how to enter data in django's database. I have the > following Template, in which ' E ' is a variable that get the string: > > > > This is my models.py in wh

how to submit data in django's database

2012-04-11 Thread Sophia
Hi all, I have a question about how to enter data in django's database. I have the following Template, in which ' E ' is a variable that get the string: This is my models.py in which I have a class named 'Company' and I want this variable 'E' be saved in 'Subject' : class Company(models.Mode