from django.conf.urls import patterns, url urlpatterns = patterns('misago.threads.views', url(r'^forum/(?P(\w|-)+)-(?P\d+)/$', 'List', name="forum"), url(r'^forum/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'List', name="forum"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/$', 'Thread', name="thread"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/(?P\d+)/$', 'Thread', name="topic"), url(r'^thread/(?P(\w|-)+)-(?P\d+)/reply/$', 'Posting', name="topic_reply"), )