from django.conf.urls import patterns, include, url
from codecamp.ember.views import HomeView
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static

admin.autodiscover()

urlpatterns = patterns('',
    url(r'^admin/', include(admin.site.urls)),
    url(r'^codecamp', include('codecamp.ember.urls', namespace='codecamp')),
    url(r'^$', HomeView.as_view()),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
