From: John Glover Date: Tue, 07 Feb 2012 13:23:20 +0000 Subject: [1720][forms] update for change in location of X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-datagovau.git&a=commitdiff&h=cdcb7b312c9c70458b257822f23bd10e64e697a9 --- [1720][forms] update for change in location of Vocabulary get function --- --- a/ckanext/example/forms.py +++ b/ckanext/example/forms.py @@ -136,7 +136,7 @@ already exist. """ self.vocab_name = u'example_vocab' - v = vocabulary.get(self.vocab_name) + v = model.Vocabulary.get(self.vocab_name) if not v: log.info("Adding vocab %s" % self.vocab_name) vocab = model.Vocabulary(self.vocab_name)