Skip to content

Commit 5cfb0ae

Browse files
authored
Merge pull request #494 from pythonindia/revert-492-master
Revert "upgrade django to 1.8 #201"
2 parents 06b8f32 + b8057d9 commit 5cfb0ae

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: python
22
sudo: false
33
python:
44
- '2.7'
5-
- '3.5'
5+
- '3.4'
66
addons:
77
postgresql: "9.3"
88

@@ -11,8 +11,7 @@ cache:
1111
- $HOME/.pip-cache/
1212

1313
install:
14-
- pip install pip==8.1.2
15-
- pip install -r requirements-dev.txt --allow-all-external
14+
- pip install -r requirements-dev.txt --allow-all-external --download-cache $HOME/.pip-cache
1615
- pip install coveralls
1716

1817
env:

junction/feedback/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_choice_feedback_questions(conference_id):
5656
schedule item type.
5757
"""
5858
qs = ChoiceFeedbackQuestion.objects.filter(
59-
conference_id=conference_id).prefetch_related('allowed_values')
59+
conference_id=conference_id).select_related('allowed_values')
6060
return _get_question_oragnized_by_type(qs)
6161

6262

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Django==1.8.14
1+
Django==1.7.9
22
celery==3.1.18
33
djangorestframework==3.1.3
44
django-filter==0.10.0

0 commit comments

Comments
 (0)