resolved conflicts

This commit is contained in:
unknown 2011-10-08 03:03:05 -04:00
commit 8d4d1f0a0e
912 changed files with 155 additions and 22 deletions

0
.bzrignore Normal file → Executable file
View File

0
COPYING Normal file → Executable file
View File

0
README Normal file → Executable file
View File

0
fabfile.py vendored Normal file → Executable file
View File

0
itf/README.txt Normal file → Executable file
View File

0
itf/TODO Normal file → Executable file
View File

0
itf/aldensNotes.txt Normal file → Executable file
View File

0
itf/api/__init__.py Normal file → Executable file
View File

0
itf/api/actions.py Normal file → Executable file
View File

0
itf/api/models.py Normal file → Executable file
View File

0
itf/api/tests.py Normal file → Executable file
View File

0
itf/api/views.py Normal file → Executable file
View File

0
itf/app/__init__.py Normal file → Executable file
View File

0
itf/app/admin.py Normal file → Executable file
View File

0
itf/app/models.py Normal file → Executable file
View File

0
itf/app/tests.py Normal file → Executable file
View File

0
itf/app/views.py Normal file → Executable file
View File

0
itf/bestpractices/__init__.py Normal file → Executable file
View File

0
itf/bestpractices/admin.py Normal file → Executable file
View File

0
itf/bestpractices/forms.py Normal file → Executable file
View File

9
itf/bestpractices/models.py Normal file → Executable file
View File

