# encoding: UTF-8

from django.conf.urls import patterns, include, url
import queryEmptyClassrooms.views

# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()

urlpatterns = patterns('',
    # API
    (r'^queryEmptyClassrooms/query/([a-z]{3})/(\d{1,2})/(\d{1,2})/(\d{1,2})/(\d{1,2})/$',
        queryEmptyClassrooms.views.queryCommonAPI), # 指定【校区，第几周，周几，开始，结束】
    (r'^queryEmptyClassrooms/query/([a-z]{3})/([a-z]+)/(\d{1,2})/(\d{1,2})/$', 
        queryEmptyClassrooms.views.querySpecifiedAPI), # 指定【校区，今天（明天），开始，结束】

    # 查询
	(r'^queryEmptyClassrooms/query/$', queryEmptyClassrooms.views.queryEmptyClassrooms), 

    # 首页
	(r'^queryEmptyClassrooms/index/$', queryEmptyClassrooms.views.index),
    (r'^webapp/classroom/$', queryEmptyClassrooms.views.shortIndex), # 方便记忆的链接

    # 关于本站
    (r'^queryEmptyClassrooms/about/$', queryEmptyClassrooms.views.about),
   
    
    # Examples:
    # url(r'^$', 'queryEmptyClassrooms.views.home', name='home'),
    # url(r'^queryEmptyClassrooms/', include('queryEmptyClassrooms.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    # url(r'^admin/', include(admin.site.urls)),
)

@@ -573,358 +573,8 @@
 %E6%9D%9F%E3%80%91%0A%0A
-    # %E6%9F%A5%E8%AF%A2%0A%09(r'%5EqueryEmptyClassrooms/query/$', queryEmptyClassrooms.views.queryEmptyClassrooms), %0A%0A    # %E9%A6%96%E9%A1%B5%0A%09(r'%5EqueryEmptyClassrooms/index/$', queryEmptyClassrooms.views.index),%0A    (r'%5Ewebapp/classroom/$', queryEmptyClassrooms.views.shortIndex), # %E6%96%B9%E4%BE%BF%E8%AE%B0%E5%BF%86%E7%9A%84%E9%93%BE%E6%8E%A5%0A%0A    # %E5%85%B3%E4%BA%8E%E6%9C%AC%E7%AB%99%0A    (r'%5EqueryEmptyClassrooms/about/$', queryEmptyClassrooms.views.about),%0A   %0A    
 %0A   

Update urls.py