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('blog/', include('blog.urls')),
      path('sitemap.xml', sitemap, {'sitemaps':sitemaps}, name='django.contrib.sitemaps.views'),
      path('account/', include("account.urls")),
      path('api/', include('blog.api.urls', namespace='api')),
      path('api_auth/', include('rest_framework.urls')),
      
  ]
  
  if settings.DEBUG:
      urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)