That error just means you didn't add that field to the database and it can't find it. Verify the user_id field is on that table.
On Jul 13, 2:40 pm, Petey <efri...@gmail.com> wrote: > Hi! > > I've made a model in news application:http://pastebin.com/49VkFT14 > > I want it to save user who created a message, however I get this message: > OperationalError at /admin/news/news/add/(1054, "Unknown column 'user_id' in > 'field list'") -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.