<commit_before>#!python
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from manati_ui.models import Weblog

# Create your views here.
# this login required decorator is to not allow to any  
# view without authenticating
@login_required(login_url="login/")
def home(request):
    # return render(request,"home.html")
    context = {"weblogs_attribute": Weblog.get_model_fields()}
    return render(request, 'manati_ui/analysis_session/new.html', context)<commit_msg>fixing bug when you are login in the first time<commit_after>#!python
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from manati_ui.models import Weblog

# Create your views here.
# this login required decorator is to not allow to any  
# view without authenticating
@login_required(login_url="login/")
def home(request):
    # return render(request,"home.html")
    context = {}
    return render(request, 'manati_ui/analysis_session/new.html', context)
{'fraction_non_alphanumeric': 0.09072978303747535, 'fraction_numerical': 0.0, 'mean_word_length': 5.590909090909091, 'pattern_counts': {'":': 1, '<': 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': '3253118', 'n_tokens_mistral': 290, 'n_tokens_neox': 286, 'n_words': 90}