예제 #1
0
파일: urls.py 프로젝트: yagosvl/associados
# -*- coding: utf-8 -*-
from django.conf.urls import patterns, url
from app.members.views import MemberListView, member_form, dashboard, SignupView, member_status, member_json

urlpatterns = patterns(
    '',
    url(r'^signup/$', SignupView.as_view(), name='members-signup'),
    url(r'^list/$', MemberListView.as_view(), name='members-list'),
    url(r'^update/$', member_form, name='members-form'),
    url(r'^dashboard/$', dashboard, name='members-dashboard'),
    url(r'^status/$', member_status, name='members-status'),
    url(r'^json-list/$', member_json, name='member-json'),
)
예제 #2
0
# -*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url
from app.members.views import MemberListView

urlpatterns = patterns('people.views',
    url(r'^$', MemberListView.as_view(), name='people-members-list'),
)