@ -43,11 +43,16 @@ class BestPractice(ItfModel):
'quick_howto': self.quick_howto,
'category': self.category.name,
'category_id': self.category.id,
'images': self.get_images()
'images': self.get_images(),
'links': BestPracticeLink.objects.filter(bestpractice=self)
}
def main_image(self):
return self.get_images()[0]
imgs = self.get_images()
if len(imgs) > 0:
return imgs[0]
else:
return None
def list_dict(self):
return {

View File

@ -0,0 +1,24 @@
from haystack.indexes import *
from haystack import site
from models import *
class BestPracticeIndex(SearchIndex):
text = CharField(document=True, use_template=True)
title = CharField(model_attr='title')
story = CharField(model_attr='story')
guideline = CharField(model_attr='guideline')
law = CharField(model_attr='law')
theatre = CharField(model_attr='theatre')
quick_howto = CharField(model_attr='quick_howto')
# pub_date = DateTimeField(model_attr='pub_date')
category = CharField(model_attr='category')
# added = DateTimeField(model_attr='added')
'''
def index_queryset(self):
"""Used when the entire index for model is updated."""
return Note.objects.filter(pub_date__lte=datetime.datetime.now())
'''
site.register(BestPractice, BestPracticeIndex)

0
itf/bestpractices/templatetags/__init__.py Normal file → Executable file
View File

0
itf/bestpractices/templatetags/guidelines.py Normal file → Executable file
View File

0
itf/bestpractices/tests.py Normal file → Executable file
View File

0
itf/bestpractices/views.py Normal file → Executable file
View File

0
itf/boxes/__init__.py Normal file → Executable file
View File

0
itf/boxes/admin.py Normal file → Executable file
View File

0
itf/boxes/models.py Normal file → Executable file
View File

0
itf/boxes/tests.py Normal file → Executable file
View File

0
itf/boxes/views.py Normal file → Executable file
View File

0
itf/erang/__init__.py Normal file → Executable file
View File

0
itf/erang/admin.py Normal file → Executable file
View File

0
itf/erang/models.py Normal file → Executable file
View File

0
itf/erang/tests.py Normal file → Executable file
View File

0
itf/erang/views.py Normal file → Executable file
View File

0
itf/erang_organised/__init__.py Normal file → Executable file
View File

0
itf/erang_organised/admin.py Normal file → Executable file
View File

0
itf/erang_organised/models.py Normal file → Executable file
View File

0
itf/erang_organised/templatetags/__init__.py Normal file → Executable file
View File

0
itf/erang_organised/templatetags/erangtags.py Normal file → Executable file
View File

0
itf/erang_organised/tests.py Normal file → Executable file
View File

0
itf/erang_organised/urls.py Normal file → Executable file
View File

0
itf/erang_organised/views.py Normal file → Executable file
View File

0
itf/festival/__init__.py Normal file → Executable file
View File

0
itf/festival/forms.py Normal file → Executable file
View File

0
itf/festival/models.py Normal file → Executable file
View File

0
itf/festival/tests.py Normal file → Executable file
View File

0
itf/festival/urls.py Normal file → Executable file
View File

0
itf/festival/utils.py Normal file → Executable file
View File

0
itf/festival/views.py Normal file → Executable file
View File

0
itf/frontpage/__init__.py Normal file → Executable file
View File

0
itf/frontpage/admin.py Normal file → Executable file
View File

0
itf/frontpage/context_processors.py Normal file → Executable file
View File

0
itf/frontpage/models.py Normal file → Executable file
View File

0
itf/frontpage/templatetags/__init__.py Normal file → Executable file
View File

0
itf/frontpage/templatetags/itftags.py Normal file → Executable file
View File

0
itf/frontpage/tests.py Normal file → Executable file
View File

0
itf/frontpage/views.py Normal file → Executable file
View File

0
itf/insidepages/__init__.py Normal file → Executable file
View File

0
itf/insidepages/admin.py Normal file → Executable file
View File

0
itf/insidepages/models.py Normal file → Executable file
View File

0
itf/insidepages/tests.py Normal file → Executable file
View File

0
itf/insidepages/urls.py Normal file → Executable file
View File

0
itf/insidepages/views.py Normal file → Executable file
View File

0
itf/itfcore/forms.py Normal file → Executable file
View File

0
itf/itfcore/models.py Normal file → Executable file
View File

0
itf/itfcore/urls.py Normal file → Executable file
View File

0
itf/itfcore/views.py Normal file → Executable file
View File

0
itf/meetingdata.json Normal file → Executable file
View File

0
itf/newsfeed/__init__.py Normal file → Executable file
View File

0
itf/newsfeed/admin.py Normal file → Executable file
View File

0
itf/newsfeed/models.py Normal file → Executable file
View File

0
itf/newsfeed/tests.py Normal file → Executable file
View File

0
itf/newsfeed/views.py Normal file → Executable file
View File

0
itf/profiles/__init__.py Normal file → Executable file
View File

0
itf/profiles/models.py Normal file → Executable file
View File

0
itf/profiles/tests.py Normal file → Executable file
View File

0
itf/profiles/utils.py Normal file → Executable file
View File

0
itf/profiles/views.py Normal file → Executable file
View File

0
itf/quotes/__init__.py Normal file → Executable file
View File

0
itf/quotes/models.py Normal file → Executable file
View File

0
itf/quotes/tests.py Normal file → Executable file
View File

0
itf/quotes/views.py Normal file → Executable file
View File

0
itf/scriptbank/__init__.py Normal file → Executable file
View File

0
itf/scriptbank/admin.py Normal file → Executable file
View File

0
itf/scriptbank/models.py Normal file → Executable file
View File

0
itf/scriptbank/tests.py Normal file → Executable file
View File

0
itf/scriptbank/views.py Normal file → Executable file
View File

0
itf/search_sites.py Normal file → Executable file
View File

0
itf/settings.py Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/.htaccess Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/CHANGES.html Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/INSTALL.html Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/LICENSE.html Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/_samples/ajax.html Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/_samples/api.html Normal file → Executable file
View File

0
itf/static/ckeditor/ckeditor/_samples/api_dialog.html Normal file → Executable file
View File

View File

0
itf/static/ckeditor/ckeditor/_samples/asp/advanced.asp Normal file → Executable file
View File

Some files were not shown because too many files have changed in this diff Show More