awad u told me before not to review lsa !!
do u want to be reviewed 5alas ??


On Sun, Apr 28, 2013 at 11:22 PM, BeshoSmile <notifications@github.com>wrote:

> In project/tager/tager_www/views.py:
>
> > @@ -988,3 +990,28 @@ def intrested(request):
> >
> >      return HttpResponse()
> >
> > +#c2-mohamed awad
> > +#this def returns unread notifications to base.html
> > +def unread_notifications(request):
> > +    user_in = request.user
> > +    all_unread_notifications = Notification.objects.filter(
> user = user_in, read = False)
> > +    print all_unread_notifications
> > +    if all_unread_notifications:
> > +        print "after if"
> > +        for notification in all_unread_notifications:
> > +            print "after for"
> > +            notification.read = True
> > +            notification.save()
> > +            print "saved notification"
>
> delete unneeded prints
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/DinaSaad/sharesoft-13/pull/207/files#r3992451>
> .
>