from django.conf.urls import patterns, include, url
from aspc.senate.views import DocumentList, AppointmentList

urlpatterns = patterns('',
    url(r'^documents/$', DocumentList.as_view(), name="document_list"),
    url(r'^documents/(?P<page>[0-9]+)/$', DocumentList.as_view(), name="document_list_page"),
    url(r'^preview/positions/$', AppointmentList.as_view(), name="positions"),
)
from django.conf.urls import patterns, include, url
from aspc.senate.views import DocumentList, AppointmentList

urlpatterns = patterns('',
    url(r'^documents/$', DocumentList.as_view(), name="document_list"),
    url(r'^documents/(?P<page>[0-9]+)/$', DocumentList.as_view(), name="document_list_page"),
    url(r'^positions/$', AppointmentList.as_view(), name="positions"),
)
Remove the preview prefix from the positions URL pattern
Remove the preview prefix from the positions URL pattern
