<commit_before>#-------------------------------------------------------------------------------
# Name:        views
# Purpose:     shows the website
# Usage:       through django webserver
#
# Author:      Lumate, LLC
#
# Created:     10/25/2013
# Copyright:   (c) Lumate, LLC
# Licence:     Public/Private
#-------------------------------------------------------------------------------

#Django Imports
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.contrib.auth.decorators import login_required
from django.contrib.contenttypes.models import ContentType
from django.views.decorators.csrf import csrf_exempt
from django.forms.models import model_to_dict
from django.http import HttpResponse
from django.shortcuts import render
from django.template import RequestContext, loader
from itertools import chain
from django.shortcuts import get_object_or_404


#Interface Imports
from models import *


def index(request):
    """ one-pager landing """
    return render(request, 'index.html')
    

@login_required()<commit_msg>skip landing page for demo<commit_after>#-------------------------------------------------------------------------------
# Name:        views
# Purpose:     shows the website
# Usage:       through django webserver
#
# Author:      Lumate, LLC
#
# Created:     10/25/2013
# Copyright:   (c) Lumate, LLC
# Licence:     Public/Private
#-------------------------------------------------------------------------------

#Django Imports
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
from django.contrib.auth.decorators import login_required
from django.contrib.contenttypes.models import ContentType
from django.views.decorators.csrf import csrf_exempt
from django.forms.models import model_to_dict
from django.http import HttpResponse
from django.shortcuts import render
from django.template import RequestContext, loader
from itertools import chain
from django.shortcuts import get_object_or_404


#Interface Imports
from models import *


def index(request):
    """ one-pager landing """
    return home(request)
    #return render(request, 'index.html')
    

@login_required()
{'fraction_non_alphanumeric': 0.21181356714351637, 'fraction_numerical': 0.01015228426395939, 'mean_word_length': 2.2998477929984777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6918975', 'n_tokens_mistral': 561, 'n_tokens_neox': 534, 'n_words': 165}