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
ca109519
Commit
ca109519
authored
Aug 15, 2013
by
fred
Browse files
emissions/episodes: reformat note about future languages field
parent
d787cddf
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikdb/emissions/models.py
View file @
ca109519
...
...
@@ -26,7 +26,8 @@ class Emission(models.Model):
text
=
RichTextField
(
null
=
True
)
archived
=
models
.
BooleanField
(
default
=
False
)
categories
=
models
.
ManyToManyField
(
Category
)
#langs? (HOW? Must be an array of multiples choices!)
# XXX: languages (models.ManyToManyField(Language))
duration
=
models
.
IntegerField
(
default
=
60
)
...
...
@@ -68,7 +69,8 @@ class Episode(models.Model):
slug
=
models
.
SlugField
()
description
=
RichTextField
(
null
=
True
,
blank
=
True
)
text
=
RichTextField
(
null
=
True
)
#langs?
# XXX: languages (models.ManyToManyField(Language))
def
__unicode__
(
self
):
return
self
.
title
...
...
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