How to ignore a custom attribute when rendering flask render_template?

Solution
import os
...

@app.route('/')
def your_route():
    ...
    environment = os.environ.get("FLASK_ENV", 'dev')
    return render_template('your.html', environment=environment)
{{ user.full_name }}