aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsk Solem <askh@opera.com>2009-12-21 16:33:15 +0100
committerAsk Solem <askh@opera.com>2009-12-21 16:33:15 +0100
commit5144ab165e6e0b61555925c166bfe8c11f1ba3f6 (patch)
treeae6b171dcc8f68245e606df81d1642f79db2b137
parent52e9fe1830e1fea5107272403547c2d0f9e0b17c (diff)
downloadchishop-5144ab165e6e0b61555925c166bfe8c11f1ba3f6.tar.bz2
chishop-5144ab165e6e0b61555925c166bfe8c11f1ba3f6.tar.xz
chishop-5144ab165e6e0b61555925c166bfe8c11f1ba3f6.zip
Some cosmetic changes to viniciuschagas code, + trying to organize views in a different way.
-rw-r--r--djangopypi/views/__init__.py (renamed from djangopypi/views.py)3
1 files changed, 2 insertions, 1 deletions
diff --git a/djangopypi/views.py b/djangopypi/views/__init__.py
index 9c78fcf..f8b7fac 100644
--- a/djangopypi/views.py
+++ b/djangopypi/views/__init__.py
@@ -25,6 +25,7 @@ from djangopypi.forms import ProjectForm, ReleaseForm
25from djangopypi.http import HttpResponseUnauthorized 25from djangopypi.http import HttpResponseUnauthorized
26from djangopypi.http import HttpResponseNotImplemented 26from djangopypi.http import HttpResponseNotImplemented
27from djangopypi.utils import decode_fs 27from djangopypi.utils import decode_fs
28from djangopypi.views.search import search
28 29
29 30
30ALREADY_EXISTS_FMT = _("""A file named "%s" already exists for %s. To fix """ 31ALREADY_EXISTS_FMT = _("""A file named "%s" already exists for %s. To fix """
@@ -253,4 +254,4 @@ def search(request):
253 'djangopypi/search_results.html', 254 'djangopypi/search_results.html',
254 {'search_term':search_term}, 255 {'search_term':search_term},
255 context_instance = RequestContext(request) 256 context_instance = RequestContext(request)
256 ) \ No newline at end of file 257 )