I'm working on an application where you can browse folders and files in a treemap view. Since I'm working with a lot of data I don't want to load all of the JSON data at once, instead I display all files for a particular folder when the folder is clicked.
As it is now, I take the folder id and include it in the url, like so www.mysite.org/1
which is mapped in Django's urlconf to a particular view serving file json for that folder id.
What is the best way to go, when should I pattern match with the urlconf, and when should I use GET/POST?