Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Sith
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AE
Sith
Commits
25225fc4
Verified
Commit
25225fc4
authored
Oct 09, 2019
by
Sli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
com: fix error when editing poster while being admin
parent
7be9077f
Pipeline
#2068
passed with stage
in 27 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
com/views.py
com/views.py
+2
-1
No files found.
com/views.py
View file @
25225fc4
...
@@ -739,7 +739,8 @@ class PosterEditBaseView(UpdateView):
...
@@ -739,7 +739,8 @@ class PosterEditBaseView(UpdateView):
def
get_context_data
(
self
,
**
kwargs
):
def
get_context_data
(
self
,
**
kwargs
):
kwargs
=
super
(
PosterEditBaseView
,
self
).
get_context_data
(
**
kwargs
)
kwargs
=
super
(
PosterEditBaseView
,
self
).
get_context_data
(
**
kwargs
)
kwargs
[
"club"
]
=
kwargs
.
get
(
"club"
,
self
.
club
)
if
hasattr
(
self
,
"club"
):
kwargs
[
"club"
]
=
self
.
club
return
kwargs
return
kwargs
def
form_valid
(
self
,
form
):
def
form_valid
(
self
,
form
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment