<commit_before>{% extends "base.html" %}

{% load i18n %}

{% block title %}{{ object }} - {% trans "Products" %} - {{ block.super }}{% endblock %}

{% block content %}
<h1>{{ object }}</h1>

{{ object.description|linebreaks }}

<form method="post" action=".">
{% csrf_token %}
<table>
{{ form }}
</table>
<input type="submit" value="{% trans "Add to cart" %}" />
</form>
{% endblock %}<commit_msg>Testwise FeinCMS integration in template<commit_after>{% extends "base.html" %}

{% load i18n %}

{% block title %}{{ object }} - {% trans "Products" %} - {{ block.super }}{% endblock %}

{% block content %}
<h1>{{ object }}</h1>

{{ object.description|linebreaks }}

{% if object.cmsproduct %}
{% load feincms_tags %}
{% feincms_render_region object.cmsproduct "main" request %}
{% endif %}

<form method="post" action=".">
{% csrf_token %}
<table>
{{ form }}
</table>
<input type="submit" value="{% trans "Add to cart" %}" />
</form>
{% endblock %}
{'fraction_non_alphanumeric': 0.23628691983122363, 'fraction_numerical': 0.008438818565400843, 'mean_word_length': 4.549707602339181, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7551017', 'n_tokens_mistral': 372, 'n_tokens_neox': 327, 'n_words': 81}