pretty book descriptions and don't hide short descriptions
[wolnelektury.git] / apps / suggest / urls.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django.conf.urls.defaults import *
6 from django.views.generic.simple import direct_to_template
7 from suggest.forms import SuggestForm
8
9 urlpatterns = patterns('',
10     url(r'^$', 'django.views.generic.simple.direct_to_template',
11         {'template': 'suggest.html', 'extra_context': {'form': SuggestForm }}, name='suggest'),
12     url(r'^wyslij/$', 'suggest.views.report', name='report'),
13 )
14