<reponame>Mozilla-GitHub-Standards/b55f95984015e193bf0af8041de6a30a1841dd9461fffd41c5216d98d645963d
from django.conf.urls import url

from scienceapi.events.views import (
    EventsListView,
    EventView,
    EventSlugView,
)


urlpatterns = [
    url('^$', EventsListView.as_view(), name='event-list'),
    url(r'^(?P<pk>[0-9]+)/', EventView.as_view(), name='event'),
    url(r'^(?P<slug>[-\w]+)/', EventSlugView.as_view(), name='event-slug'),
]

from django.conf.urls import url

from scienceapi.events.views import (
    EventsListView,
    EventView,
    EventSlugView,
)


urlpatterns = [
    url('^$', EventsListView.as_view(), name='event-list'),
    url(r'^(?P<pk>[0-9]+)/', EventView.as_view(), name='event'),
    url(r'^(?P<slug>[-\w]+)/', EventSlugView.as_view(), name='event-slug'),
]