Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
radiopanik
django-panik-nonstop
Commits
612cfe33
Commit
612cfe33
authored
Feb 26, 2015
by
fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add on_air field to soma log lines
parent
e1d70575
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
nonstop/migrations/0002_somalogline_on_air.py
nonstop/migrations/0002_somalogline_on_air.py
+20
-0
nonstop/models.py
nonstop/models.py
+1
-0
No files found.
nonstop/migrations/0002_somalogline_on_air.py
0 → 100644
View file @
612cfe33
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.db
import
models
,
migrations
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'nonstop'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'somalogline'
,
name
=
'on_air'
,
field
=
models
.
NullBooleanField
(
verbose_name
=
b
'On Air'
),
preserve_default
=
True
,
),
]
nonstop/models.py
View file @
612cfe33
...
...
@@ -63,3 +63,4 @@ class SomaLogLine(models.Model):
filepath
=
models
.
ForeignKey
(
NonstopFile
)
play_timestamp
=
models
.
DateTimeField
()
on_air
=
models
.
NullBooleanField
(
'On Air'
)
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