Save form data

I don’t know why the .save( ) method doesn’t work.

  1.  "if form.is_valid():
  2.         instance =
  3.         instance.url = slugify(instance.title)[:50]

On the fourth line here… The save method doesn’t work

Do not post images or pictures of code here. Copy/paste the code into the body of your post, surrounded between lines of three backtick - ` characters. This means you’ll have a line of ```, then the code, then another line of ```.

You’ll need to be a lot more specific here, and probably will need to post the complete view.

What do you mean by “doesn’t work”?

What error messages are you receiving on your server console? What’s being returned to the browser after the data has been submitted? What behavior are you observing?