Skip to content
Myr

Fixed simple typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by unknown · committed by Armin Ronacher · parent 4559e4f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/wtforms.rst+1 added-1 removed
40 unmodified lines
41 user = User(form.username.data, form.email.data,42 form.password.data)43 db_session.add(user)44 flash('Thanks for registering')45 redirect(url_for('login'))45 return redirect(url_for('login'))46 return render_template('register.html', form=form)4748Notice that we are implying that the view is using SQLAlchemy here49(:ref:`sqlalchemy-pattern`) but this is no requirement of course. Adapt
66 unmodified lines