Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d5c6390b86
Fetching contributors…

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.38 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
from django.conf.urls.defaults import *
from django.http import HttpResponse
import time
from random import random

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    (r'^$', lambda request: time.sleep(random()) or HttpResponse('Hello!')),
    (r'^admin/(.*)', admin.site.root),
    ('^redis-monitor/$', 'django_redis_monitor.views.monitor'),
)
Something went wrong with that request. Please try again.