Switch to using a DateTimeField
Store the POSTed data in the database
Fetch all news from database, order it and display it in a table
Missing div added. Comments for clarification
Add a CategoryForm
Methods to query the Category model added. Route to display, and update the categories added as well
Display the categories in a select field when writing a new news article. Add the category relation to the Post model. Display the category of each post on the news page
If 'Almenn frétt' category doesn't exist when a user is created, create it
Add a route to edit a Post model. Add a get_by_id class method to the Post model and use request.path instead of url_for to get the current path
Add a route to delete a post
Update the news template with a edit and trash glyphicons to edit and delete posts respectively. Also added a modal which pops up when the delete glyphicon is pressed to confirm the deletion of a post and the respective jQuery code to complement the modal.