Created
October 15, 2013 00:57
-
-
Save carlcrott/6984918 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf.urls import patterns | |
import os | |
from django.conf.urls.defaults import * | |
import logging | |
logger = logging.getLogger(__name__) | |
logger.info("loading URLS") | |
urlpatterns = patterns('', | |
url(r'^$', 'base.xperiment.views.main'), | |
url(r'^run$', 'base.xperiment.views.run'), | |
(r'^static/(?P<path>.*)$', 'django.views.static.serve', { | |
'document_root': os.path.join(os.path.dirname(__file__), 'static') | |
}), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment