X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c5d9a4e77a10b4e60d89d3890e49002bd7f3993..e4e3b8bd323e57df11b10e06e2a1fbf1b134ca54:/apps/suggest/urls.py diff --git a/apps/suggest/urls.py b/apps/suggest/urls.py index d5982cf71..b769e491b 100644 --- a/apps/suggest/urls.py +++ b/apps/suggest/urls.py @@ -4,11 +4,20 @@ # from django.conf.urls.defaults import * from django.views.generic.simple import direct_to_template -from suggest.forms import SuggestForm +from suggest.forms import SuggestForm, PublishingSuggestForm +from suggest.views import PublishingSuggestionFormView urlpatterns = patterns('', url(r'^$', 'django.views.generic.simple.direct_to_template', {'template': 'suggest.html', 'extra_context': {'form': SuggestForm }}, name='suggest'), url(r'^wyslij/$', 'suggest.views.report', name='report'), + + #url(r'^plan/$', 'suggest.views.publishing', name='suggest_publishing'), + url(r'^plan/$', PublishingSuggestionFormView(), name='suggest_publishing'), + #url(r'^plan_block/$', 'django.views.generic.simple.direct_to_template', + # {'template': 'publishing_suggest.html', + # 'extra_context': {'pubsuggest_form': PublishingSuggestForm }}, + # name='suggest_publishing'), + #url(r'^plan/wyslij/$', 'suggest.views.publishing_commit', name='suggest_publishing_commit'), )