okay
This commit is contained in:
@@ -17,9 +17,9 @@ os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'trznice.settings')
|
||||
|
||||
application = ProtocolTypeRouter({
|
||||
"http": get_asgi_application(),
|
||||
"websocket": AuthMiddlewareStack(
|
||||
URLRouter(
|
||||
#myapp.routing.websocket_urlpatterns
|
||||
)
|
||||
),
|
||||
# "websocket": AuthMiddlewareStack(
|
||||
# URLRouter(
|
||||
# #myapp.routing.websocket_urlpatterns
|
||||
# )
|
||||
# ),
|
||||
})
|
||||
|
||||
@@ -32,8 +32,11 @@ urlpatterns = [
|
||||
|
||||
path('admin/', admin.site.urls),
|
||||
path('api/account/', include('account.urls')),
|
||||
#path('api/commerce/', include('commerce.urls')),
|
||||
#path('api/advertisments/', include('advertisements.urls')),
|
||||
|
||||
path('api/stripe/', include('thirdparty.stripe.urls')),
|
||||
path('api/trading212/', include('thirdparty.trading212.urls')),
|
||||
path('api/downloader/', include('thirdparty.downloader.urls')),
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user