Notification system using django channels

2019-07-01 Thread mintu
hello guys, i want to know if is there any way where we can add notifications to our app using channels when ever a user clicks on a like button the post author should kind of get a message saying so and so person liked your post i can completely understand how channels work and all but i canno

ValueError at /api/list/ invalid literal for int() with base 10: '35/like'

2018-08-09 Thread mounikesh mintu
hey guys when i tried to like a post in drf i have got in to an error models.py class status(models.Model): user=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE, null=False) # user=models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE) content=mod

Re: error in coding

2018-07-25 Thread mounikesh mintu
post your urls patterns On Wed, Jul 25, 2018 at 5:40 PM, Rohit Sharma wrote: > I am very new to Django. I have started a project and created my first app > but whenever i start editing the app i always get this error. i have > attached the screenshot of the error. > please help me out in a simpl

Django groups and specialpermissions

2017-12-07 Thread mounikesh mintu
Can any one guide me in this is there any way to create django groups where there should be a group admin who can control the activity of the group and cand add members and themembers can share any kind of photos within the group and the other members outside the group cant view/access the photo