from django.conf.urls.defaults import patterns, url, include
from django.contrib import admin
from webcontent import settings

admin.autodiscover()

urlpatterns = patterns('webcontent.core.controllers.landing',

    url(r'^$', 'dashboard', name='dashboard'),
    url(r'^login/$', 'login', name='login'),
    url(r'^logout/$', 'logout', name='logout'),
    url(r'^register/user/$', 'register_user', name='register_user'),
    url(r'^dashboard/member/$', 'go_member_dashboard', name='go_member_dashboard'),
    url(r'^tab/new/$', 'add_tab', name='add_tab'),
    url(r'^tab/delete/$', 'delete_tab', name='delete_tab'),
    url(r'^tab/check_name/$', 'ajax_check_name', name='ajax_check_name'),
    url(r'^tab/show_detail/(?P<tab_id>\w+)/$', 'show_detail', name='show_detail'),
    url(r'^search_gadget/$', 'search_gadget', name='search_gadget'),
    url(r'^add_gadget/$', 'add_gadget', name='add_gadget'),
    url(r'^tab_gadget/ajax_change_title/(?P<tab_gadget_id>\w+)/(?P<new_title>.+)/$', 'ajax_change_title', name='ajax_change_title'),
    url(r'^tab_gadget/ajax_change_color/(?P<tab_gadget_id>\w+)/(?P<new_color>.+)/$', 'ajax_change_color', name='ajax_change_color'),
    url(r'^tab_gadget/ajax_remove_gadget/(?P<tab_gadget_id>\w+)/$', 'ajax_remove_gadget', name='ajax_remove_gadget'),

    # show gadget list
    url(r'^tab/show_detail_frame/(?P<tab_id>\w+)/$', 'show_detail_frame', name='show_detail_frame'),
)

urlpatterns += patterns('webcontent.core.controllers.account',
    url(r'^settings/account/$', 'account_settings', name='account_settings'),
)

urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)

