Building Data-Driven Web Apps with Pyramid and SQLAlchemy Transcripts
Chapter: User input and HTML forms
Lecture: Attempt to register
0:00 It looks we'll be able to call create_user over from our Account Controller but, you know, let's actually try it. Let's go over here and register.
0:09 Actually, let's first look in the database and see that there is no user with that name. So we'll check the email equals firstname.lastname@example.org.
0:27 Zero rows, okay. Now let's go register. Alright, it seemed to work. Seemed to register. Rerun our query. Boom, look at that. User 85 has been created.
0:42 Here's Michael Kennedy, there's the email address I passed. We got our default values of created_date.
0:47 Last logon, login we didn't set the profile image but I don't really know what to put there for now. So we're going to leave that alone.
0:54 But check out this password. That is one gnarly-looking password. So apparently 150,000 times some custom salt
1:01 a whole bunch of crazy so this is really really good. This is, this should be totally fine for our password story.
1:08 Oh, sure looks like we're able to create an account and register. Maybe we should try to login.