from django.conf.urls import url
from . import views
from django.views.decorators.csrf import csrf_exempt

app_name = 'api'

urlpatterns = [
    url(r'^auctions/$', views.AuctionsList.as_view()),
    url(r'^auctions/(?P<auction_id>[0-9]+)/$', views.AuctionDetails.as_view()),
    url(r'^auctions/(?P<auction_id>[0-9]+)/bid/$', csrf_exempt(views.BidOnAuction.as_view())),
]

1ea463840859c5ba090eaf4a84acb1bafe2d9ebb
<mask token>

<mask token>
app_name = 'api'
urlpatterns = [url('^auctions/$', views.AuctionsList.as_view()), url(
    '^auctions/(?P<auction_id>[0-9]+)/$', views.AuctionDetails.as_view()),
    url('^auctions/(?P<auction_id>[0-9]+)/bid/$', csrf_exempt(views.
    BidOnAuction.as_view()))]

from django.conf.urls import url
from . import views
from django.views.decorators.csrf import csrf_exempt
app_name = 'api'
urlpatterns = [url('^auctions/$', views.AuctionsList.as_view()), url(
    '^auctions/(?P<auction_id>[0-9]+)/$', views.AuctionDetails.as_view()),
    url('^auctions/(?P<auction_id>[0-9]+)/bid/$', csrf_exempt(views.
    BidOnAuction.as_view()))]

from django.conf.urls import url
from . import views
from django.views.decorators.csrf import csrf_exempt

app_name = 'api'

urlpatterns = [
    url(r'^auctions/$', views.AuctionsList.as_view()),
    url(r'^auctions/(?P<auction_id>[0-9]+)/$', views.AuctionDetails.as_view()),
    url(r'^auctions/(?P<auction_id>[0-9]+)/bid/$', csrf_exempt(views.BidOnAuction.as_view())),
]
