<commit_before><!DOCTYPE html>

{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

{% load static from staticfiles %}
{% static "css/base.css" as base_css %}

<html lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta charset="UTF-8">
        <title>RESTful Web API - {% block title %}{% endblock %}</title>
        <link rel="stylesheet" type="text/css" href="{{ base_css }}" />
    </head>
    <body>
        <header id="page-header">
            <div id="logo">
                <a href="{% url 'home' %}">RESTful Web API</a>
            </div>
            <div id="motto">
                REST, HATEOAS, HTTP, API, Python, Django... 
            </div>
            <div id="login">
                {% if user.is_authenticated  %}
                    <a href="{% url 'accounts:logout' %}">{% trans "Log Out" %}</a>
                {% else %}
                    <a href="{% url 'accounts:login' %}">{% trans "Log In" %}</a>
                {% endif %}
            </div>
            <div id="language-selection">
                <form action="{% url 'set_language' %}" method="post">
                    <div>
                        {% csrf_token %}
                        <input name="next" type="hidden" value="{{ get_full_path }}" />
                        <select name="language">
                            {% get_language_info_list for LANGUAGES as langs %}
                            {% for language in langs %}
                                <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected="selected"{% endif %}>
                                    {{ language.name_local }} ({{ language.code }})
                                </option>
                            {% endfor %}
                        </select>
                        {# Translators: Language selection: submit button. #}
                        <input type="submit" value="{% trans "Go" %}" />
                    </div>
                </form>
            </div>
        </header>
        <div id="content-wrapper">
            <nav>
                <ul>
                    <li>
                        <a href="">{% trans "Home" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Examples" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Django app" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Blog" %}</a>
                    </li>
                </ul>
            </nav>
            <div class="separator"></div>
            <div id="content">
                {% block content %}{% endblock %}
            </div>
        </div>
        <footer id="top-footer">
            <section id="logos">
                <div id="logo-html5">
                    <a href="http://www.w3.org/html/logo/">
                        <img src="http://www.w3.org/html/logo/badge/html5-badge-h-solo.png" width="63" height="64" alt="HTML5 Powered" title="HTML5 Powered">
                    </a>
                </div>
                <div id="logo-django">
                    <a href="http://www.djangoproject.com/">
                        <img src="https://www.djangoproject.com/m/img/badges/djangopowered126x54.gif" alt="Powered by Django." title="Powered by Django." />
                    </a>
                </div>
                <div id="logo-css">
                    <a href="http://jigsaw.w3.org/css-validator/check/referer">
                        <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" />
                    </a>
                </div>
            </section>
            <section id="links">
                <h3>{% trans "Links" %}</h3>
                <ul>
                    <li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">Representational State Transfer (REST)</a></li>
                    <li><a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven">REST APIs must be hypertext-driven</a></li>
                    <li><a href="http://www.w3.org/Provider/Style/URI.html">Cool URIs don't change</a></li>
                    <li><a href="http://restpatterns.org/">REST & WOA Wiki</a></li>
                    <li><a href="http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http">Nobody Understands REST or HTTP</a></li>
                    <li><a href="http://www.informit.com/articles/article.aspx?p=1566460">Versioning REST Services</a></li>
                </ul>
            </section>
            <section id="site-info">
                <h3>{% trans "Info" %}</h3>
                <ul>
                    <li><a href="https://github.com/juliotrigo">juliotrigo @ GitHub</a></li>
                    <li><a href="https://bitbucket.org/juliotrigo">juliotrigo @ Bitbucket</a></li>
                    <li><a href="https://twitter.com/juliotrigo">juliotrigo @ Twitter</a></li>
                    <li><a href="">{% trans "Contact" %}</a></li>
                    <li><a href="">{% trans "About" %}</a></li>
                    <li><a href="">{% trans "Blog" %}</a></li>
                </ul>
            </section><commit_msg>Adding blog link.<commit_after><!DOCTYPE html>

{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

{% load static from staticfiles %}
{% static "css/base.css" as base_css %}

<html lang="{{ LANGUAGE_CODE }}">
    <head>
        <meta charset="UTF-8">
        <title>RESTful Web API - {% block title %}{% endblock %}</title>
        <link rel="stylesheet" type="text/css" href="{{ base_css }}" />
    </head>
    <body>
        <header id="page-header">
            <div id="logo">
                <a href="{% url 'home' %}">RESTful Web API</a>
            </div>
            <div id="motto">
                REST, HATEOAS, HTTP, API, Python, Django... 
            </div>
            <div id="login">
                {% if user.is_authenticated  %}
                    <a href="{% url 'accounts:logout' %}">{% trans "Log Out" %}</a>
                {% else %}
                    <a href="{% url 'accounts:login' %}">{% trans "Log In" %}</a>
                {% endif %}
            </div>
            <div id="language-selection">
                <form action="{% url 'set_language' %}" method="post">
                    <div>
                        {% csrf_token %}
                        <input name="next" type="hidden" value="{{ get_full_path }}" />
                        <select name="language">
                            {% get_language_info_list for LANGUAGES as langs %}
                            {% for language in langs %}
                                <option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected="selected"{% endif %}>
                                    {{ language.name_local }} ({{ language.code }})
                                </option>
                            {% endfor %}
                        </select>
                        {# Translators: Language selection: submit button. #}
                        <input type="submit" value="{% trans "Go" %}" />
                    </div>
                </form>
            </div>
        </header>
        <div id="content-wrapper">
            <nav>
                <ul>
                    <li>
                        <a href="">{% trans "Home" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Examples" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Django app" %}</a>
                    </li>
                    <li>
                        <a href="">{% trans "Blog" %}</a>
                    </li>
                </ul>
            </nav>
            <div class="separator"></div>
            <div id="content">
                {% block content %}{% endblock %}
            </div>
        </div>
        <footer id="top-footer">
            <section id="logos">
                <div id="logo-html5">
                    <a href="http://www.w3.org/html/logo/">
                        <img src="http://www.w3.org/html/logo/badge/html5-badge-h-solo.png" width="63" height="64" alt="HTML5 Powered" title="HTML5 Powered">
                    </a>
                </div>
                <div id="logo-django">
                    <a href="http://www.djangoproject.com/">
                        <img src="https://www.djangoproject.com/m/img/badges/djangopowered126x54.gif" alt="Powered by Django." title="Powered by Django." />
                    </a>
                </div>
                <div id="logo-css">
                    <a href="http://jigsaw.w3.org/css-validator/check/referer">
                        <img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt="Valid CSS!" />
                    </a>
                </div>
            </section>
            <section id="links">
                <h3>{% trans "Links" %}</h3>
                <ul>
                    <li><a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm">Representational State Transfer (REST)</a></li>
                    <li><a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven">REST APIs must be hypertext-driven</a></li>
                    <li><a href="http://www.w3.org/Provider/Style/URI.html">Cool URIs don't change</a></li>
                    <li><a href="http://restpatterns.org/">REST & WOA Wiki</a></li>
                    <li><a href="http://blog.steveklabnik.com/posts/2011-07-03-nobody-understands-rest-or-http">Nobody Understands REST or HTTP</a></li>
                    <li><a href="http://www.informit.com/articles/article.aspx?p=1566460">Versioning REST Services</a></li>
                </ul>
            </section>
            <section id="site-info">
                <h3>{% trans "Info" %}</h3>
                <ul>
                    <li><a href="https://github.com/juliotrigo">juliotrigo @ GitHub</a></li>
                    <li><a href="https://bitbucket.org/juliotrigo">juliotrigo @ Bitbucket</a></li>
                    <li><a href="https://twitter.com/juliotrigo">juliotrigo @ Twitter</a></li>
                    <li><a href="">{% trans "Contact" %}</a></li>
                    <li><a href="">{% trans "About" %}</a></li>
                    <li><a href="http://juliotrigo.wordpress.com/category/programming/">{% trans "Blog" %}</a></li>
                </ul>
            </section>
{'fraction_non_alphanumeric': 0.17201220075792586, 'fraction_numerical': 0.009058138460116463, 'mean_word_length': 1.3263814233498172, 'pattern_counts': {'":': 0, '<': 281, '<?xml version=': 0, '>': 281, 'https://': 8, 'lorem ipsum': 0, 'www.': 14, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4723551', 'n_tokens_mistral': 3441, 'n_tokens_neox': 3059, 'n_words': 595}