Skip to content

Commit

Permalink
Merge pull request #1 from nonZero/master
Browse files Browse the repository at this point in the history
:-)
  • Loading branch information
pwalsh committed Mar 27, 2014
2 parents a73d82c + 8bdd5e2 commit a37e8e7
Show file tree
Hide file tree
Showing 147 changed files with 6,617 additions and 1,649 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ Boaz-Chen_OPEN-COMMUNITY/
/.idea/
build
media/community_logo
whoosh_index/
9 changes: 8 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,21 @@ django-floppyforms==1.1
South==0.7.6

# general libs
pillow==2.1.0
pillow==2.3.0
bleach==1.2.2

#search
Whoosh==2.6.0
django-haystack==2.1.0

# dev stuff
django-extensions==1.1.1
django-debug-toolbar==0.9.4
django-nose==1.1
django-taggit==0.11.2
ipython
--allow-external python-graph-core
--allow-unverified python-graph-core
python-graph-core==1.8.2
# fabric
# fabric-virtualenv
1 change: 1 addition & 0 deletions src/communities/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class CommunityAdmin(ModelAdmin):
'issue_ranking_enabled',
'allow_links_in_emails',
'register_missing_board_members',
'email_invitees',
)

inlines = [CommunityMembershipInline]
Expand Down
13 changes: 13 additions & 0 deletions src/communities/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
from ocd.formfields import HTMLArea, OCSplitDateTime, OCCheckboxSelectMultiple
from users.models import OCUser, Membership
import floppyforms as forms
from haystack.forms import SearchForm, ModelSearchForm


class EditUpcomingMeetingForm(forms.ModelForm):

Expand Down Expand Up @@ -124,3 +126,14 @@ def __init__(self, *args, **kwargs):
self.fields['upcoming_meeting_participants'].queryset = self.instance.get_members()
self.fields['upcoming_meeting_participants'].label = ""


class CommunitySearchForm(ModelSearchForm):
pass
# def search(self):
# # First, store the SearchQuerySet received from other processing.
# sqs = super(DateRangeSearchForm, self).search()
#
# if not self.is_valid():
# return self.no_query_found()
#
# return sqs
Binary file modified src/communities/locale/he/LC_MESSAGES/django.mo
Binary file not shown.
Loading

0 comments on commit a37e8e7

Please sign in to comment.