comparison core/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 """ 1 """
2 Urls for the core application. 2 Urls for the core application.
3 """ 3 """
4 from django.conf.urls import patterns, url 4 from django.conf.urls import url
5 5
6 urlpatterns = patterns('core.views', 6 import core.views
7 url(r'^markdown_help/$', 'markdown_help', name='core-markdown_help'), 7
8 url(r'^ajax/users/$', 'ajax_users', name='core-ajax_users'), 8
9 ) 9 urlpatterns = [
10 url(r'^markdown_help/$', core.views.markdown_help, name='core-markdown_help'),
11 url(r'^ajax/users/$', core.views.ajax_users, name='core-ajax_users'),
12 ]