urlpatterns = [
path('admin/', admin.site.urls),
path('', include('mainApp.urls')),
path('news/', include('news.urls')),
path('webexample/', include('webexample.urls')),
]
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += static(settings.MEDIA_URL, document_root= settings.MEDIA_ROOT)