summaryrefslogtreecommitdiff
path: root/postgresqleu/util/backendviews.py
diff options
context:
space:
mode:
authorDavid Micallef2021-02-16 11:25:06 +0000
committerMagnus Hagander2021-02-16 11:25:06 +0000
commitfd8711c685cea81060046f0e9582aa128f7b2694 (patch)
tree4ff2da829c205ea6164c1d8663176304d6acc6f2 /postgresqleu/util/backendviews.py
parentc4f52daeefb636f2920313980fa92694555369a6 (diff)
Don't pass formnote into newform viewing
"newform" is the special view that's only used for the "you need a small form before you get to the big form for new records", and doesn't require the inheritance that gives formnote. This was mistakenly included in 83bb11653 (which correctly did it for the regular forms)
Diffstat (limited to 'postgresqleu/util/backendviews.py')
-rw-r--r--postgresqleu/util/backendviews.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/postgresqleu/util/backendviews.py b/postgresqleu/util/backendviews.py
index 5b269590..abe6dedb 100644
--- a/postgresqleu/util/backendviews.py
+++ b/postgresqleu/util/backendviews.py
@@ -73,7 +73,6 @@ def backend_process_form(request, urlname, formclass, id, cancel_url='../', save
'basetemplate': basetemplate,
'topadmin': topadmin,
'form': newform,
- 'note': form.formnote,
'whatverb': 'Create new',
'what': formclass._verbose_name(),
'savebutton': 'Create',