+ # Admin panel
+ path('admin/doc/', include('django.contrib.admindocs.urls')),
+ path('admin/', admin.site.urls),
+
+ path('accounts/', include('accounts.urls')),
+ path('services/', include('services.urls')),
+ path('ssh/', include('ssh_keys.urls')),
+ path('auth/', include('django.contrib.auth.urls')),
+]
+
+
+if settings.DEBUG:
+ from django.views.static import serve
+ urlpatterns += [
+ path('media/<path>', serve, {
+ 'document_root': settings.MEDIA_ROOT,
+ }),
+ ]