Mercurial > public > sg101
comparison irc/urls.py @ 1028:5ba2508939f7
Django 1.8 changes; first batch.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 15 Dec 2015 21:01:07 -0600 |
parents | ee87ea74d46b |
children |
comparison
equal
deleted
inserted
replaced
1027:cd4db27c90e3 | 1028:5ba2508939f7 |
---|---|
1 """urls for the IRC application""" | 1 """urls for the IRC application""" |
2 from django.conf.urls import patterns, url | 2 from django.conf.urls import url |
3 | 3 |
4 urlpatterns = patterns('irc.views', | 4 import irc.views |
5 url(r'^$', 'view', name='irc-main'), | 5 |
6 ) | 6 |
7 urlpatterns = [ | |
8 url(r'^$', irc.views.view, name='irc-main'), | |
9 ] |