Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 26 lines (22 sloc) 0.94 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
from django.conf.urls.defaults import *
import os
import picker.views
import settings
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    (r'^m/(?P<path>.*)$', 'django.views.static.serve',
     {'document_root': os.path.join(settings.PROJECT_PATH, "media") }),
     (r'^(?P<path>favicon.ico)$', 'django.views.static.serve',
         {'document_root': os.path.join(settings.PROJECT_PATH, "media") }),
    (r'^/?$',picker.views.index),
    (r'^results/?$',picker.views.results),
    # Example:
    # (r'^candypicker/', include('candypicker.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # (r'^admin/', include(admin.site.urls)),
)
Something went wrong with that request. Please try again.