This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action=""> | |
{{ form.name}} | |
{{ form.hidden_tag() }} | |
<br/> | |
{% for entry in form.subforms %} | |
{{ entry.subformfield1}} | |
<br/> | |
{% endfor %} | |
<input type="submit"/> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
# app.py | |
from flask import Flask, render_template | |
from flask_sqlalchemy import SQLAlchemy | |
from flask_wtf import FlaskForm | |
from wtforms import Form, FieldList, FormField, IntegerField, SelectField, \ | |
StringField, TextAreaField, SubmitField | |
from wtforms import validators |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo su | |
########################### | |
#REMOVE UNECESSARY THINGS:# | |
########################### | |
#Amazon: | |
rm /usr/share/applications/ubuntu-amazon-default.desktop | |
rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/Amazon.user.js | |
rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/manifest.json | |
rm /usr/share/applications/ubuntu-amazon-default.desktop | |
rm /usr/share/unity-webapps/userscripts/unity-webapps-amazon/Amazon.user.js |