コード例 #1
0
ファイル: urls.py プロジェクト: HaibaraAi123/EMS-admin
from django.urls import path, include, re_path

from group.views import GroupListView

urlpatterns = [path('', GroupListView.as_view())]
コード例 #2
0
ファイル: urls.py プロジェクト: jmbarbier/djeskoolz
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with Eskollz.  If not, see <http://www.gnu.org/licenses/>
###############################################################################

from django.conf.urls import patterns, url
from group.views import GroupListView, GroupDetailView, GroupCreateView, \
    GroupCompositionUpdateGroupView, GroupCompositionUpdatePeopleView, \
    GroupCompositionGroupUpdateView, GroupCompositionGroupDeleteView, \
    GroupCompositionPeopleUpdateView, GroupCompositionPeopleDeleteView, \
    GroupUpdateView, GroupDeleteView

urlpatterns = patterns(
    '',
    url(r'^$', GroupListView.as_view(), name='group_list'),
    url(r'^(?P<pkg>\d+)/$', GroupDetailView.as_view(), name='group_detail'),
    url(r'^(?P<pkg>\d+)/_update/$',
        GroupUpdateView.as_view(),
        name='group_update'),
    url(r'^(?P<pkg>\d+)/_delete/$',
        GroupDeleteView.as_view(),
        name='group_delete'),
    url(r'^_create/$', GroupCreateView.as_view(), name='group_create'),
    url(r'^(?P<pkg>\d+)/composition/group/$',
        GroupCompositionUpdateGroupView.as_view(),
        name='groupcomposition_group_update'),
    url(r'^(?P<pkg>\d+)/composition/group/(?P<pkgcg>\d+)/_update/$',
        GroupCompositionGroupUpdateView.as_view(),
        name='groupcompositiongroup_update'),
    url(r'^(?P<pkg>\d+)/composition/group/(?P<pkgcg>\d+)/_delete/$',
コード例 #3
0
ファイル: urls.py プロジェクト: jmbarbier/djeskoolz
#
# You should have received a copy of the GNU Affero General Public License
# along with Eskollz.  If not, see <http://www.gnu.org/licenses/>
###############################################################################

from django.conf.urls import patterns, url
from group.views import GroupListView, GroupDetailView, GroupCreateView, \
    GroupCompositionUpdateGroupView, GroupCompositionUpdatePeopleView, \
    GroupCompositionGroupUpdateView, GroupCompositionGroupDeleteView, \
    GroupCompositionPeopleUpdateView, GroupCompositionPeopleDeleteView, \
    GroupUpdateView, GroupDeleteView

urlpatterns = patterns(
    '',
    url(r'^$',
        GroupListView.as_view(),
        name='group_list'),
    url(r'^(?P<pkg>\d+)/$',
        GroupDetailView.as_view(),
        name='group_detail'),
    url(r'^(?P<pkg>\d+)/_update/$',
        GroupUpdateView.as_view(),
        name='group_update'),
    url(r'^(?P<pkg>\d+)/_delete/$',
        GroupDeleteView.as_view(),
        name='group_delete'),
    url(r'^_create/$',
        GroupCreateView.as_view(),
        name='group_create'),

    url(r'^(?P<pkg>\d+)/composition/group/$',
コード例 #4
0
ファイル: urls.py プロジェクト: jmbarbier/eskollz-python
from django.conf.urls import patterns, url
from group.views import GroupListView, GroupDetailView, GroupCreateView

urlpatterns = patterns(
    '',
    url('^$', GroupListView.as_view(), name="ui-group-list"),
    url('^/(?P<pk>\d+)$', GroupDetailView.as_view(), name="ui-group-detail"),
    url(r'^/_create/$', GroupCreateView.as_view(), name="ui-group-create")

)