Source

Ochs / urls.py

Full commit
from django.conf.urls.defaults import *
from django.contrib import admin

from ochs_admin import admin_site

#admin.autodiscover()

urlpatterns = patterns('',
    (r'^admin/filebrowser/', include('ochs_filebrowser.urls')),
    (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    (r'^admin/', include(admin_site.site.urls)),
    (r'^search/', include('haystack.urls')),
    url(r'poll/vote/(?P<poll>\d+)/(?P<choice>\d+)/$', 'news.views.poll_vote'),
    url(r'poll/vote/(?P<poll>\d+)/$', 'news.views.poll_vote'),
    url(r'staff/(?P<username>\w+)/$', 'staff.views.profile'),
    url(r'^', include('news.urls')),
)