Very complex question, and as presented, the facts are not all there. I would go back to your bk attorney and have him give you the answer. Here is the simple breakdown (simple meaning probably not 100% correct).
Any rent you owed them before filing, you don't pay.
Any rent you owe them after filing, you do pay.
Now, if there were assumptions of the lease or other related activities that occured during the course of your bankruptcy, that is beyond the scope of my simple answers.
The above is general legal and business analysis. It is not "legal advise" but analysis, and different lawyers may analyse this matter differently, especially if there are additional facts not reflected in the question. I am not your attorney until retained by a written retainer agreement signed by both of us. I am only licensed in California. See also avvo.com terms and conditions item 9, incorporated as if it was reprinted here. Please visit my web site: www.avanesianlaw.com for more information about my services.
Just keep in mind that the landlord has the right to evict you now that you are post-discharge. Also you are going to be liable for any rent due after filing of the case because you're still using the apartment.
The information provided in this post is not "legal advice." Rather it is general information on common legal issues. If you have questions concerning your specific situation, it is always best to consult an attorney in your area.