mirror of
https://github.com/kennethreitz-archive/django-todo.git
synced 2026-06-21 15:51:00 +00:00
11 lines
274 B
Python
11 lines
274 B
Python
from django.conf import settings
|
|
from django.conf.urls.defaults import *
|
|
|
|
from django.contrib import admin
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = patterns('todo.views',
|
|
url(r'^/?$', 'index', name='index'),
|
|
url(r'(?P<id>[0-9]+)/$', 'update_task', name='update_task'),
|
|
)
|