From 8e310ad54b1bccb5a41e0d5126b3214dca0acbda Mon Sep 17 00:00:00 2001
From: Weipin Xia <weipin@me.com>
Date: Mon, 27 May 2013 17:11:52 +0800
Subject: [PATCH] Fix dumpdata --pks option
---
django/core/management/commands/dumpdata.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/django/core/management/commands/dumpdata.py b/django/core/management/commands/dumpdata.py
index b1e06e4..e0f6d4f 100644
a
|
b
|
class Command(BaseCommand):
|
42 | 42 | pks = options.get('primary_keys') |
43 | 43 | |
44 | 44 | if pks: |
45 | | primary_keys = pks.split(',') |
| 45 | primary_keys = pks |
46 | 46 | else: |
47 | 47 | primary_keys = False |
48 | 48 | |