Hello all, for my current project, one very desirable customization is the 
addition of some sort of "database browsing" component.  Seeing it as 
peripherally related to Richard Fielding's inquiry, I worked on this a lot 
last week, and have something that basically works (you can see here 
<http://afrh.adamcfcox.com/search>) but could use a little help...

Behind the scenes, I've added a browse.py 
<https://github.com/mradamcox/afrh/blob/master/afrh/models/browse.py> file 
that will take an E55 node and construct a set of termFilter strings from 
all of the concepts in that domain.  Then that information is sent to the 
templates through the context processor.  (I was originally thinking of 
sending it to .js and using ko but did not have the fortitude to muscle 
through that.)  Now, I've hacked together a url using those term filter 
strings and a new setting for the local domain, which yields this: 
href="http://{{local_domain}}/search?page=1&;
termFilter={{contents.term_filter}}" 
<https://github.com/mradamcox/afrh/blob/master/afrh/templates/views/saved-searches.htm#L19>.
 
However, this is not the Django way, so I'm wondering how I could use my 
termfilter string in a href="{% url search/...?... %}" format. Any help or 
thoughts on the whole process would be much appreciated.

Adam

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to