Skip to content

Instantly share code, notes, and snippets.

@Gunio
Created October 18, 2011 20:02
Show Gist options
  • Save Gunio/1296536 to your computer and use it in GitHub Desktop.
Save Gunio/1296536 to your computer and use it in GitHub Desktop.
Simple Django URLs
from django.conf.urls.defaults import patterns, include, url
urlpatterns = patterns('',
url(r'^(?P<input>[^/]+)$', 'UppercaseMaker.upper.views.home'),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment