from django.conf.urls import url

from . import views
from .feeds import LatestPositionsFeed

urlpatterns = [
    url(r'^position/(?P<source>[\w]+)/(?P<job_id>[\w]+)$', views.PositionDetailView.as_view(),
        name='careers.position'),
    url(r'^$', views.HomeView.as_view(), name='careers.home'),
    url(r'^feed/$', LatestPositionsFeed(), name='careers.feed'),
    url(r'^listings/$', views.PositionListView.as_view(), name='careers.listings'),
]

from django.conf.urls import url

from . import views
from .feeds import LatestPositionsFeed

urlpatterns = [
    url(r'^position/(?P<source>[\w]+)/(?P<job_id>[\w]+)/$', views.PositionDetailView.as_view(),
        name='careers.position'),
    url(r'^$', views.HomeView.as_view(), name='careers.home'),
    url(r'^feed/$', LatestPositionsFeed(), name='careers.feed'),
    url(r'^listings/$', views.PositionListView.as_view(), name='careers.listings'),
]

Add ending slash in position URLs.
Add ending slash in position URLs.
