from django.conf.urls import include, url
from django.urls import path
from django.contrib import admin
from django.views import static
from shiptrak import views
from mmsn import settings

admin.autodiscover()

urlpatterns = [
    url(r'^$', views.map, name='shiptrak'),
    url(r'^positions/', views.positions, name='positions'),
    url(r'^faq/', views.faq, name='faq'),
    path('grappelli/', include('grappelli.urls')),  # grappelli URLS
    path('admin/', admin.site.urls),  # admin site
    url(r'^static/(?P<path>.*)$', static.serve, {'document_root': settings.STATIC_ROOT})
]

from django.conf.urls import include, url
from django.urls import path
from django.contrib import admin
from django.views import static
from shiptrak import views
from mmsn import settings

admin.autodiscover()

urlpatterns = [
    url(r'^$', views.map, name='shiptrak'),
    url(r'^positions/', views.positions, name='positions'),
    url(r'^faq/', views.faq, name='faq'),
    path('grappelli/', include('grappelli.urls')),  # grappelli URLS
    path('admin/', admin.site.urls),  # admin site
    url(r'^static/(?P<path>.*)$', static.serve, {'document_root': settings.STATIC_ROOT})
]

# grappelli URLS # admin site