From 825c83ce44568d39c36a2ad9a9aa23ce6080e6bb Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 4 Jul 2011 22:33:25 +0530 Subject: [PATCH] publish back to coming soon state --- edgware/files/views.py | 2 +- edgware/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edgware/files/views.py b/edgware/files/views.py index f7212d9..6415697 100644 --- a/edgware/files/views.py +++ b/edgware/files/views.py @@ -89,6 +89,7 @@ def add_category(request): c.save() return render_to_json_response({'category_id': c.id, 'category_name': c.name}) + class FolderSelect(forms.widgets.Select): def _get_choices(self): return getFolderList() @@ -99,7 +100,6 @@ class FolderSelect(forms.widgets.Select): choices = property(_get_choices, _set_choices) - class FolderField(forms.ChoiceField): widget = FolderSelect diff --git a/edgware/urls.py b/edgware/urls.py index ee50750..5e9b238 100644 --- a/edgware/urls.py +++ b/edgware/urls.py @@ -18,7 +18,7 @@ urlpatterns = patterns('', (r'^sandbox/home$', 'main.views.home'), (r'^sandbox/contact$', 'main.views.contact'), (r'^sandbox/archive$', 'files.views.browse'), - (r'^sandbox/publish$', 'editor.views.create_article'), + (r'^sandbox/publish$', 'main.views.publish'), (r'^sandbox/browse$', 'main.views.browse'), (r'^sandbox/upload$', 'files.views.upload_files'), (r'^sandbox/faq$', 'main.views.faq'),