6.1.1.1.1.1. ramascene.management.commands package¶
6.1.1.1.1.1.1. Submodules¶
6.1.1.1.1.1.2. ramascene.management.commands.clear_models module¶
6.1.1.1.1.1.3. ramascene.management.commands.populateHierarchies module¶
-
class
ramascene.management.commands.populateHierarchies.
Command
(stdout=None, stderr=None, no_color=False)¶ Bases:
django.core.management.base.BaseCommand
Populate database with pre developed csv files residing in python_ini folder
-
handle
(*args, **options)¶ The actual logic of the command. Subclasses must implement this method.
-
-
ramascene.management.commands.populateHierarchies.
addCountry
(name, code, global_id, parent_id, local_id, level, identifier, leaf_children_global, leaf_children_local)¶
-
ramascene.management.commands.populateHierarchies.
addIndicator
(name, unit, global_id, parent_id, local_id, level)¶
-
ramascene.management.commands.populateHierarchies.
addProduct
(name, code, global_id, parent_id, local_id, level, identifier, leaf_children_global, leaf_children_local)¶
-
ramascene.management.commands.populateHierarchies.
getfile
(myFile)¶
-
ramascene.management.commands.populateHierarchies.
populate
(data_obj, model_type)¶