Others have already answered that Liferay is a Java application. Let me add that there are definitely numerous ways to utilize other languages to customize liferay.
However, as you ask about what language to learn first be warned that a portal container is not the easiest environment to learn and - in addition to the language - you'll have to learn a great deal about the specifications implemented, the coding style and other used frameworks.
In code size, Liferay is huge. If you start to learn one of the two languages there are two aspects:
- Regarding Liferay, support in the forums on www.liferay.com is best in Java, I've rarely seen support for other languages (neither questions nor answers)
- Regarding your personal learning curve: If you're working closely together with django folks you might get better support for them in django.
Basically: You have to decide for yourself. Learning a new language and a new framework/server/environment is tough.