~dylanmccall/harvest/gsoc-client-stuff

« back to all changes in this revision

Viewing changes to harvest/opportunities/views.py

  • Committer: Dylan McCall
  • Date: 2010-06-10 05:01:46 UTC
  • Revision ID: dylanmccall@gmail.com-20100610050146-kza197w8zmiz97ty
Basic functionality for a filter to access the root FilterSystem object

Cleanup for FilterSystem. (The code under filters.py feels a bit more sensible).

Split Filter.render and Filter.render_html

New Filter.get_value function

Improved docstrings

Show diffs side-by-side

added added

removed removed

Lines of Context:
128
128
    filters_pkg = filters.get('pkg')
129
129
    
130
130
    packages_list = filters_pkg.process_queryset(models.SourcePackage.objects.all())
131
 
    print(packages_list)
 
131
    print("\nopportunities_filter. %s packages found: %s\n" % (packages_list.count(), packages_list))
132
132
    
133
133
    context = {
134
134
        'packages_list': packages_list,