I am following a tutorial, and the .save function in the python shell is not working (it was working fine a couple of hours ago!)
Here is /myproject/articles/models.py:
from django.db import models
class Article(models.Model):
title = models.CharField(max_length=100)
slug = models.SlugField()
body = models.TextField()
date = models.DateTimeField(auto_now_add=True)
Another hint: the output from Python tells you here that nothing happened. When you wrote .save, the output came back: <bound method ...>. This is Python’s representation of what .save is. If you call .save(), it returns None, so you won’t see any output before the next prompt, like: