from django.contrib import admin
from django.urls import include, path
from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
    path('admin/', admin.site.urls),
    path('class/', include('classroom.urls')),
    path('assignment-api/', include('assignment.urls', namespace='assignment')),
    path('feed/', include('feed.urls', namespace='feed')),
    path('users/', include('users.urls'), name="user-register")
]
if settings.DEBUG:
    urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

[((168, 199), 'django.urls.path', 'path', (['"""admin/"""', 'admin.site.urls'], {}), "('admin/', admin.site.urls)\n", (172, 199), False, 'from django.urls import include, path\n'), ((492, 553), 'django.conf.urls.static.static', 'static', (['settings.MEDIA_URL'], {'document_root': 'settings.MEDIA_ROOT'}), '(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)\n', (498, 553), False, 'from django.conf.urls.static import static\n'), ((220, 245), 'django.urls.include', 'include', (['"""classroom.urls"""'], {}), "('classroom.urls')\n", (227, 245), False, 'from django.urls import include, path\n'), ((276, 326), 'django.urls.include', 'include', (['"""assignment.urls"""'], {'namespace': '"""assignment"""'}), "('assignment.urls', namespace='assignment')\n", (283, 326), False, 'from django.urls import include, path\n'), ((347, 385), 'django.urls.include', 'include', (['"""feed.urls"""'], {'namespace': '"""feed"""'}), "('feed.urls', namespace='feed')\n", (354, 385), False, 'from django.urls import include, path\n'), ((407, 428), 'django.urls.include', 'include', (['"""users.urls"""'], {}), "('users.urls')\n", (414, 428), False, 'from django.urls import include, path\n')]