use generator.rest_models instead of generator.all
1 file changed