Fix imports for newer version of allura

  • With allura 1.0 (and also some ctx settings) imports
    might not work - this commit fixes a couple of imports
    in our controllers.
  • I've wrapped the imports in a check so that we can remain
    compatible with previous versions.

Rui Ferreira Rui Ferreira 2013-08-29

changed opensourceprojects/controllers.py
opensourceprojects/controllers.py Diff Switch to side-by-side view
Loading...