1. ken cochrane
  2. django-mobi

Commits

Ken Cochrane  committed 51cf1cb

fixed mistake in readme example

  • Participants
  • Parent commits 976c7e4
  • Branches default

Comments (0)

Files changed (1)

File README

View file
 
 If you want to have some items not triggered by the middleware (for example iPad) then add a settings called MOBI_USER_AGENT_IGNORE_LIST and add the item to the list.
  
-MOBI_USER_AGENT_IGNORE_LIST = list('ipad')
+MOBI_USER_AGENT_IGNORE_LIST = ['ipad',]
 
 Using the mobi.MobileRedirectMiddleware Middleware
 ---------------------------------------------------