Modified get/brief and get/medium

Fixed pagebrief and pagemedium in view.py
Added "debug " in url.py
Let serializer.py give parent_ids