Changeset 9882429 for asadb/groups
- Timestamp:
- Oct 26, 2012, 2:07:41 PM (13 years ago)
- Branches:
- master, space-access, stable, stage
- Children:
- 6f0e814
- Parents:
- 7077b1d
- git-author:
- Alex Dehnert <adehnert@…> (10/26/12 14:07:41)
- git-committer:
- Alex Dehnert <adehnert@…> (10/26/12 14:07:41)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asadb/groups/diffs.py
r7077b1d r9882429 248 248 fundings = groups.models.GroupFunding.objects 249 249 fund_pk = fundings.get(slug=funding_slug).pk 250 print "funded_pred: %s %s" % (class_pk, fund_pk)251 250 def pred(version, fields): 252 251 return fields['group_class'] == class_pk and fields['group_funding'] == fund_pk
Note: See TracChangeset
for help on using the changeset viewer.