from django.conf.urls import url
from django.conf.urls.static import static
from django.conf import settings
from . import views

urlpatterns=[
        url('^$', views.index, name = 'index'),
        url('^questions$', views.questions, name = 'questions'),
        url('^notes$', views.notes, name = 'notes'),
        ]

if settings.DEBUG:
    urlpatterns+= static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)

from django.conf.urls import url
from django.conf.urls.static import static
from django.conf import settings
from . import views

urlpatterns=[
        url('^$', views.index, name = 'index'),
        url('^questions$', views.questions, name = 'questions'),
        url('^notes$', views.notes, name = 'notes'),
        ]

if settings.DEBUG:
    urlpatterns+= static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)
