from django.conf.urls.defaults import *
from django.contrib import admin
from faq.views import faq_list_by_group, submit_faq, topic_list_by_group

admin.autodiscover()

urlpatterns = patterns('',

    url (r'^$', faq_list_by_group, name = 'faq', ),
    url (r'^submit_faq/$', submit_faq, {'success_url': '/faq/'}, name = 'submit', ),
    url (r'^(?P<slug>\w+)/$', topic_list_by_group, name = 'topic_faq', ),

)

