Archived
completed ch. 6
This commit is contained in:
@@ -30,8 +30,10 @@ router.register(r'events', EventView, 'event')
|
||||
urlpatterns = [
|
||||
path('register', register_user),
|
||||
path('login', login_user),
|
||||
path('api-auth', include('rest_framework.urls', namespace='rest_framework')),
|
||||
path('', include(router.urls)),
|
||||
path('admin/', admin.site.urls),
|
||||
|
||||
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user