You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
annypanny edited this page Nov 1, 2016
·
1 revision
#Author:
*user object of type Django.contrib.auth.User (Common django authentication)
*github url to github page
*avatar image
*date_created current creation date, not changable
*friends ManyToManyField relating all the authors that are friends
*friend_requests ManyToManyField relating Who sent the invite and who need to answer
#Post:
*published_date current creation date, not changable
*author object of type Author
*text textField
*public BooleanFIeld
#Comment:
*author object of type Author
*post object of type Post
*text textfield
*published_date current creation date, not changable
#Request:
*whosend object of type Author
*whoanswer object of type Author. This one needs to say if wants to become friend or not