From d47cd39a85eda8bbd01a6d37e81fab61fef5aa0b Mon Sep 17 00:00:00 2001 From: rain Date: Wed, 24 May 2023 17:41:28 -0500 Subject: [PATCH] I am a cybertruck --- app/__pycache__/views.cpython-311.pyc | Bin 2424 -> 1813 bytes app/views.py | 23 ----------------------- 2 files changed, 23 deletions(-) diff --git a/app/__pycache__/views.cpython-311.pyc b/app/__pycache__/views.cpython-311.pyc index 347302277d044aa2e4fff5432f6087d5c59167db..3be26b8c178e60b624feb0628ceca63471474314 100644 GIT binary patch delta 355 zcmX|7u}T9$5S_Wr-d*l;ml%jfNF&%p3wuGWL@Y%DvW*1xMD#Y|CSsW;P0Di-JJIGW zA~yLM2^M~WW$c{25Ffl@-pu2%JM;Qu9KS_T0EEs%PwulUZVu<9o-l1rIhX{ z8`r$3NQtwT?Y(MJljUp28g!!=ul$<>8Oq9glrst>EhO%{KW?^ZiPL^Px69ZD%7m;7D);%wsVWBgv5>*^wi~QKEuVh(?@|ye5UCk?N=z z35ei^##Q+V^8lK+_BgOOW#VDy0-woi#B2H9q?Xb25US&je)<3|6R-y^ythk zk!H}JA>kkCn~ZF*d_t=u@eVbC@;zjw1dwhY6 z)ySzlofGK{Bxm6!^I*16PeD_aJ>_`v%GRTAnsK7d@9D>yb)s2El0_#``bL^Qtco|W zJO}v8=?f{vmGqZn%TI++z*7yjCH({=elEpL(O-ZCT9rQ~IsB#d%)RwR_h zbk%DHA$ZmFhg_@PfCB%f#0J|FF~&VX#!?S)V<0@8n#yAtJV8sDQoULRXKP}6=17}6 a#+4IX=?NmXdkD;L5ef5yOfh}0bpHaw`SpkZ diff --git a/app/views.py b/app/views.py index fd48a6f..e0ad64a 100644 --- a/app/views.py +++ b/app/views.py @@ -1,18 +1,6 @@ -""" -Flask Documentation: http://flask.pocoo.org/docs/ -Jinja2 Documentation: http://jinja.pocoo.org/2/documentation/ -Werkzeug Documentation: http://werkzeug.pocoo.org/documentation/ -This file creates your application. -""" - from app import app, db from flask import render_template, request, redirect, url_for, flash from app.models import target -# import sqlite3 - -### -# Routing for your application. -### @app.route('/') def home(): @@ -20,17 +8,6 @@ def home(): targets = db.session.query(target).all() return render_template('home.html', targets=targets) -### -# The functions below should be applicable to all Flask apps. -### - -@app.route('/.txt') -def send_text_file(file_name): - """Send your static text file.""" - file_dot_text = file_name + '.txt' - return app.send_static_file(file_dot_text) - - @app.after_request def add_header(response): """