Allow ConfigPageForms to return responses in save()

Review Request #9973 — Created May 23, 2018 and submitted

brennie
Djblets
release-1.0.x
9974
831b417...
djblets

ConfigPageForms can now return an HttpResponse in their save
method, which allows them to specify a response to return. This allows
individual forms to specify, e.g., custom redirects.

Used with an upcoming Review Board change.

Description From Last Updated

Typo in the description: "an response" -> "a response"

chipx86chipx86

Can you add docs for save() that specifies this as an option?

chipx86chipx86

F821 undefined name 'HttpResponse'

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

brennie
david
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. Typo in the description: "an response" -> "a response"

  3. Can you add docs for save() that specifies this as an option?

  4. 
      
brennie
chipx86
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (e6520cc)
Loading...