text: from django.contrib import admin
  from django.urls import path, include
  from django.contrib.sitemaps.views import sitemap
  from Blog.sitemaps import PostSitemap
  from django.conf import settings
  from django.conf.urls.static import static
  
  sitemaps = {
      'posts': PostSitemap,
  }
  
  urlpatterns = [
      path('admin/', admin.site.urls),
      path('', include('Blog.urls', namespace='Blog')),
      path('sitemap.xml', sitemap, {'sitemaps': sitemaps},
           name='django.contrib.sitemaps.views.sitemap')
  ]
  if  settings.DEBUG:
      urlpatterns += static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)