projects
/
pgeu-system.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49e3c7a
)
Fix dumb typo in attribute name
author
Magnus Hagander
<magnus@hagander.net>
Tue, 3 Sep 2024 13:55:52 +0000
(15:55 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Tue, 3 Sep 2024 13:56:39 +0000
(15:56 +0200)
This caused an error in the view when setting up a new oauth client
(such as a linkedin page). It happened *after* the actual configuration
was completed, so one just had to reload for things to work, but it
still shouldn't error like that.
postgresqleu/util/views.py
patch
|
blob
|
blame
|
history
diff --git
a/postgresqleu/util/views.py
b/postgresqleu/util/views.py
index bab15bf8c8f72fada57cb5f0a475ce562dc0fc55..b7b91ce0538940f9a94ed814e9ba09258871fb09 100644
(file)
--- a/
postgresqleu/util/views.py
+++ b/
postgresqleu/util/views.py
@@
-37,7
+37,7
@@
def oauth_return(request, providerid):
if err:
return HttpResponse(err)
else:
- if provider.series_
_
id:
+ if provider.series_id:
return HttpResponseRedirect('{}/events/admin/_series/{}/messaging/{}/'.format(
settings.SITEBASE,
provider.series_id,