If you are low on time, and have to choose one, just choose the one, for which you know how to program. If you know python, learn django, if you know ruby, learn rails. Both have excellent tutorials, and reference materials, RoR rules in screencasts, django rules documentation and tutorials.
If you have a lot of time on hand, say 3-4 months, then learn both. What's wrong with that?