log_message. Route handler or application helper. This docstring was expanded to make future maintenance easier. Args: self: Parameter. format: Parameter. *args: Parameter. Returns: Varies.
(self, format, *args)
| 17048 | @login_required |
| 17049 | def profiler_create(): |
| 17050 | """profiler_create. |
| 17051 | |
| 17052 | Route handler or application helper. |
| 17053 | |
| 17054 | This docstring was expanded to make future maintenance easier. |
| 17055 | |
| 17056 | Returns: |
| 17057 | Varies. |
| 17058 | """ |
| 17059 | owner = current_user() |
| 17060 | first = (request.form.get("first") or "").strip() |
| 17061 | last = (request.form.get("last") or "").strip() |
| 17062 | info = (request.form.get("info") or "").strip() |
| 17063 | opt = profiler_collect_optional(request.form) |
| 17064 | files = request.files.getlist("att") |
| 17065 | |
| 17066 | if not first or not last or not info: |
| 17067 | flash("All fields required.") |
| 17068 | return redirect(url_for("profiler")) |
nothing calls this directly
no outgoing calls
no test coverage detected