Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Last login: Mon Apr 9 11:26:43 on console
- ➜ ~ git:(master) ✗ ssh -t aalw001@doc.gold.ac.uk myserver ssh 168
- aalw001@doc.gold.ac.uk's password:
- aalw001@myserver's password:
- Permission denied, please try again.
- aalw001@myserver's password:
- Permission denied, please try again.
- aalw001@myserver's password:
- Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-93-generic x86_64)
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- * Support: https://ubuntu.com/advantage
- aalw001@doc168:~$ cd dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ ls
- app.py databse.db nohup.out __pycache__ static templates vs_url_for.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git commit -am
- error: switch `m' requires a value
- usage: git commit [<options>] [--] <pathspec>...
- -q, --quiet suppress summary after successful commit
- -v, --verbose show diff in commit message template
- Commit message options
- -F, --file <file> read message from file
- --author <author> override author for commit
- --date <date> override date for commit
- -m, --message <message>
- commit message
- -c, --reedit-message <commit>
- reuse and edit message from specified commit
- -C, --reuse-message <commit>
- reuse message from specified commit
- --fixup <commit> use autosquash formatted message to fixup specified commit
- --squash <commit> use autosquash formatted message to squash specified commit
- --reset-author the commit is authored by me now (used with -C/-c/--amend)
- -s, --signoff add Signed-off-by:
- -t, --template <file>
- use specified template file
- -e, --edit force edit of commit
- --cleanup <default> how to strip spaces and #comments from message
- --status include status in commit message template
- -S, --gpg-sign[=<key-id>]
- GPG sign commit
- Commit contents options
- -a, --all commit all changed files
- -i, --include add specified files to index for commit
- --interactive interactively add files
- -p, --patch interactively add changes
- -o, --only commit only specified files
- -n, --no-verify bypass pre-commit hook
- --dry-run show what would be committed
- --short show status concisely
- --branch show branch information
- --porcelain machine-readable output
- --long show status in long format (default)
- -z, --null terminate entries with NUL
- --amend amend previous commit
- --no-post-rewrite bypass post-rewrite hook
- -u, --untracked-files[=<mode>]
- show untracked files, optional modes: all, normal, no. (Default: all)
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git commit -am "shows users"
- [master 5163fab] shows users
- 5 files changed, 134 insertions(+), 11 deletions(-)
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git push git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- Enter passphrase for key '/home/aalw001/.ssh/id_rsa':
- To git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- ! [rejected] master -> master (fetch first)
- error: failed to push some refs to 'git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git'
- hint: Updates were rejected because the remote contains work that you do
- hint: not have locally. This is usually caused by another repository pushing
- hint: to the same ref. You may want to first integrate the remote changes
- hint: (e.g., 'git pull ...') before pushing again.
- hint: See the 'Note about fast-forwards' in 'git push --help' for details.
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git pull
- Enter passphrase for key '/home/aalw001/.ssh/id_rsa':
- remote: Counting objects: 1652, done.
- remote: Compressing objects: 100% (706/706), done.
- remote: Total 1652 (delta 710), reused 1645 (delta 708)
- Receiving objects: 100% (1652/1652), 449.74 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (710/710), completed with 8 local objects.
- From gitlab.doc.gold.ac.uk:aalw001/term-2-labs
- d26b24f..9c3f491 master -> origin/master
- Merge made by the 'recursive' strategy.
- README.md | 12 +++
- lab-12/decorator_1.py | 20 ++++
- lab-12/decorator_timer.py | 27 ++++++
- lab-12/headline.py | 24 +++++
- lab-12/headlines.py | 15 +++
- lab-12/headlines_if.py | 22 +++++
- lab-12/hello_world.py | 9 ++
- lab-12/hello_world_with_templates.py | 10 ++
- lab-12/home.html | 11 +++
- lab-12/if_name_test.py | 3 +
- lab-12/macros.py | 21 +++++
- lab-12/random_headline.py | 25 +++++
- lab-12/random_letters.py | 20 ++++
- lab-12/show_time.py | 17 ++++
- lab-12/show_time_with_filter.py | 22 +++++
- lab-12/templates/base.html | 33 +++++++
- lab-12/templates/headlines.html | 15 +++
- lab-12/templates/headlines_if.html | 17 ++++
- lab-12/templates/hello_world.html | 11 +++
- lab-12/templates/macros.html | 9 ++
- lab-12/templates/macros_base.html | 44 +++++++++
- lab-12/templates/macros_page.html | 11 +++
- lab-12/templates/show_time_with_filter.html | 11 +++
- lab-12/url_for.py | 17 ++++
- lab-12/url_for_using_vs_url_for.py | 18 ++++
- lab-12/username.py | 16 ++++
- lab-12/vs_url_for.py | 10 ++
- lab-12/whats_my_name.py | 2 +
- lab-13/file_upload.py | 4 +
- lab-13/get_headlines.py | 4 +
- lab-13/mock_login.py | 8 ++
- lab-13/mock_login_wtforms.py | 4 +
- lab-14/mytwits_mysql_1.py | 5 +
- lab-14/mytwits_mysql_4.py | 5 +
- lab-14/vs_url_for.py | 4 +
- lab-15/dbhelper.py | 56 +++++++++++
- lab-15/dbhelper.pyc | Bin 0 -> 3019 bytes
- lab-15/dbhelper_10.py | 61 ++++++++++++
- lab-15/dbhelper_10.pyc | Bin 0 -> 3544 bytes
- lab-15/dbhelper_7.py | 56 +++++++++++
- lab-15/dbhelper_7.pyc | Bin 0 -> 3037 bytes
- lab-15/dbhelper_8.py | 50 ++++++++++
- lab-15/dbhelper_8.pyc | Bin 0 -> 3066 bytes
- lab-15/dbhelper_9.py | 56 +++++++++++
- lab-15/dbhelper_9.pyc | Bin 0 -> 3394 bytes
- lab-15/dbhelper_flasklogin.py | 56 +++++++++++
- lab-15/dump.sql | 82 +++++++++++++++++
- lab-15/forms.py | 24 +++++
- lab-15/forms.pyc | Bin 0 -> 1650 bytes
- lab-15/forms_10.py | 24 +++++
- lab-15/forms_10.pyc | Bin 0 -> 1662 bytes
- lab-15/forms_7.py | 24 +++++
- lab-15/forms_7.pyc | Bin 0 -> 1658 bytes
- lab-15/forms_8.py | 24 +++++
- lab-15/forms_8.pyc | Bin 0 -> 1658 bytes
- lab-15/forms_9.py | 24 +++++
- lab-15/forms_9.pyc | Bin 0 -> 1658 bytes
- lab-15/forms_flasklogin.py | 24 +++++
- lab-15/get_headlines_cookies.py | 39 ++++++++
- lab-15/mytwits_mysql_10.py | 89 ++++++++++++++++++
- lab-15/mytwits_mysql_6.py | 105 +++++++++++++++++++++
- lab-15/mytwits_mysql_7.py | 71 ++++++++++++++
- lab-15/mytwits_mysql_8.py | 79 ++++++++++++++++
- lab-15/mytwits_mysql_9.py | 89 ++++++++++++++++++
- lab-15/mytwits_mysql_flasklogin.py | 90 ++++++++++++++++++
- lab-15/temp.py | 70 ++++++++++++++
- lab-15/temp_dbhelper.py | 56 +++++++++++
- lab-15/temp_dbhelper.pyc | Bin 0 -> 3064 bytes
- lab-15/templates/add_twit_mysql_10.html | 32 +++++++
- lab-15/templates/add_twit_mysql_6.html | 32 +++++++
- lab-15/templates/add_twit_mysql_7.html | 32 +++++++
- lab-15/templates/add_twit_mysql_8.html | 32 +++++++
- lab-15/templates/add_twit_mysql_9.html | 32 +++++++
- lab-15/templates/add_twit_mysql_flasklogin.html | 32 +++++++
- lab-15/templates/base.html | 43 +++++++++
- lab-15/templates/base_10.html | 43 +++++++++
- lab-15/templates/base_8.html | 43 +++++++++
- lab-15/templates/base_9.html | 43 +++++++++
- lab-15/templates/base_flasklogin.html | 43 +++++++++
- lab-15/templates/edit_twit_mysql_10.html | 35 +++++++
- lab-15/templates/edit_twit_mysql_6.html | 35 +++++++
- lab-15/templates/edit_twit_mysql_7.html | 35 +++++++
- lab-15/templates/edit_twit_mysql_8.html | 35 +++++++
- lab-15/templates/edit_twit_mysql_9.html | 35 +++++++
- lab-15/templates/edit_twit_mysql_flasklogin.html | 35 +++++++
- lab-15/templates/get_headlines.html | 20 ++++
- lab-15/templates/login.html | 60 ++++++++++++
- lab-15/templates/login_10.html | 57 ++++++++++++
- lab-15/templates/login_8.html | 57 ++++++++++++
- lab-15/templates/login_9.html | 57 ++++++++++++
- lab-15/templates/login_flasklogin.html | 57 ++++++++++++
- lab-15/templates/mytwits_mysql_10.html | 15 +++
- lab-15/templates/mytwits_mysql_6.html | 15 +++
- lab-15/templates/mytwits_mysql_7.html | 15 +++
- lab-15/templates/mytwits_mysql_8.html | 15 +++
- lab-15/templates/mytwits_mysql_9.html | 15 +++
- lab-15/templates/mytwits_mysql_flasklogin.html | 15 +++
- lab-15/user.py | 28 ++++++
- lab-15/user.pyc | Bin 0 -> 1840 bytes
- lab-15/vs_url_for.py | 10 ++
- lab-15/vs_url_for.pyc | Bin 0 -> 504 bytes
- lab-17/step-1/dbhelper.py | 69 ++++++++++++++
- lab-17/step-1/dbhelper.pyc | Bin 0 -> 4074 bytes
- lab-17/step-1/forms.py | 24 +++++
- lab-17/step-1/forms.pyc | Bin 0 -> 1678 bytes
- lab-17/step-1/mytwits_mysql.py | 100 ++++++++++++++++++++
- lab-17/step-1/templates/add_twit_mysql.html | 32 +++++++
- lab-17/step-1/templates/base.html | 39 ++++++++
- lab-17/step-1/templates/edit_twit_mysql.html | 35 +++++++
- lab-17/step-1/templates/login.html | 57 ++++++++++++
- lab-17/step-1/templates/mytwits_mysql.html | 15 +++
- lab-17/step-1/user.py | 28 ++++++
- lab-17/step-1/user.pyc | Bin 0 -> 1903 bytes
- lab-17/step-1/vs_url_for.py | 11 +++
- lab-17/step-1/vs_url_for.pyc | Bin 0 -> 510 bytes
- lab-17/step-2/dbhelper.py | 73 +++++++++++++++
- lab-17/step-2/dbhelper.pyc | Bin 0 -> 4160 bytes
- lab-17/step-2/forms.py | 24 +++++
- lab-17/step-2/forms.pyc | Bin 0 -> 1678 bytes
- lab-17/step-2/mytwits_mysql.py | 148 +++++++++++++++++++++++++++++
- lab-17/step-2/mytwits_mysql_template.py | 109 ++++++++++++++++++++++
- lab-17/step-2/templates/add_twit_mysql.html | 32 +++++++
- lab-17/step-2/templates/base.html | 39 ++++++++
- lab-17/step-2/templates/edit_twit_mysql.html | 35 +++++++
- lab-17/step-2/templates/login.html | 57 ++++++++++++
- lab-17/step-2/templates/mytwits_mysql.html | 15 +++
- lab-17/step-2/user.py | 28 ++++++
- lab-17/step-2/user.pyc | Bin 0 -> 1903 bytes
- lab-17/step-2/vs_url_for.py | 11 +++
- lab-17/step-2/vs_url_for.pyc | Bin 0 -> 510 bytes
- lab-18/forms.py | 24 +++++
- lab-18/models.py | 46 +++++++++
- lab-18/mytwits_mysql.py | 153 ++++++++++++++++++++++++++++++
- lab-18/passwordhelper.py | 13 +++
- lab-18/templates/add_twit_mysql.html | 32 +++++++
- lab-18/templates/base.html | 47 ++++++++++
- lab-18/templates/edit_twit_mysql.html | 35 +++++++
- lab-18/templates/login.html | 57 ++++++++++++
- lab-18/templates/mytwits_mysql.html | 16 ++++
- lab-18/templates/timeline.html | 16 ++++
- lab-18/user.py | 29 ++++++
- lab-18/vs_url_for.py | 10 ++
- lab-20/step-0/dbhelper.py | 73 +++++++++++++++
- lab-20/step-0/dbhelper.pyc | Bin 0 -> 4160 bytes
- lab-20/step-0/forms.py | 24 +++++
- lab-20/step-0/forms.pyc | Bin 0 -> 1678 bytes
- lab-20/step-0/mytwits_mysql.py | 92 ++++++++++++++++++
- lab-20/step-0/templates/add_twit_mysql.html | 32 +++++++
- lab-20/step-0/templates/base.html | 46 +++++++++
- lab-20/step-0/templates/edit_twit_mysql.html | 35 +++++++
- lab-20/step-0/templates/login.html | 57 ++++++++++++
- lab-20/step-0/templates/mytwits_mysql.html | 15 +++
- lab-20/step-0/user.py | 28 ++++++
- lab-20/step-0/user.pyc | Bin 0 -> 1918 bytes
- lab-20/step-0/vs_url_for.py | 11 +++
- lab-20/step-0/vs_url_for.pyc | Bin 0 -> 510 bytes
- lab-20/step-1/dbhelper.py | 75 +++++++++++++++
- lab-20/step-1/dbhelper.pyc | Bin 0 -> 4176 bytes
- lab-20/step-1/forms.py | 24 +++++
- lab-20/step-1/forms.pyc | Bin 0 -> 1678 bytes
- lab-20/step-1/mytwits_mysql.py | 54 +++++++++++
- lab-20/step-1/templates/add_twit_mysql.html | 32 +++++++
- lab-20/step-1/templates/base.html | 46 +++++++++
- lab-20/step-1/templates/edit_twit_mysql.html | 35 +++++++
- lab-20/step-1/templates/login.html | 57 ++++++++++++
- lab-20/step-1/templates/mytwits_mysql.html | 15 +++
- lab-20/step-1/twits_blueprint.py | 54 +++++++++++
- lab-20/step-1/twits_blueprint.pyc | Bin 0 -> 2655 bytes
- lab-20/step-1/user.py | 28 ++++++
- lab-20/step-1/user.pyc | Bin 0 -> 1924 bytes
- lab-20/step-1/vs_url_for.py | 11 +++
- lab-20/step-1/vs_url_for.pyc | Bin 0 -> 510 bytes
- lab-20/step-2/dbhelper.py | 75 +++++++++++++++
- lab-20/step-2/dbhelper.pyc | Bin 0 -> 3879 bytes
- lab-20/step-2/forms.py | 24 +++++
- lab-20/step-2/forms.pyc | Bin 0 -> 1702 bytes
- lab-20/step-2/login_blueprint.py | 53 +++++++++++
- lab-20/step-2/login_blueprint.pyc | Bin 0 -> 2306 bytes
- lab-20/step-2/mytwits_mysql.py | 14 +++
- lab-20/step-2/templates/add_twit_mysql.html | 32 +++++++
- lab-20/step-2/templates/base.html | 45 +++++++++
- lab-20/step-2/templates/edit_twit_mysql.html | 35 +++++++
- lab-20/step-2/templates/login.html | 57 ++++++++++++
- lab-20/step-2/templates/mytwits_mysql.html | 15 +++
- lab-20/step-2/twits_blueprint.py | 54 +++++++++++
- lab-20/step-2/twits_blueprint.pyc | Bin 0 -> 2520 bytes
- lab-20/step-2/user.py | 28 ++++++
- lab-20/step-2/user.pyc | Bin 0 -> 1681 bytes
- lab-20/step-2/vs_url_for.py | 11 +++
- lab-20/step-2/vs_url_for.pyc | Bin 0 -> 522 bytes
- lab-20/step-3/dbhelper.py | 75 +++++++++++++++
- lab-20/step-3/forms.py | 24 +++++
- lab-20/step-3/login/__init__.py | 0
- lab-20/step-3/login/login_blueprint.py | 53 +++++++++++
- lab-20/step-3/login/templates/login/login.html | 57 ++++++++++++
- lab-20/step-3/mytwits_mysql.py | 13 +++
- lab-20/step-3/templates/add_twit_mysql.html | 32 +++++++
- lab-20/step-3/templates/base.html | 45 +++++++++
- lab-20/step-3/templates/edit_twit_mysql.html | 35 +++++++
- lab-20/step-3/templates/mytwits_mysql.html | 15 +++
- lab-20/step-3/twits_blueprint.py | 54 +++++++++++
- lab-20/step-3/user.py | 28 ++++++
- lab-20/step-3/vs_url_for.py | 11 +++
- lab-3/sql/Account_Inserts.sql | 51 ++++++++++
- lab-3/sql/FluckGiven_Inserts.sql | 40 ++++++++
- lab-3/sql/Flucks_Schema.sql | 39 ++++++++
- lab-3/sql/MediaServe_Inserts.sql | 101 ++++++++++++++++++++
- lab-3/sql/Media_Inserts.sql | 21 +++++
- lab-5/README.md | 19 ++++
- lab-5/cgi-bin/splash.py | 20 ++++
- lab-5/cgi-bin/splash2.py | 42 +++++++++
- lab-5/cgi-bin/splash2_fixed.py | 44 +++++++++
- lab-5/dump/catflucks/accounts.bson | Bin 0 -> 11369 bytes
- lab-5/dump/catflucks/accounts.metadata.json | 1 +
- lab-5/dump/catflucks/flucks.bson | Bin 0 -> 4350 bytes
- lab-5/dump/catflucks/flucks.metadata.json | 1 +
- lab-5/dump/catflucks/images.bson | Bin 0 -> 4375 bytes
- lab-5/dump/catflucks/images.metadata.json | 1 +
- lab-5/dump/catflucks/system.indexes.bson | Bin 0 -> 215 bytes
- lab-5/index.html | 11 +++
- lab-5/simpleServer.py | 26 ++++++
- lab-5/verySimpleServer.py | 24 +++++
- lab-6/cgi-bin/serve_cat.py | 50 ++++++++++
- lab-6/cgi-bin/serve_fluckable_cat.py | 74 +++++++++++++++
- lab-6/cgi-bin/utils.py | 30 ++++++
- lab-6/dump/catflucks/accounts.bson | Bin 0 -> 11357 bytes
- lab-6/dump/catflucks/accounts.metadata.json | 1 +
- lab-6/dump/catflucks/flucks.bson | Bin 0 -> 5150 bytes
- lab-6/dump/catflucks/flucks.metadata.json | 1 +
- lab-6/dump/catflucks/images.bson | Bin 0 -> 4375 bytes
- lab-6/dump/catflucks/images.metadata.json | 1 +
- lab-6/dump/catflucks/system.indexes.bson | Bin 0 -> 215 bytes
- lab-6/mysql_connector.ipynb | 244 ++++++++++++++++++++++++++++++++++++++++++++++++
- lab-6/simpleServer.py | 26 ++++++
- lab-7/README.md | 15 +++
- lab-7/cgi-bin/config.py | 16 ++++
- lab-7/cgi-bin/splash.py | 72 +++++++++++++++
- lab-7/cgi-bin/utils.py | 59 ++++++++++++
- lab-7/simpleServer.py | 26 ++++++
- lab-7/templates/cat_stats.html | 1 +
- lab-7/templates/footer.html | 1 +
- lab-7/templates/form_fluck.html | 5 +
- lab-7/templates/header.html | 9 ++
- lab-7/templates/serve_cat.html | 2 +
- lab-8/README.md | 18 ++++
- lab-8/cgi-bin/config.py | 16 ++++
- lab-8/cgi-bin/login.py | 61 ++++++++++++
- lab-8/cgi-bin/splash.py | 75 +++++++++++++++
- lab-8/cgi-bin/utils.py | 59 ++++++++++++
- lab-8/simpleServer.py | 26 ++++++
- lab-8/templates/cat_stats.html | 1 +
- lab-8/templates/footer.html | 1 +
- lab-8/templates/form_fluck.html | 5 +
- lab-8/templates/header.html | 9 ++
- lab-8/templates/login.html | 10 ++
- lab-8/templates/serve_cat.html | 2 +
- lab-9/README.md | 44 +++++++++
- lab-9/cgi-bin/components.py | 256 +++++++++++++++++++++++++++++++++++++++++++++++++++
- lab-9/cgi-bin/config.py | 16 ++++
- lab-9/cgi-bin/register.py | 49 ++++++++++
- lab-9/cgi-bin/splash.py | 96 +++++++++++++++++++
- lab-9/cgi-bin/tests.py | 36 ++++++++
- lab-9/cgi-bin/utils.py | 59 ++++++++++++
- lab-9/css/style.css | 50 ++++++++++
- lab-9/dump/catflucks/accounts.bson | Bin 0 -> 12005 bytes
- lab-9/dump/catflucks/accounts.metadata.json | 1 +
- lab-9/dump/catflucks/flucks.bson | Bin 0 -> 28850 bytes
- lab-9/dump/catflucks/flucks.metadata.json | 1 +
- lab-9/dump/catflucks/images.bson | Bin 0 -> 4519 bytes
- lab-9/dump/catflucks/images.metadata.json | 1 +
- lab-9/simpleServer.py | 26 ++++++
- lab-9/templates/cat_stats.html | 4 +
- lab-9/templates/footer.html | 2 +
- lab-9/templates/form_fluck.html | 9 ++
- lab-9/templates/header.html | 11 +++
- lab-9/templates/latest_fluck.html | 5 +
- lab-9/templates/login.html | 14 +++
- lab-9/templates/most_flucked.html | 5 +
- lab-9/templates/register.html | 30 ++++++
- lab-9/templates/serve_cat.html | 4 +
- lab-exercises | 2 +-
- term-2-lab/lab-exercises/term-2-labs | 2 +-
- 282 files changed, 8074 insertions(+), 2 deletions(-)
- mode change 100644 => 100755 README.md
- create mode 100644 lab-12/decorator_1.py
- create mode 100644 lab-12/decorator_timer.py
- create mode 100644 lab-12/headline.py
- create mode 100644 lab-12/headlines.py
- create mode 100644 lab-12/headlines_if.py
- create mode 100644 lab-12/hello_world.py
- create mode 100644 lab-12/hello_world_with_templates.py
- create mode 100644 lab-12/home.html
- create mode 100644 lab-12/if_name_test.py
- create mode 100644 lab-12/macros.py
- create mode 100644 lab-12/random_headline.py
- create mode 100644 lab-12/random_letters.py
- create mode 100644 lab-12/show_time.py
- create mode 100644 lab-12/show_time_with_filter.py
- create mode 100644 lab-12/templates/base.html
- create mode 100644 lab-12/templates/headlines.html
- create mode 100644 lab-12/templates/headlines_if.html
- create mode 100644 lab-12/templates/hello_world.html
- create mode 100644 lab-12/templates/macros.html
- create mode 100644 lab-12/templates/macros_base.html
- create mode 100644 lab-12/templates/macros_page.html
- create mode 100644 lab-12/templates/show_time_with_filter.html
- create mode 100644 lab-12/url_for.py
- create mode 100644 lab-12/url_for_using_vs_url_for.py
- create mode 100644 lab-12/username.py
- create mode 100644 lab-12/vs_url_for.py
- create mode 100644 lab-12/whats_my_name.py
- create mode 100644 lab-15/dbhelper.py
- create mode 100644 lab-15/dbhelper.pyc
- create mode 100644 lab-15/dbhelper_10.py
- create mode 100644 lab-15/dbhelper_10.pyc
- create mode 100644 lab-15/dbhelper_7.py
- create mode 100644 lab-15/dbhelper_7.pyc
- create mode 100644 lab-15/dbhelper_8.py
- create mode 100644 lab-15/dbhelper_8.pyc
- create mode 100644 lab-15/dbhelper_9.py
- create mode 100644 lab-15/dbhelper_9.pyc
- create mode 100644 lab-15/dbhelper_flasklogin.py
- create mode 100644 lab-15/dump.sql
- create mode 100644 lab-15/forms.py
- create mode 100644 lab-15/forms.pyc
- create mode 100644 lab-15/forms_10.py
- create mode 100644 lab-15/forms_10.pyc
- create mode 100644 lab-15/forms_7.py
- create mode 100644 lab-15/forms_7.pyc
- create mode 100644 lab-15/forms_8.py
- create mode 100644 lab-15/forms_8.pyc
- create mode 100644 lab-15/forms_9.py
- create mode 100644 lab-15/forms_9.pyc
- create mode 100644 lab-15/forms_flasklogin.py
- create mode 100644 lab-15/get_headlines_cookies.py
- create mode 100644 lab-15/mytwits_mysql_10.py
- create mode 100644 lab-15/mytwits_mysql_6.py
- create mode 100644 lab-15/mytwits_mysql_7.py
- create mode 100644 lab-15/mytwits_mysql_8.py
- create mode 100644 lab-15/mytwits_mysql_9.py
- create mode 100644 lab-15/mytwits_mysql_flasklogin.py
- create mode 100644 lab-15/temp.py
- create mode 100644 lab-15/temp_dbhelper.py
- create mode 100644 lab-15/temp_dbhelper.pyc
- create mode 100644 lab-15/templates/add_twit_mysql_10.html
- create mode 100644 lab-15/templates/add_twit_mysql_6.html
- create mode 100644 lab-15/templates/add_twit_mysql_7.html
- create mode 100644 lab-15/templates/add_twit_mysql_8.html
- create mode 100644 lab-15/templates/add_twit_mysql_9.html
- create mode 100644 lab-15/templates/add_twit_mysql_flasklogin.html
- create mode 100644 lab-15/templates/base.html
- create mode 100644 lab-15/templates/base_10.html
- create mode 100644 lab-15/templates/base_8.html
- create mode 100644 lab-15/templates/base_9.html
- create mode 100644 lab-15/templates/base_flasklogin.html
- create mode 100644 lab-15/templates/edit_twit_mysql_10.html
- create mode 100644 lab-15/templates/edit_twit_mysql_6.html
- create mode 100644 lab-15/templates/edit_twit_mysql_7.html
- create mode 100644 lab-15/templates/edit_twit_mysql_8.html
- create mode 100644 lab-15/templates/edit_twit_mysql_9.html
- create mode 100644 lab-15/templates/edit_twit_mysql_flasklogin.html
- create mode 100644 lab-15/templates/get_headlines.html
- create mode 100644 lab-15/templates/login_10.html
- create mode 100644 lab-15/templates/login_8.html
- create mode 100644 lab-15/templates/login_9.html
- create mode 100644 lab-15/templates/login_flasklogin.html
- create mode 100644 lab-15/templates/mytwits_mysql_10.html
- create mode 100644 lab-15/templates/mytwits_mysql_6.html
- create mode 100644 lab-15/templates/mytwits_mysql_7.html
- create mode 100644 lab-15/templates/mytwits_mysql_8.html
- create mode 100644 lab-15/templates/mytwits_mysql_9.html
- create mode 100644 lab-15/templates/mytwits_mysql_flasklogin.html
- create mode 100644 lab-15/user.py
- create mode 100644 lab-15/user.pyc
- create mode 100644 lab-15/vs_url_for.py
- create mode 100644 lab-15/vs_url_for.pyc
- create mode 100644 lab-17/step-1/dbhelper.py
- create mode 100644 lab-17/step-1/dbhelper.pyc
- create mode 100644 lab-17/step-1/forms.py
- create mode 100644 lab-17/step-1/forms.pyc
- create mode 100644 lab-17/step-1/mytwits_mysql.py
- create mode 100644 lab-17/step-1/templates/add_twit_mysql.html
- create mode 100644 lab-17/step-1/templates/base.html
- create mode 100644 lab-17/step-1/templates/edit_twit_mysql.html
- create mode 100644 lab-17/step-1/templates/login.html
- create mode 100644 lab-17/step-1/templates/mytwits_mysql.html
- create mode 100644 lab-17/step-1/user.py
- create mode 100644 lab-17/step-1/user.pyc
- create mode 100644 lab-17/step-1/vs_url_for.py
- create mode 100644 lab-17/step-1/vs_url_for.pyc
- create mode 100644 lab-17/step-2/dbhelper.py
- create mode 100644 lab-17/step-2/dbhelper.pyc
- create mode 100644 lab-17/step-2/forms.py
- create mode 100644 lab-17/step-2/forms.pyc
- create mode 100644 lab-17/step-2/mytwits_mysql.py
- create mode 100644 lab-17/step-2/mytwits_mysql_template.py
- create mode 100644 lab-17/step-2/templates/add_twit_mysql.html
- create mode 100644 lab-17/step-2/templates/base.html
- create mode 100644 lab-17/step-2/templates/edit_twit_mysql.html
- create mode 100644 lab-17/step-2/templates/login.html
- create mode 100644 lab-17/step-2/templates/mytwits_mysql.html
- create mode 100644 lab-17/step-2/user.py
- create mode 100644 lab-17/step-2/user.pyc
- create mode 100644 lab-17/step-2/vs_url_for.py
- create mode 100644 lab-17/step-2/vs_url_for.pyc
- create mode 100644 lab-18/forms.py
- create mode 100644 lab-18/models.py
- create mode 100644 lab-18/mytwits_mysql.py
- create mode 100644 lab-18/passwordhelper.py
- create mode 100644 lab-18/templates/add_twit_mysql.html
- create mode 100644 lab-18/templates/base.html
- create mode 100644 lab-18/templates/edit_twit_mysql.html
- create mode 100644 lab-18/templates/login.html
- create mode 100644 lab-18/templates/mytwits_mysql.html
- create mode 100644 lab-18/templates/timeline.html
- create mode 100644 lab-18/user.py
- create mode 100644 lab-18/vs_url_for.py
- create mode 100644 lab-20/step-0/dbhelper.py
- create mode 100644 lab-20/step-0/dbhelper.pyc
- create mode 100644 lab-20/step-0/forms.py
- create mode 100644 lab-20/step-0/forms.pyc
- create mode 100644 lab-20/step-0/mytwits_mysql.py
- create mode 100644 lab-20/step-0/templates/add_twit_mysql.html
- create mode 100644 lab-20/step-0/templates/base.html
- create mode 100644 lab-20/step-0/templates/edit_twit_mysql.html
- create mode 100644 lab-20/step-0/templates/login.html
- create mode 100644 lab-20/step-0/templates/mytwits_mysql.html
- create mode 100644 lab-20/step-0/user.py
- create mode 100644 lab-20/step-0/user.pyc
- create mode 100644 lab-20/step-0/vs_url_for.py
- create mode 100644 lab-20/step-0/vs_url_for.pyc
- create mode 100644 lab-20/step-1/dbhelper.py
- create mode 100644 lab-20/step-1/dbhelper.pyc
- create mode 100644 lab-20/step-1/forms.py
- create mode 100644 lab-20/step-1/forms.pyc
- create mode 100644 lab-20/step-1/mytwits_mysql.py
- create mode 100644 lab-20/step-1/templates/add_twit_mysql.html
- create mode 100644 lab-20/step-1/templates/base.html
- create mode 100644 lab-20/step-1/templates/edit_twit_mysql.html
- create mode 100644 lab-20/step-1/templates/login.html
- create mode 100644 lab-20/step-1/templates/mytwits_mysql.html
- create mode 100644 lab-20/step-1/twits_blueprint.py
- create mode 100644 lab-20/step-1/twits_blueprint.pyc
- create mode 100644 lab-20/step-1/user.py
- create mode 100644 lab-20/step-1/user.pyc
- create mode 100644 lab-20/step-1/vs_url_for.py
- create mode 100644 lab-20/step-1/vs_url_for.pyc
- create mode 100644 lab-20/step-2/dbhelper.py
- create mode 100644 lab-20/step-2/dbhelper.pyc
- create mode 100644 lab-20/step-2/forms.py
- create mode 100644 lab-20/step-2/forms.pyc
- create mode 100644 lab-20/step-2/login_blueprint.py
- create mode 100644 lab-20/step-2/login_blueprint.pyc
- create mode 100644 lab-20/step-2/mytwits_mysql.py
- create mode 100644 lab-20/step-2/templates/add_twit_mysql.html
- create mode 100644 lab-20/step-2/templates/base.html
- create mode 100644 lab-20/step-2/templates/edit_twit_mysql.html
- create mode 100644 lab-20/step-2/templates/login.html
- create mode 100644 lab-20/step-2/templates/mytwits_mysql.html
- create mode 100644 lab-20/step-2/twits_blueprint.py
- create mode 100644 lab-20/step-2/twits_blueprint.pyc
- create mode 100644 lab-20/step-2/user.py
- create mode 100644 lab-20/step-2/user.pyc
- create mode 100644 lab-20/step-2/vs_url_for.py
- create mode 100644 lab-20/step-2/vs_url_for.pyc
- create mode 100644 lab-20/step-3/dbhelper.py
- create mode 100644 lab-20/step-3/forms.py
- create mode 100644 lab-20/step-3/login/__init__.py
- create mode 100644 lab-20/step-3/login/login_blueprint.py
- create mode 100644 lab-20/step-3/login/templates/login/login.html
- create mode 100644 lab-20/step-3/mytwits_mysql.py
- create mode 100644 lab-20/step-3/templates/add_twit_mysql.html
- create mode 100644 lab-20/step-3/templates/base.html
- create mode 100644 lab-20/step-3/templates/edit_twit_mysql.html
- create mode 100644 lab-20/step-3/templates/mytwits_mysql.html
- create mode 100644 lab-20/step-3/twits_blueprint.py
- create mode 100644 lab-20/step-3/user.py
- create mode 100644 lab-20/step-3/vs_url_for.py
- create mode 100644 lab-3/sql/Account_Inserts.sql
- create mode 100644 lab-3/sql/FluckGiven_Inserts.sql
- create mode 100644 lab-3/sql/Flucks_Schema.sql
- create mode 100644 lab-3/sql/MediaServe_Inserts.sql
- create mode 100644 lab-3/sql/Media_Inserts.sql
- create mode 100644 lab-5/README.md
- create mode 100755 lab-5/cgi-bin/splash.py
- create mode 100755 lab-5/cgi-bin/splash2.py
- create mode 100755 lab-5/cgi-bin/splash2_fixed.py
- create mode 100644 lab-5/dump/catflucks/accounts.bson
- create mode 100644 lab-5/dump/catflucks/accounts.metadata.json
- create mode 100644 lab-5/dump/catflucks/flucks.bson
- create mode 100644 lab-5/dump/catflucks/flucks.metadata.json
- create mode 100644 lab-5/dump/catflucks/images.bson
- create mode 100644 lab-5/dump/catflucks/images.metadata.json
- create mode 100644 lab-5/dump/catflucks/system.indexes.bson
- create mode 100755 lab-5/index.html
- create mode 100755 lab-5/simpleServer.py
- create mode 100755 lab-5/verySimpleServer.py
- create mode 100755 lab-6/cgi-bin/serve_cat.py
- create mode 100755 lab-6/cgi-bin/serve_fluckable_cat.py
- create mode 100755 lab-6/cgi-bin/utils.py
- create mode 100644 lab-6/dump/catflucks/accounts.bson
- create mode 100644 lab-6/dump/catflucks/accounts.metadata.json
- create mode 100644 lab-6/dump/catflucks/flucks.bson
- create mode 100644 lab-6/dump/catflucks/flucks.metadata.json
- create mode 100644 lab-6/dump/catflucks/images.bson
- create mode 100644 lab-6/dump/catflucks/images.metadata.json
- create mode 100644 lab-6/dump/catflucks/system.indexes.bson
- create mode 100644 lab-6/mysql_connector.ipynb
- create mode 100755 lab-6/simpleServer.py
- create mode 100644 lab-7/README.md
- create mode 100755 lab-7/cgi-bin/config.py
- create mode 100755 lab-7/cgi-bin/splash.py
- create mode 100755 lab-7/cgi-bin/utils.py
- create mode 100755 lab-7/simpleServer.py
- create mode 100644 lab-7/templates/cat_stats.html
- create mode 100755 lab-7/templates/footer.html
- create mode 100755 lab-7/templates/form_fluck.html
- create mode 100755 lab-7/templates/header.html
- create mode 100755 lab-7/templates/serve_cat.html
- create mode 100644 lab-8/README.md
- create mode 100755 lab-8/cgi-bin/config.py
- create mode 100755 lab-8/cgi-bin/login.py
- create mode 100755 lab-8/cgi-bin/splash.py
- create mode 100755 lab-8/cgi-bin/utils.py
- create mode 100755 lab-8/simpleServer.py
- create mode 100644 lab-8/templates/cat_stats.html
- create mode 100755 lab-8/templates/footer.html
- create mode 100755 lab-8/templates/form_fluck.html
- create mode 100755 lab-8/templates/header.html
- create mode 100644 lab-8/templates/login.html
- create mode 100755 lab-8/templates/serve_cat.html
- create mode 100644 lab-9/README.md
- create mode 100755 lab-9/cgi-bin/components.py
- create mode 100755 lab-9/cgi-bin/config.py
- create mode 100755 lab-9/cgi-bin/register.py
- create mode 100755 lab-9/cgi-bin/splash.py
- create mode 100755 lab-9/cgi-bin/tests.py
- create mode 100755 lab-9/cgi-bin/utils.py
- create mode 100644 lab-9/css/style.css
- create mode 100644 lab-9/dump/catflucks/accounts.bson
- create mode 100644 lab-9/dump/catflucks/accounts.metadata.json
- create mode 100644 lab-9/dump/catflucks/flucks.bson
- create mode 100644 lab-9/dump/catflucks/flucks.metadata.json
- create mode 100644 lab-9/dump/catflucks/images.bson
- create mode 100644 lab-9/dump/catflucks/images.metadata.json
- create mode 100755 lab-9/simpleServer.py
- create mode 100644 lab-9/templates/cat_stats.html
- create mode 100755 lab-9/templates/footer.html
- create mode 100755 lab-9/templates/form_fluck.html
- create mode 100755 lab-9/templates/header.html
- create mode 100755 lab-9/templates/latest_fluck.html
- create mode 100644 lab-9/templates/login.html
- create mode 100755 lab-9/templates/most_flucked.html
- create mode 100644 lab-9/templates/register.html
- create mode 100755 lab-9/templates/serve_cat.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git commit -am "shows users"
- On branch master
- Your branch is ahead of 'origin/master' by 2 commits.
- (use "git push" to publish your local commits)
- Untracked files:
- nohup.out
- templates/nohup.out
- templates/orders.html
- ../nohup.out
- nothing added to commit but untracked files present
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git add *
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ git push git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- Enter passphrase for key '/home/aalw001/.ssh/id_rsa':
- Counting objects: 12, done.
- Compressing objects: 100% (12/12), done.
- Writing objects: 100% (12/12), 2.84 KiB | 0 bytes/s, done.
- Total 12 (delta 6), reused 0 (delta 0)
- To git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- 9c3f491..be709b7 master -> master
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ ls
- app.py databse.db nohup.out __pycache__ static templates vs_url_for.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ cd templates/
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ ls
- index.html login.html nohup.out orders.html signup.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ git add orders.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ git commit -am "order html"
- [master 0244189] order html
- 3 files changed, 163 insertions(+)
- create mode 100644 myOwn/nohup.out
- create mode 100644 myOwn/templates/nohup.out
- create mode 100644 myOwn/templates/orders.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ git push git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- Enter passphrase for key '/home/aalw001/.ssh/id_rsa':
- Counting objects: 7, done.
- Compressing objects: 100% (7/7), done.
- Writing objects: 100% (7/7), 1.85 KiB | 0 bytes/s, done.
- Total 7 (delta 2), reused 0 (delta 0)
- To git@gitlab.doc.gold.ac.uk:aalw001/term-2-labs.git
- be709b7..0244189 master -> master
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ cd ..
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ ls
- app.py databse.db nohup.out __pycache__ static templates vs_url_for.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ cd templates/
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ vim orders.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ vim total.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ cd ..
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ mysql -u root -p
- Enter password:
- ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 192
- Server version: 5.7.21-0ubuntu0.16.04.1 (Ubuntu)
- Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> use my_app
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- mysql> show tables
- -> ;
- +------------------+
- | Tables_in_my_app |
- +------------------+
- | orders |
- | users |
- +------------------+
- 2 rows in set (0.00 sec)
- mysql> exit
- Bye
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 193
- Server version: 5.7.21-0ubuntu0.16.04.1 (Ubuntu)
- Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> use my_app
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- mysql> show tables;
- +------------------+
- | Tables_in_my_app |
- +------------------+
- | orders |
- | users |
- +------------------+
- 2 rows in set (0.00 sec)
- mysql> select * from orders;
- +---------+-------+--------+
- | orderID | text | userID |
- +---------+-------+--------+
- | 1 | shoes | 1 |
- +---------+-------+--------+
- 1 row in set (0.00 sec)
- mysql> exit
- Bye
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ cd templates/
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ vim index.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ vim total.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ cd ..
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ vim app.py
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ mysql -u root -p
- Enter password:
- Welcome to the MySQL monitor. Commands end with ; or \g.
- Your MySQL connection id is 196
- Server version: 5.7.21-0ubuntu0.16.04.1 (Ubuntu)
- Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
- Oracle is a registered trademark of Oracle Corporation and/or its
- affiliates. Other names may be trademarks of their respective
- owners.
- Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
- mysql> show my_app
- -> ;
- ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'my_app' at line 1
- mysql> use my_app
- Reading table information for completion of table and column names
- You can turn off this feature to get a quicker startup with -A
- Database changed
- mysql> show tables;
- +------------------+
- | Tables_in_my_app |
- +------------------+
- | orders |
- | users |
- +------------------+
- 2 rows in set (0.00 sec)
- mysql> grant select on orders to 'admin'@'localhost';
- Query OK, 0 rows affected (0.00 sec)
- mysql> grant insert on orders to 'admin'@'localhost';
- Query OK, 0 rows affected (0.00 sec)
- mysql> exit
- Bye
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn$ cd templates/
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ ls
- index.html login.html nohup.out orders.html signup.html total.html
- aalw001@doc168:~/dnw/term-2-lab/lab-exercises/term-2-labs/myOwn/templates$ vim orders.html
- {% extends "bootstrap/base.html" %}
- {% import "bootstrap/wtf.html" as wtf %}
- {% block title %}
- Orders
- {% endblock %}
- {% block styles %}
- {{super()}}
- <link rel="stylesheet" href="{{url_for('.static', filename='signin.css')}}">
- <link rel="stylesheet" href="{{url_for('.static', filename='bootstrap.css')}}">
- {% endblock %}
- {% block content %}
- <nav class="navbar navbar-inverse navbar-fixed-top">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="#">Ahmed's App</a>
- </div>
- <div id="navbar" class="collapse navbar-collapse">
- <ul class="nav navbar-nav">
- <li><a href="#">Home</a></li>
- <li><a href="{{ url_for('login') }}">Login</a></li>
- <li><a href="{{ url_for('signup') }}">Sign Up</a></li>
- </ul>
- </div><!--/.nav-collapse -->
- </div>
- </nav>
- <div class="container">
- <h1>List of all Users</h1>
- <table class="table">
- <thead>
- <tr>
- <th scope="col">#</th>
- <th scope="col">First</th>
- <th scope="col">Last</th>
- <th scope="col">Email</th>
- </tr>
- </thead>
- <tbody>
- {% for orders in form %}
- <tr>
- <th scope="row">{{orders.id}}</th>
- <th scope="row">{{orders.text}}</th>
- <th scope="row">{{orders.userID}}</th>
- </tr>
- {% endfor %}
- </tbody>
- </div> <!-- /container -->
- {% endblock %}
Add Comment
Please, Sign In to add comment