Created
November 25, 2010 12:52
-
-
Save t0ster/715342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pyt@worker3:~/ab-buildout$ git diff temp | |
diff --git a/ab/apps/advert/forms.py b/ab/apps/advert/forms.py | |
index 608237e..e80f156 100755 | |
--- a/ab/apps/advert/forms.py | |
+++ b/ab/apps/advert/forms.py | |
@@ -885,11 +885,6 @@ class Search_form(forms.Form): | |
regions.append(self.cleaned_data["%s%i"%( 'country', i)]) | |
elif self.cleaned_data["%s%i"%( 'region', i)]: | |
regions.append(self.cleaned_data["%s%i"%( 'region', i)]) | |
- try: | |
- if self.cleaned_data["%s%i"%( 'region', i)].get_children(): | |
- regions.extend(list(self.cleaned_data["%s%i"%( 'region', i)].get_children())) | |
- except: | |
- pass | |
q = q.filter(Q_makes[0] | Q_makes[1] | Q_makes[2]) | |
if regions: | |
diff --git a/ab/settings/production.py b/ab/settings/production.py | |
index e3fc150..26f99fe 100644 | |
--- a/ab/settings/production.py | |
+++ b/ab/settings/production.py | |
@@ -76,10 +76,3 @@ try: | |
except AutoReconnect: | |
MONGODB = None | |
-#============================================================================== | |
-# CKEditor | |
-#============================================================================== | |
-CKEDITOR_MEDIA_PREFIX = os.path.join(MEDIA_URL,"ck_media/ckeditor/") | |
-CKEDITOR_UPLOAD_PATH = os.path.join(MEDIA_ROOT, 'ck_uploads') | |
-CKEDITOR_UPLOAD_PREFIX = os.path.join(MEDIA_URL,"ck_uploads/") | |
-#------------------------------------------------------------------------------ | |
\ No newline at end of file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment