# -*- coding: utf-8 -*-

'''
请求URL与处理接口映射
'''


from django.conf.urls import patterns, include, url
from django.contrib import admin
import waterproj
from wewater.views import *

# 请求URL

urlpatterns = patterns('',

    url(r'^admin/', include(admin.site.urls)),
    url(r'^allNews/$', getAllNews),
    url(r'^weChat/$', weChat),
    url(r'^login/$', login),
    url(r'^notified/$', checkNotification),
    url(r'^solvedNews/$', getSolvedNews),
    url(r'^solveNews/$', solveNews),
    url(r'^feedback/$', feedNews),
    url(r'^unsolvedNews/$', getUnsolvedNews),
    url(r'^wechat/images/(?P<path>.*)$', 'django.views.static.serve', {'document_root': waterproj.settings.STATICFILES_DIRS, 'show_indexes': True}),

)

aae7003de3ea13b12fea4c7c0e671664e5bd7e2d
<mask token>

<mask token>
urlpatterns = patterns('', url('^admin/', include(admin.site.urls)), url(
    '^allNews/$', getAllNews), url('^weChat/$', weChat), url('^login/$',
    login), url('^notified/$', checkNotification), url('^solvedNews/$',
    getSolvedNews), url('^solveNews/$', solveNews), url('^feedback/$',
    feedNews), url('^unsolvedNews/$', getUnsolvedNews), url(
    '^wechat/images/(?P<path>.*)$', 'django.views.static.serve', {
    'document_root': waterproj.settings.STATICFILES_DIRS, 'show_indexes': 
    True}))

<mask token>
from django.conf.urls import patterns, include, url
from django.contrib import admin
import waterproj
from wewater.views import *
urlpatterns = patterns('', url('^admin/', include(admin.site.urls)), url(
    '^allNews/$', getAllNews), url('^weChat/$', weChat), url('^login/$',
    login), url('^notified/$', checkNotification), url('^solvedNews/$',
    getSolvedNews), url('^solveNews/$', solveNews), url('^feedback/$',
    feedNews), url('^unsolvedNews/$', getUnsolvedNews), url(
    '^wechat/images/(?P<path>.*)$', 'django.views.static.serve', {
    'document_root': waterproj.settings.STATICFILES_DIRS, 'show_indexes': 
    True}))

# -*- coding: utf-8 -*-

'''
请求URL与处理接口映射
'''


from django.conf.urls import patterns, include, url
from django.contrib import admin
import waterproj
from wewater.views import *

# 请求URL

urlpatterns = patterns('',

    url(r'^admin/', include(admin.site.urls)),
    url(r'^allNews/$', getAllNews),
    url(r'^weChat/$', weChat),
    url(r'^login/$', login),
    url(r'^notified/$', checkNotification),
    url(r'^solvedNews/$', getSolvedNews),
    url(r'^solveNews/$', solveNews),
    url(r'^feedback/$', feedNews),
    url(r'^unsolvedNews/$', getUnsolvedNews),
    url(r'^wechat/images/(?P<path>.*)$', 'django.views.static.serve', {'document_root': waterproj.settings.STATICFILES_DIRS, 'show_indexes': True}),

)
