Skip to content
Browse files

importer

  • Loading branch information...
1 parent 3befab9 commit 3c25d2448a4353fa2b62cb70cf97c3fa05dcfffc @ostronom ostronom committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 zavtra/content/management/commands/import_old.py
View
2 zavtra/content/management/commands/import_old.py
@@ -27,7 +27,7 @@ def handle(self, *args, **kwargs):
'special_project': Rubric.objects.create(title=u'Спецпроект')
}
Rubric.objects.create(title=u'Колонки', slug='columns', parent=self.top_rubrics['site'])
- self.conn = psycopg2.connect("dbname=old_zavtra user=root")
+ self.conn = psycopg2.connect("dbname=%s user=%s" % args)
self.migrate_rubrics()
self.migrate_authors()
self.migrate_topics()

0 comments on commit 3c25d24

Please sign in to comment.
Something went wrong with that request. Please try again.