comparison gpp/core/urls.py @ 574:ddd69a8e07c7

For Django 1.4, use django.conf.urls instead of django.conf.urls.defaults.
author Brian Neal <bgneal@gmail.com>
date Thu, 03 May 2012 20:45:16 -0500
parents ab7830b067b3
children
comparison
equal deleted inserted replaced
573:bcc4e8cf841b 574:ddd69a8e07c7
1 """ 1 """
2 Urls for the core application. 2 Urls for the core application.
3 """ 3 """
4 from django.conf.urls.defaults import * 4 from django.conf.urls import patterns, url
5 5
6 urlpatterns = patterns('core.views', 6 urlpatterns = patterns('core.views',
7 url(r'^markdown_help/$', 'markdown_help', name='core-markdown_help'), 7 url(r'^markdown_help/$', 'markdown_help', name='core-markdown_help'),
8 url(r'^ajax/users/$', 'ajax_users', name='core-ajax_users'), 8 url(r'^ajax/users/$', 'ajax_users', name='core-ajax_users'),
9 ) 9 )