-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add endpoints for fetching verified/unverified/blacklisted bidders (#29)
Co-authored-by: Lance Tan <[email protected]>
- Loading branch information
1 parent
15847e3
commit d4261db
Showing
7 changed files
with
69 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
from django.contrib import admin | ||
from django.urls import include, path | ||
|
||
from .views import VehicleDetailApiView, VehicleFilterList, VehicleListApiView, VehiclePriceApiView | ||
from .views import ( | ||
VehicleDetailApiView, VehicleFilterList, VehicleListApiView, | ||
VehiclePriceApiView) | ||
|
||
urlpatterns = [ | ||
path("", VehicleListApiView.as_view(), name="vehicle"), | ||
path("filter/", VehicleFilterList.as_view(), name="vehicle-list"), | ||
path("<uuid:vehicle_id>/", VehicleDetailApiView.as_view(), name="vehicle_detail"), | ||
path("<uuid:vehicle_id>/minimum_price/", VehiclePriceApiView.as_view(), name="vehicle_price"), | ||
path( | ||
"<uuid:vehicle_id>/minimum_price/", | ||
VehiclePriceApiView.as_view(), | ||
name="vehicle_price", | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters