Esempio n. 1
0
    def handle_all(self, **options):
        scan_translation_projects(languages=self.languages,
                                  projects=self.projects)

        super(Command, self).handle_all(**options)

        clear_language_list_cache()
Esempio n. 2
0
    def setUp(self):
        self._setup_test_podir()
        self._setup_test_files()
        #FIXME: replace initdb with a fixture
        call_command('initdb')

        self._setup_test_users()
        scan_translation_projects()
Esempio n. 3
0
    def setUp(self):
        self._setup_test_podir()
        self._setup_test_files()
        #FIXME: replace initdb with a fixture
        call_command('initdb')

        self._setup_test_users()
        scan_translation_projects()
Esempio n. 4
0
    def handle_all(self, **options):
        scan_translation_projects(languages=self.languages,
                                  projects=self.projects)

        super(Command, self).handle_all(**options)