diff options
author | Ask Solem <askh@opera.com> | 2009-12-21 16:33:15 +0100 |
---|---|---|
committer | Ask Solem <askh@opera.com> | 2009-12-21 16:33:15 +0100 |
commit | 5144ab165e6e0b61555925c166bfe8c11f1ba3f6 (patch) | |
tree | ae6b171dcc8f68245e606df81d1642f79db2b137 | |
parent | 52e9fe1830e1fea5107272403547c2d0f9e0b17c (diff) | |
download | chishop-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 | |||
25 | from djangopypi.http import HttpResponseUnauthorized | 25 | from djangopypi.http import HttpResponseUnauthorized |
26 | from djangopypi.http import HttpResponseNotImplemented | 26 | from djangopypi.http import HttpResponseNotImplemented |
27 | from djangopypi.utils import decode_fs | 27 | from djangopypi.utils import decode_fs |
28 | from djangopypi.views.search import search | ||
28 | 29 | ||
29 | 30 | ||
30 | ALREADY_EXISTS_FMT = _("""A file named "%s" already exists for %s. To fix """ | 31 | ALREADY_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 | ) |