Looks like the lines in your code, from # forms onwards need to be
outdented (so the "class" statements are at matching levels).
On Monday, 11 July 2016 08:34:44 UTC+2, Ikram Ulhaq wrote:
>
> hi everyone!
> i am new in django web development.i want to insert data into my database
> using followi
hi everyone!
i am new in django web development.i want to insert data into my database
using following code but i got error like this.
model = Incident
NameError: name 'Incident' is not defined
please help.
my code is below
class Incident(models.Model):
subject = models.CharField(max_l
2 matches
Mail list logo