Taking a closer look, code_generator requires you to adapt the code in code_generator.py that specifies the get_previous_code_function and the get_next_code_function, depending on which models it's being used with, so I realise my first post doesn't make much sense - sorry. I'm trying to understand where in simple_locations this code is being used so I can write the needed functions, but since I'm new to this it's taking it's time and some help would be greatly appreciated.
Could anyone who has used the rapidsms_polls app (and therefore also simple_locations and code_generator) share their adapted version of the file 'code_generator.py' ?
Muchas gracias