def METHOD_NAME(self):
    self.place_supply_state_code.choices = [(0, '')] + [
        (state['short_code'], state['name'])
        for state in sorted(indian_states, key=lambda k: k['name'])
    ]
    self.place_supply_country_code.choices = [('', '')] + localized_country_list()
    self.category.query = (
        Category.query.join(
            ItemCollection, Category.item_collection_id == ItemCollection.id
        )
        .filter(Category.item_collection == self.edit_parent)
        .options(db.load_only(Category.id, Category.title))
    )