1. David Jean Louis
  2. django-admin-tools
  3. Issues
Issue #12 resolved

Bookmarks blow up if no cookie

Alex Robbins
created an issue


This line is giving me 'NoneType' object has no attribute 'split'

It looks like unquote can't handle None, which it is getting from request.COOKIES.get('menu.bookmarks'). Maybe you could provide a default to get?

request.COOKIES.get('menu.bookmarks', '')

Then you'd need to change the next line to

if json_str != '':

Comments (1)

  1. Log in to comment