this import is in the wrong place it is
```
import functools
import logging
import types
import re

import formencode.validators

import ckan.model as model
import ckan.new_authz as new_authz
import ckan.lib.navl.dictization_functions as df
import ckan.plugins as p

from ckan.common import _, c
```

see http://docs.ckan.org/en/latest/python-coding-standards.html#imports