[1720][forms] update for change in location of
[ckanext-datagovau.git] / ckanext / example / forms.py
blob:a/ckanext/example/forms.py -> blob:b/ckanext/example/forms.py
--- 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)