-urlpatterns = patterns(
- '',
- url(r'^$', views.SuggestionFormView(), name='suggest'),
- url(r'^plan/$', views.PublishingSuggestionFormView(), name='suggest_publishing'),
-)
+urlpatterns = [
+ path('', views.SuggestionFormView(), name='suggest'),
+ path('plan/', views.PublishingSuggestionFormView(), name='suggest_publishing'),
+]