An email newsletter application for the Django web application framework, including an extended admin interface, web (un)subscription, dynamic e-mail templates, an archive and HTML email support.
After following the installation steps through to getting logged in, creating a user, creating a newsletter, then trying to add a message, I got an error that Message needs a primary key value before it can be used. I am using SQLite.
and makemigrations, migrate, and checked the database. Deleted the newsletter, and subscription and user. Then recreated a user, newsletter and subscription, still gives same primary key value error on the message add. I added id = models.BIgAutoField(primarykey=True, default=(milliseconds since epoch)) now working, for one or two messages but I know this is not a solution.
After following the installation steps through to getting logged in, creating a user, creating a newsletter, then trying to add a message, I got an error that Message needs a primary key value before it can be used. I am using SQLite.
I Changed settings to add
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
and makemigrations, migrate, and checked the database. Deleted the newsletter, and subscription and user. Then recreated a user, newsletter and subscription, still gives same primary key value error on the message add. I added id = models.BIgAutoField(primarykey=True, default=(milliseconds since epoch)) now working, for one or two messages but I know this is not a solution.