Switch to unified view

a/OSSEval/analysis/views.py b/OSSEval/analysis/views.py
...
...
6
from django.utils import simplejson, timezone
6
from django.utils import simplejson, timezone
7
from django.views.generic import ListView
7
from django.views.generic import ListView
8
from xml.dom import minidom
8
from xml.dom import minidom
9
9
10
from forms import AnalysisForm, UploadFileForm, ImportChoice, MyModelForm
10
from forms import AnalysisForm, UploadFileForm, ImportChoice, MyModelForm
11
from analysis.models import Analysis, Configuration, Instance, UploadedFile, Answer, Methodology, MethodologyVersion, Question, Page
11
from analysis.models import Analysis, Instance, UploadedFile, Answer, Methodology, MethodologyVersion, Question, Page
12
#from methodology.models import Methodology, MethodologyVersion, Question, Page
12
#from methodology.models import Methodology, MethodologyVersion, Question, Page
13
from OSSEval.utils import xmlMinidom, TrivialJSONEncoder, SearchEngine
13
from OSSEval.utils import xmlMinidom, TrivialJSONEncoder, SearchEngine
14
14
15
def analysis_new(request, analysis_id=0):
15
def analysis_new(request, analysis_id=0):
16
    if request.method == "POST":
16
    if request.method == "POST":