Handling PostgreSQL Integrity Errors in Django

I have some basic Django code that attempts to insert a new record into a PostgreSQL database. It’s wrapped in a try/except statement in case a unique constraint is violated, in which case I’ll typically ignore it and move on.
So the general pattern is:

from django.db import IntegrityError
import models
try:
myNewRecord = models.MyTable(data=blah)
[...]

How to Extract a Webpage’s Main Article Content

The Idea
I had an idea to make a personalized news feed reader. Basically, I’d register a bunch of feeds with the application, and rate a few stories as either “good” or “bad”. The application would then use my ratings and the article text to generate a statistical model, apply that model to future articles, and [...]