<s> from django . conf . urls import patterns , url <EOL> from django . contrib . auth . decorators import login_required <EOL> from forums . views import CategoryListView , ForumDetailView , TopicDetailView , TopicCreateView , PostCreateView <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , CategoryListView . as_view ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , ForumDetailView . as_view ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , login_required ( TopicCreateView . as_view ( ) ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , TopicDetailView . as_view ( ) , name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , login_required ( PostCreateView . as_view ( ) ) , name = '<STR_LIT>' ) , <EOL> ) </s>
