Skip to content

Instantly share code, notes, and snippets.

@fellipeh
Created September 15, 2014 00:19
Show Gist options
  • Save fellipeh/06746184ee0878f70bc2 to your computer and use it in GitHub Desktop.
Save fellipeh/06746184ee0878f70bc2 to your computer and use it in GitHub Desktop.
# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = patterns('',
url(r'^$', 'core.views.home_view', name='home'),
url(r'^admin/', include(admin.site.urls)),
)+static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment