from django.conf.urls import patterns, include, url
from django.conf import settings
from django.conf.urls.static import static

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'fm.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
	url(r'^$', 'fm.views.home', name='home'),
	url(r'^about/$', 'fm.views.about', name='about'),
	url(r'^game/$', 'fm.views.play', name='play'),
	url(r'^end/$', 'fm.views.end', name='end'),
    url(r'^math/', include('fm.mathengine.urls')),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
