From 67b202cf6b438e7bb8687302acf1e1884c2d0bda Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Thu, 24 Mar 2011 17:03:46 +0100 Subject: import correction 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' -- cgit v0.10.2