Adding a CMS to Your Pyramid Web App Transcripts
Chapter: Redirects and the admin section
Lecture: Cleaning up short urls
0:00 Now I give you '/courses' that works. Reduce slash classes. Oh, it remembers and remembers the redirect too bad.
0:08 Oh, you know, it's not that it remembers. I believe we're not deleting out the old one, but don't worry about it.
0:13 You know, it's it's not really that big of a deal. I guess we could go in and just fix it really quick, couldn't we?
0:16 Go and find the short url, that was originally there. We can remove that from our database using that command right there.
0:30 Whatever. It's current. short url is, take it out and then we're gonna put it back in right here with its new one. Let's go through that one more time.
0:40 So we'll go over here, edit this Change it to classes Now courses doesn't work, but 'classes' still works. Put it back. Classes should no longer work.
0:57 Nope, but you know, of course, here we go.