[Answer]-Django slugfield database error

1👍

Did you check your database? You need to create slug field by running SQL query. To have an idea how your tables should look like run

python manage.py sql userside

From what I see in your question you should run following query in dbshell (this is for MySQL database)

ALTER TABLE userside_post ADD slug VARCHAR(255) NOT NULL UNIQUE;

Also I would suggest you to use south for database migrations.

Leave a comment