# XXX This is only an admin site so we are serving static files locally.
staticdir= settings.PROJECT_DIR + settings.BACKEND_DIR + "/static"
urlpatterns += patterns('', url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': staticdir}),)

2d19e93e73f4cf1044039a2d98b65be398a113e5
<mask token>

<mask token>
admin.autodiscover()
<mask token>
urlpatterns += patterns('webcontent.core.controllers.account', url(
    '^settings/account/$', 'account_settings', name='account_settings'))
urlpatterns += patterns('', url('^admin/', include(admin.site.urls)))
<mask token>
urlpatterns += patterns('', url('^static/(?P<path>.*)$',
    'django.views.static.serve', {'document_root': staticdir}))

<mask token>
admin.autodiscover()
urlpatterns = patterns('webcontent.core.controllers.landing', url('^$',
    'dashboard', name='dashboard'), url('^login/$', 'login', name='login'),
    url('^logout/$', 'logout', name='logout'), url('^register/user/$',
    'register_user', name='register_user'), url('^dashboard/member/$',
    'go_member_dashboard', name='go_member_dashboard'), url('^tab/new/$',
    'add_tab', name='add_tab'), url('^tab/delete/$', 'delete_tab', name=
    'delete_tab'), url('^tab/check_name/$', 'ajax_check_name', name=
    'ajax_check_name'), url('^tab/show_detail/(?P<tab_id>\\w+)/$',
    'show_detail', name='show_detail'), url('^search_gadget/$',
    'search_gadget', name='search_gadget'), url('^add_gadget/$',
    'add_gadget', name='add_gadget'), url(
    '^tab_gadget/ajax_change_title/(?P<tab_gadget_id>\\w+)/(?P<new_title>.+)/$'
    , 'ajax_change_title', name='ajax_change_title'), url(
    '^tab_gadget/ajax_change_color/(?P<tab_gadget_id>\\w+)/(?P<new_color>.+)/$'
    , 'ajax_change_color', name='ajax_change_color'), url(
    '^tab_gadget/ajax_remove_gadget/(?P<tab_gadget_id>\\w+)/$',
    'ajax_remove_gadget', name='ajax_remove_gadget'), url(
    '^tab/show_detail_frame/(?P<tab_id>\\w+)/$', 'show_detail_frame', name=
    'show_detail_frame'))
urlpatterns += patterns('webcontent.core.controllers.account', url(
    '^settings/account/$', 'account_settings', name='account_settings'))
urlpatterns += patterns('', url('^admin/', include(admin.site.urls)))
staticdir = settings.PROJECT_DIR + settings.BACKEND_DIR + '/static'
urlpatterns += patterns('', url('^static/(?P<path>.*)$',
    'django.views.static.serve', {'document_root': staticdir}))

from django.conf.urls.defaults import patterns, url, include
from django.contrib import admin
from webcontent import settings
admin.autodiscover()
urlpatterns = patterns('webcontent.core.controllers.landing', url('^$',
    'dashboard', name='dashboard'), url('^login/$', 'login', name='login'),
    url('^logout/$', 'logout', name='logout'), url('^register/user/$',
    'register_user', name='register_user'), url('^dashboard/member/$',
    'go_member_dashboard', name='go_member_dashboard'), url('^tab/new/$',
    'add_tab', name='add_tab'), url('^tab/delete/$', 'delete_tab', name=
    'delete_tab'), url('^tab/check_name/$', 'ajax_check_name', name=
    'ajax_check_name'), url('^tab/show_detail/(?P<tab_id>\\w+)/$',
    'show_detail', name='show_detail'), url('^search_gadget/$',
    'search_gadget', name='search_gadget'), url('^add_gadget/$',
    'add_gadget', name='add_gadget'), url(
    '^tab_gadget/ajax_change_title/(?P<tab_gadget_id>\\w+)/(?P<new_title>.+)/$'
    , 'ajax_change_title', name='ajax_change_title'), url(
    '^tab_gadget/ajax_change_color/(?P<tab_gadget_id>\\w+)/(?P<new_color>.+)/$'
    , 'ajax_change_color', name='ajax_change_color'), url(
    '^tab_gadget/ajax_remove_gadget/(?P<tab_gadget_id>\\w+)/$',
    'ajax_remove_gadget', name='ajax_remove_gadget'), url(
    '^tab/show_detail_frame/(?P<tab_id>\\w+)/$', 'show_detail_frame', name=
    'show_detail_frame'))
urlpatterns += patterns('webcontent.core.controllers.account', url(
    '^settings/account/$', 'account_settings', name='account_settings'))
urlpatterns += patterns('', url('^admin/', include(admin.site.urls)))
staticdir = settings.PROJECT_DIR + settings.BACKEND_DIR + '/static'
urlpatterns += patterns('', url('^static/(?P<path>.*)$',
    'django.views.static.serve', {'document_root': staticdir}))

from django.conf.urls.defaults import patterns, url, include
from django.contrib import admin
from webcontent import settings

admin.autodiscover()

urlpatterns = patterns('webcontent.core.controllers.landing',

    url(r'^$', 'dashboard', name='dashboard'),
    url(r'^login/$', 'login', name='login'),
    url(r'^logout/$', 'logout', name='logout'),
    url(r'^register/user/$', 'register_user', name='register_user'),
    url(r'^dashboard/member/$', 'go_member_dashboard', name='go_member_dashboard'),
    url(r'^tab/new/$', 'add_tab', name='add_tab'),
    url(r'^tab/delete/$', 'delete_tab', name='delete_tab'),
    url(r'^tab/check_name/$', 'ajax_check_name', name='ajax_check_name'),
    url(r'^tab/show_detail/(?P<tab_id>\w+)/$', 'show_detail', name='show_detail'),
    url(r'^search_gadget/$', 'search_gadget', name='search_gadget'),
    url(r'^add_gadget/$', 'add_gadget', name='add_gadget'),
    url(r'^tab_gadget/ajax_change_title/(?P<tab_gadget_id>\w+)/(?P<new_title>.+)/$', 'ajax_change_title', name='ajax_change_title'),
    url(r'^tab_gadget/ajax_change_color/(?P<tab_gadget_id>\w+)/(?P<new_color>.+)/$', 'ajax_change_color', name='ajax_change_color'),
    url(r'^tab_gadget/ajax_remove_gadget/(?P<tab_gadget_id>\w+)/$', 'ajax_remove_gadget', name='ajax_remove_gadget'),

    # show gadget list
    url(r'^tab/show_detail_frame/(?P<tab_id>\w+)/$', 'show_detail_frame', name='show_detail_frame'),
)

urlpatterns += patterns('webcontent.core.controllers.account',
    url(r'^settings/account/$', 'account_settings', name='account_settings'),
)

urlpatterns += patterns('',
    url(r'^admin/', include(admin.site.urls)),
)

# XXX This is only an admin site so we are serving static files locally.
staticdir= settings.PROJECT_DIR + settings.BACKEND_DIR + "/static"
urlpatterns += patterns('', url(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': staticdir}),)
