Full namespace when importing dashboard

Otherwise, Apache is not happy when using a WSGIScriptAlias:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/stackalytics/dashboard/web.wsgi", line 23, in <module>
      from dashboard.web import app as application
  ImportError: No module named dashboard.web

Change-Id: I94eceaafaff541b004900973768f0cc5927b4297
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-06-11 16:28:26 -04:00
parent 1a8c2369ed
commit 84a448e07c

View File

@ -13,4 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from dashboard.web import app as application
from stackalytics.dashboard.web import app as application