Commit c9bb981e authored by matjaz's avatar matjaz
Browse files

workflows/views.py corrected so that all sub-applications are dynamically imported.

parent 7e698944
......@@ -22,12 +22,13 @@ from django.contrib.auth.decorators import login_required
#settings
from mothra.settings import DEBUG, FILES_FOLDER
#ostalo
import os
from latino.views import *
from workflows import module_importer
def setattr_local(name, value, package):
setattr(sys.modules[__name__], name, value)
module_importer.import_all_packages_libs("views",setattr_local)
@login_required
def get_category(request):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment