text: from django.conf import settings
  from django.contrib import admin
  from django.urls import include, path
  from django.views.i18n import JavaScriptCatalog
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('jsi18n/', JavaScriptCatalog.as_view(), name='javascript-catalog'),
      path('', include('chat.urls')),
  ]
  
  if settings.DEBUG:
      import debug_toolbar
      urlpatterns = [
          path('__debug__/', include(debug_toolbar.urls)),
      ] + urlpatterns
  