I am facing issues in sharing module.

22 views
Skip to first unread message

Akshat Zala

unread,
May 17, 2020, 8:34:47 AM5/17/20
to Django users
I wish to share the post with friends in django application.

My project flow chart is as follows:


1. User registers for an account.
2. User will recieve the email confirmation
3. By clicking on the link in email , he gets redirected to login page, where he can login and he will see account successfully activated.

4. He/She can create /update/delete  the post.
5. He can view his profile,and update the profile.

6. He can search for friends through search bar by either of their first name, last name, username and email address.
7. Results will be seen in tabular format.
8. By clicking on the hyperlink in add friend column a mail will be sent to the friend_request with a hyperlink containing a template with accept/reject buttons.
9. By clicking on either of the buttons, status of friend_request will be updated accordingly  in the database as well as in the friend list template.

Pending job is to Share the post with friend.

10. Now it is showing all the post to every registered user.

   
Regards,

Akshat Zala

Akshat Zala

unread,
May 18, 2020, 10:42:14 AM5/18/20
to Django users
I am facing issue in quering the database.

I cannot write join query in django orm.

Akshat Zala

unread,
May 19, 2020, 11:57:19 PM5/19/20
to Django users
I have Posts and Friends model in blog and friend apps respectively.

In friend model: I have fromuser, touser, and status as fields.
In Posts model, I have title, content, author_id anddatecreated and modified date.
Reply all
Reply to author
Forward
0 new messages