log gpp/forums/views.py @ 106:cb72577785df

age author description
Sat, 19 Sep 2009 21:49:56 +0000 Brian Neal Forums: implemented the edit post function.
Thu, 17 Sep 2009 01:44:51 +0000 Brian Neal Forums: display of sticky status. Moderators/superusers see IP address of post. Added a can_reply flag to the template and have view compute it.
Wed, 16 Sep 2009 02:01:57 +0000 Brian Neal Forums: new topic form sprouts boolean fields for sticky and locking if the user has rights. Implemented the locked logic. Fixed a bug where topics where getting out of order (the view_count was bumping the update_date because of auto_now).
Wed, 16 Sep 2009 00:39:27 +0000 Brian Neal Forums: use select_related() with get_object_or_404() to reduce queries.
Tue, 15 Sep 2009 03:15:20 +0000 Brian Neal Forums: groups support. Some experimentation with select_related() to reduce queries. There are more opportunities for this, see the TODO comments in views.py.
Mon, 14 Sep 2009 00:06:08 +0000 Brian Neal Forums: added error handling to the flagging of posts. Did the same with the comments function too.
Sun, 13 Sep 2009 21:45:35 +0000 Brian Neal Forums: flag posts.
Sun, 13 Sep 2009 19:58:31 +0000 Brian Neal Render the forum page navigation in the view with render_to_string() to avoid doing it twice in the template code. Also undo a mistake in the last commit. Need 2 different orderings for Post objects: by creation date in normal views, and by reverse creation date in the admin.