from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.views.generic import RedirectView, TemplateView
from django.contrib.sitemaps.views import sitemap
from web.apps.core.views import HomeView
from . import settings


urlpatterns = [
    path('', HomeView.as_view(), name='home'),

    path('admin/', admin.site.urls),
    path('u/', include('web.apps.users.urls')),
    path('auth/', include('web.apps.auths.urls')),
    path('giveaway/', include('web.apps.giveaways.urls')),
    path('servers/', include('web.apps.servers.urls')),
    path('partners/', include('web.apps.partner.urls')),
    path('about/', include('web.apps.about.urls')),
    path('premium/', include('web.apps.premiums.urls')),
    path('paypal/', include('paypal.standard.ipn.urls')),
    path('summernote/', include('django_summernote.urls')),
    path(settings.DISCORD_TAIL_URL, RedirectView.as_view(url=settings.DISCORD_INVITE_LINK), name='discord_server'),
    path('sitemap.xml', TemplateView.as_view(template_name="sitemap.xml", content_type="text/xml")),
    #path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap')
    path('robots.txt', TemplateView.as_view(template_name="robots.txt", content_type="text/plain"))

]
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

96caa7d0ae82c7552fa3282e3321d3c5ef5b9700
<mask token>

<mask token>
urlpatterns = [path('', HomeView.as_view(), name='home'), path('admin/',
    admin.site.urls), path('u/', include('web.apps.users.urls')), path(
    'auth/', include('web.apps.auths.urls')), path('giveaway/', include(
    'web.apps.giveaways.urls')), path('servers/', include(
    'web.apps.servers.urls')), path('partners/', include(
    'web.apps.partner.urls')), path('about/', include('web.apps.about.urls'
    )), path('premium/', include('web.apps.premiums.urls')), path('paypal/',
    include('paypal.standard.ipn.urls')), path('summernote/', include(
    'django_summernote.urls')), path(settings.DISCORD_TAIL_URL,
    RedirectView.as_view(url=settings.DISCORD_INVITE_LINK), name=
    'discord_server'), path('sitemap.xml', TemplateView.as_view(
    template_name='sitemap.xml', content_type='text/xml')), path(
    'robots.txt', TemplateView.as_view(template_name='robots.txt',
    content_type='text/plain'))]

from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.views.generic import RedirectView, TemplateView
from django.contrib.sitemaps.views import sitemap
from web.apps.core.views import HomeView
from . import settings
urlpatterns = [path('', HomeView.as_view(), name='home'), path('admin/',
    admin.site.urls), path('u/', include('web.apps.users.urls')), path(
    'auth/', include('web.apps.auths.urls')), path('giveaway/', include(
    'web.apps.giveaways.urls')), path('servers/', include(
    'web.apps.servers.urls')), path('partners/', include(
    'web.apps.partner.urls')), path('about/', include('web.apps.about.urls'
    )), path('premium/', include('web.apps.premiums.urls')), path('paypal/',
    include('paypal.standard.ipn.urls')), path('summernote/', include(
    'django_summernote.urls')), path(settings.DISCORD_TAIL_URL,
    RedirectView.as_view(url=settings.DISCORD_INVITE_LINK), name=
    'discord_server'), path('sitemap.xml', TemplateView.as_view(
    template_name='sitemap.xml', content_type='text/xml')), path(
    'robots.txt', TemplateView.as_view(template_name='robots.txt',
    content_type='text/plain'))]

from django.contrib import admin
from django.urls import path, include
from django.conf.urls.static import static
from django.views.generic import RedirectView, TemplateView
from django.contrib.sitemaps.views import sitemap
from web.apps.core.views import HomeView
from . import settings


urlpatterns = [
    path('', HomeView.as_view(), name='home'),

    path('admin/', admin.site.urls),
    path('u/', include('web.apps.users.urls')),
    path('auth/', include('web.apps.auths.urls')),
    path('giveaway/', include('web.apps.giveaways.urls')),
    path('servers/', include('web.apps.servers.urls')),
    path('partners/', include('web.apps.partner.urls')),
    path('about/', include('web.apps.about.urls')),
    path('premium/', include('web.apps.premiums.urls')),
    path('paypal/', include('paypal.standard.ipn.urls')),
    path('summernote/', include('django_summernote.urls')),
    path(settings.DISCORD_TAIL_URL, RedirectView.as_view(url=settings.DISCORD_INVITE_LINK), name='discord_server'),
    path('sitemap.xml', TemplateView.as_view(template_name="sitemap.xml", content_type="text/xml")),
    #path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap')
    path('robots.txt', TemplateView.as_view(template_name="robots.txt", content_type="text/plain"))

]
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
