diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-03-24 16:03:46 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-03-24 16:03:46 (GMT) |
commit | 67b202cf6b438e7bb8687302acf1e1884c2d0bda (patch) | |
tree | 18e5d1677b38e58b6d5a5b74e576b24186125d95 | |
parent | eeac26812b007ebed33248f677d8805a263acfa6 (diff) |
import correction
-rw-r--r-- | program/management/commands/importhosts.py | 4 | ||||
-rw-r--r-- | program/management/commands/importnotes.py | 4 | ||||
-rw-r--r-- | program/management/commands/importprogramslots.py | 2 | ||||
-rw-r--r-- | program/management/commands/importshows.py | 2 |
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' |