fork download
  1. class Book(models.Model):
  2. title = models.CharField()
  3. descr = models.TextField(null=True)
  4. author = models.CharField()
Runtime error #stdin #stdout #stderr 0.1s 10088KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
NameError: name 'models' is not defined