<commit_before># -*- coding: utf-8 -*-

def enroll(request,command,secret):
    from django import template
    from django.http import HttpResponse
    return HttpResponse(
        template.Template("""
        <html><head><title>Paloma Enroll</title></head> <body> <h1> Paloma Enroll</h1>
            {{ command }} <br/>
            {{ secret  }} <br/>
        """
        ).render( template.RequestContext(request,
                {'command':command,'secret':secret}) )
    )<commit_msg>just improve<commit_after># -*- coding: utf-8 -*-

def enroll(request,command,secret):
    from django import template
    from django.http import HttpResponse

    print type(request)
    return HttpResponse(
        template.Template("""
        <html><head><title>Paloma Enroll</title></head> <body> <h1> Paloma Enroll</h1>
            {{ url     }} <br/>
            {{ command }} <br/>
            {{ secret  }} <br/>
        """
        ).render( template.RequestContext(request,
                {'command':command,'secret':secret,
                 'url' : request.build_absolute_uri('/o/my/god'),
                }) )
    )
{'fraction_non_alphanumeric': 0.15892857142857142, 'fraction_numerical': 0.005357142857142857, 'mean_word_length': 2.1756373937677056, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 24, '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': '2929046', 'n_tokens_mistral': 317, 'n_tokens_neox': 309, 'n_words': 65}