projects
/
pgweb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417bb6e
)
Fix spelling error
author
Magnus Hagander
<magnus@hagander.net>
Mon, 20 Apr 2020 07:45:01 +0000
(09:45 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Mon, 20 Apr 2020 08:49:33 +0000
(10:49 +0200)
pgweb/util/admin.py
patch
|
blob
|
blame
|
history
diff --git
a/pgweb/util/admin.py
b/pgweb/util/admin.py
index 26ba726b99d09e1166e5b2aff3b61ac8258f6dc8..f86a692df33321330fe22a7639cb112e877675d4 100644
(file)
--- a/
pgweb/util/admin.py
+++ b/
pgweb/util/admin.py
@@
-63,7
+63,7
@@
class PgwebAdmin(admin.ModelAdmin):
if not obj.org.email:
# Should not happen because we remove the form field. Thus
# a hard exception is ok.
- raise Exception("Organisation does not have an email, canot send notification!")
+ raise Exception("Organisation does not have an email, can
n
ot send notification!")
n = ModerationNotification()
n.objecttype = obj.__class__.__name__
n.objectid = obj.id