<commit_before>from flask import Flask, render_template
from flask_mongoengine import MongoEngine
from flask_security import login_required
import config
import db
from models.User import User
from models.Role import Role

app = config.app

# Create a user to test with
@app.before_first_request
def create_user():
    print User
    print str(app.config)
    if( User.objects.filter(email='<EMAIL>').count() == 0 ):
        db.security.datastore.create_user(email='<EMAIL>', password='password')

# Views
@app.route('/')
@login_required
def home():
    cantidadUsuarios = User.objects.filter(email='<EMAIL>').count()
    print str(app.config)
    return render_template('index.jinja2', param1 = str(app.config) )

if __name__ == '__main__':
    app.run()<commit_msg>Se quita el dump de varios datos.<commit_after>from flask import Flask, render_template
from flask_mongoengine import MongoEngine
from flask_security import login_required
import config
import db
from models.User import User
from models.Role import Role

app = config.app

# Create a user to test with
@app.before_first_request
def create_user():
    if( User.objects.filter(email='<EMAIL>').count() == 0 ):
        db.security.datastore.create_user(email='<EMAIL>', password='password')

# Views
@app.route('/')
#@login_required
def home():
    return render_template('index.jinja2', param1 = str(app.config) )

if __name__ == '__main__':
    app.run()
{'fraction_non_alphanumeric': 0.12042253521126761, 'fraction_numerical': 0.004225352112676056, 'mean_word_length': 4.970588235294118, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '3244257', 'n_tokens_mistral': 458, 'n_tokens_neox': 446, 'n_words': 121}