2019-07-17 11:34:07 +00:00
|
|
|
# -*- mode: python; coding: utf-8 -*-
|
|
|
|
# Copyright (C) 2018-2019 by BDE ENS Paris-Saclay
|
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
2020-02-08 19:23:17 +00:00
|
|
|
from .models import Note
|
2019-07-17 11:34:07 +00:00
|
|
|
|
|
|
|
app_name = 'note'
|
|
|
|
urlpatterns = [
|
2019-07-17 11:53:58 +00:00
|
|
|
path('transfer/', views.TransactionCreate.as_view(), name='transfer'),
|
2019-08-11 17:54:18 +00:00
|
|
|
path('buttons/create/',views.TransactionTemplateCreateView.as_view(),name='template_create'),
|
2019-08-11 21:24:54 +00:00
|
|
|
path('buttons/update/<int:pk>/',views.TransactionTemplateUpdateView.as_view(),name='template_update'),
|
2020-02-08 19:23:17 +00:00
|
|
|
path('buttons/',views.TransactionTemplateListView.as_view(),name='template_list'),
|
|
|
|
path('note-autocomplete/', views.NoteAutocomplete.as_view(model=Note),name='note_autocomplete'),
|
2019-07-17 11:34:07 +00:00
|
|
|
]
|