1. offline
  2. django-flashcookie

Commits

Alexander Solovyov  committed fd860e8

remove trailing whitespaces

  • Participants
  • Parent commits 154099f
  • Branches default

Comments (0)

Files changed (1)

File flashcookie/middleware.py

View file
  • Ignore whitespace
 from django.utils import simplejson
 
 class Flash(dict):
- 
+
     def __setitem__(self, key, msg):
         self.setdefault(key, []).append(msg)
- 
+
 
 class FlashMiddleware(object):
 
         Create empty request.flash attribute for later items assigments in views
         """
         request.flash = Flash()
- 
+
     def process_response(self, request, response):
         """
         if request.flash have data, put it to cookies,