summaryrefslogtreecommitdiff
path: root/program/management/commands
diff options
context:
space:
mode:
Diffstat (limited to 'program/management/commands')
-rw-r--r--program/management/commands/importhosts.py4
-rw-r--r--program/management/commands/importnotes.py4
-rw-r--r--program/management/commands/importprogramslots.py2
-rw-r--r--program/management/commands/importshows.py2
4 files changed, 6 insertions, 6 deletions
diff --git a/program/management/commands/importhosts.py b/program/management/commands/importhosts.py
index 0f1b154..dcdf4be 100644
--- a/program/management/commands/importhosts.py
+++ b/program/management/commands/importhosts.py
@@ -2,7 +2,7 @@ from django.core.management.base import NoArgsCommand
import MySQLdb
-from program.models import Host
+from helsinki.program.models import Host
USER = 'helsinki'
PASSWD = 'helsinki'
@@ -31,4 +31,4 @@ WHERE letzter_termin > current_date AND macher != '' AND titel NOT LIKE 'Musikpr
cursor.close()
connection.close()
- print '%i hosts imported' % counter \ No newline at end of file
+ print '%i hosts imported' % counter
diff --git a/program/management/commands/importnotes.py b/program/management/commands/importnotes.py
index da2f66c..a8030ec 100644
--- a/program/management/commands/importnotes.py
+++ b/program/management/commands/importnotes.py
@@ -5,7 +5,7 @@ from django.utils.html import clean_html, strip_tags
import MySQLdb
-from program.models import Note, Show, TimeSlot
+from helsinki.program.models import Note, Show, TimeSlot
USER = 'helsinki'
PASSWD = 'helsinki'
@@ -59,4 +59,4 @@ WHERE n.sendung_id in (SELECT id FROM sendungen WHERE letzter_termin > current_d
cursor.close()
connection.close()
- print '%i notes imported' % counter \ No newline at end of file
+ print '%i notes imported' % counter
diff --git a/program/management/commands/importprogramslots.py b/program/management/commands/importprogramslots.py
index 904036e..4d71afa 100644
--- a/program/management/commands/importprogramslots.py
+++ b/program/management/commands/importprogramslots.py
@@ -5,7 +5,7 @@ from django.utils.html import strip_tags
from datetime import time
import MySQLdb
-from program.models import Show, ProgramSlot, RRule
+from helsinki.program.models import Show, ProgramSlot, RRule
USER = 'helsinki'
PASSWD = 'helsinki'
diff --git a/program/management/commands/importshows.py b/program/management/commands/importshows.py
index 6efbb65..9fee4ef 100644
--- a/program/management/commands/importshows.py
+++ b/program/management/commands/importshows.py
@@ -5,7 +5,7 @@ from django.utils.html import clean_html, strip_tags
import MySQLdb
-from program.models import BroadcastFormat, Host, Show
+from helsinki.program.models import BroadcastFormat, Host, Show
USER = 'helsinki'
PASSWD = 'helsinki'