Chapter 11: Form Fundamentals

Chapter 11: Form Fundamentals

·

1 min read

Sometimes in theclean(), cleanFOO() or save() methods of a Django form, we need to have additional form instance attributes available. A sample case for this is having the request.userobject available. Here is a simple taster-driven example.