right logic checked/unchecked categories checkbox
some python magic for autoimport models in admin