from django.conf.urls import url, include
from django.contrib import admin
from django.contrib.auth.views import login, logout
from game.views import index


urlpatterns = [
    url(r'^$', index, name='homepage'),
    url(r'^accounts/login/$', login, name='login'),
    url(r'^accounts/logout/$', logout, name='logout'),
    url(r'^auth/', include('social_django.urls', namespace='social')),
    url(r'^admin/', admin.site.urls),
    url(r'^quiz/', include('game.urls', namespace='quiz')),
]
