from django.conf import settings
from django.conf.urls import url, include
from django.conf.urls.static import static
from django.contrib import admin
from django.views.generic import RedirectView

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^about/', include('about_us.urls')),
    url(r'^book_a_table/', include('book_a_table.urls')),
    url(r'^events/', include('events.urls')),
    url(r'^home/', include('home.urls')),
    url(r'^menu/', include('menu.urls')),
    url(r'^order/', include('order.urls')),
    url(r'^drop_a_note/', include('drop_a_note.urls')),
    url(r'^$', RedirectView.as_view(url='home/')),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

from django.conf import settings
from django.conf.urls import url, include
from django.conf.urls.static import static
from django.contrib import admin
from django.views.generic import RedirectView

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^about/', include('about_us.urls')),
    url(r'^book_a_table/', include('book_a_table.urls')),
    url(r'^events/', include('events.urls')),
    url(r'^home/', include('home.urls')),
    url(r'^menu/', include('menu.urls')),
    url(r'^order/', include('order.urls')),
    url(r'^drop_a_note/', include('drop_a_note.urls')),
    url(r'^$', RedirectView.as_view(url='home/')),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
