I have the following urls:
browse/college
browse/department
browse/subjects
I have Tag model where College, Department and Subject are all subclasses on Tag. All the urls will call a single view.
I want to create a view called browse_specfic_tag(request, model_name)
I was thinking of converting model name to model using get_model and do something like,
TagModel = get_model(model_name..)
but I am going to tie url name with model which might not be a good thing to do if I decided to rename either of them.
Any better way to do this?