Two new laws governing foreclosure's effects on renters exist; one for CA generally and another specifically or the City of Los Angeles. (See link below). In short, since you are outside the City of Los Angeles, you have 60 days to vacate.
At the end of the day, the specifics of your situation are such that yours is a legal question and best handled by a licensed attorney. If you do not have someone, you can call Legal Aid (http://www.inlandlegal.org
) for additional help.
See the link below for additional info and resources. Best wishes, and sorry for the inconvenience you're experiencing. If you decide to purchase a home, or want to prepare to buy in the near future, don't hesitate to give me a call.
I just ran the numbers on a client yesterday and depending on your space needs and taste, mortgage payments as low as $900 -$1,100 are possible in today's market.