diff gpp/legacy/management/commands/import_old_links.py @ 412:639cfdf59167

Created import scripts for downloads and download comments.
author Brian Neal <bgneal@gmail.com>
date Thu, 07 Apr 2011 00:59:10 +0000
parents 0bf5a5677067
children
line wrap: on
line diff
--- a/gpp/legacy/management/commands/import_old_links.py	Sat Apr 02 01:17:19 2011 +0000
+++ b/gpp/legacy/management/commands/import_old_links.py	Thu Apr 07 00:59:10 2011 +0000
@@ -25,7 +25,7 @@
         try:
             self.default_user = User.objects.get(pk=2)
         except User.DoesNotExist:
-            raise CommandError("Need a default user with pk=1")
+            raise CommandError("Need a default user with pk=2")
 
         try:
             with open(filename, "rb") as f: