~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to notification/context_processors.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
from notification.models import Notice
2
2
 
 
3
 
3
4
def notification(request):
4
5
    if request.user.is_authenticated():
5
6
        return {