Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikdb
Commits
afd4df05
Commit
afd4df05
authored
Aug 27, 2013
by
Simon Daron
Browse files
Styling week
parent
88f4ba01
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikdb/emissions/views.py
View file @
afd4df05
...
...
@@ -121,6 +121,7 @@ class EpisodeDetailView(DetailView):
context
[
'soundfiles'
]
=
SoundFile
.
objects
.
filter
(
episode
=
self
.
object
.
id
)
context
[
'add_soundfile_form'
]
=
SoundFileForm
(
initial
=
{
'episode'
:
self
.
object
})
context
[
'add_diffusion_form'
]
=
DiffusionForm
(
initial
=
{
'episode'
:
self
.
object
})
context
[
'emission'
]
=
Emission
.
objects
.
get
(
slug
=
self
.
kwargs
.
get
(
'emission_slug'
))
return
context
...
...
Write
Preview
Supports
Markdown
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