Allow the register view to take extra form keyword arguments

Review Request #8191 — Created May 26, 2016 and submitted

Information

Djblets
release-0.10.x
87ec737...

Reviewers

djblets.auth.views.register now accepts a form_kwargs argument that
specifies a dictionary of keyword arguments to pass to the form class
upon instantiation. This allows more specialization of the form class
that is used and will allow us to avoid the factory pattern when extra
data is required by the form.

Used this in an upcoming Splat patch.

reviewbot
  1. Tool: PEP8 Style Checker
    Processed Files:
        djblets/auth/views.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        djblets/auth/views.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/auth/views.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/auth/views.py
    
    
  2. 
      
brennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/auth/views.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/auth/views.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (a4ee34d)
Loading...