Issue Details (XML | Word | Printable)

Key: FLM-276
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Adam Zieliński
Reporter: Borys Musielak
Votes: 0
Watchers: 0
Operations

Clone this issue
Create sub-task
If you were logged in you would be able to see more operations.
Filmaster

Use Object.status instead of BlogPost.post_status

Created: 22/Jan/10 11:34 PM   Updated: 07/Feb/10 07:03 PM
Component/s: Walls and activities
Affects Version/s: 1.0.1
Fix Version/s: 1.0.1

Time Tracking:
Not Specified


 Description  « Hide
Use core.Object.status instead of blog.Post.post_status:
1. Change the blog.Post model to use status field from the parent Object model instead of its own blog_status
2. Change Object's status field to accept 3 values: PUBLISHED, DRAFT, DELETED
3. Migrate post_stauses to the related object (SQL script, michuk will do it)
4. Remove the blog.Post.post_status field


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order

Adam Zieliński added a comment - 25/Jan/10 04:46 PM

Borys Musielak added a comment - 25/Jan/10 04:58 PM
In film20/forum/views.py you still use status=1, 0 - this should be changed to PUBLIC_STATUS, DELETED_STATUS