I never got any religious education. We got a subject which was called society study (literally translated). Besides politics, economics, the structure of government and law it also covered some religion. The other bit about religion I got was in history classes.
Other than that it was optional to do religion classes which my parents found a waste of time and I studied something else instead.
Very similar to my experience in Oz. I went to several primary schools, all state run, and only one had any sort of religion education. It consisted of the local priest (of whatever persuasion) coming to the school every week (or it may of only been every second week) being given a small, spare room and children being taken out of class for half an hour for their 'RE'. The numbers were small and really never impacted the class room. You didn't even know what religion they were attending.
I do remember my brother (and a quite a few of his class mates) going to religion, because it clashed with the weekly spelling bee or something.
In secondary school, various religions were covered in a secular way in Social Studies and History. The only time I remember any sort of religious presence at high school was at the beginning of the equivalent to 5th year. Some sort of 'Christian Foundation'(looking back they were probably a evangelical baptist crew) took over a couple of maths classes. We all sat there quietly and patiently, while they tried hard to appear 'cool and hip'. They respected us back, by not attempting to say a prayer or give us any sort of blessing. Life continued as normal once the bell rang.