Netsphere

Netsphere

Chapter 11: Form Fundamentals

Jun 7, 20211 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.

Chapter 11: Form Fundamentals