8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-06-18 08:38:09 +00:00

Rename note en note_kfet

This commit is contained in:
detraz 2018-09-01 19:08:11 +02:00 committed by klafyvel
parent 6b1597c0c6
commit f5eb4616f5
8 changed files with 5 additions and 5 deletions

View file

@ -127,11 +127,11 @@ method to your model, where `form` is an instance of
"""
from . import comnpay, cheque, balance, note, urls
from . import comnpay, cheque, balance, note_kfet, urls
PAYMENT_METHODS = [
comnpay,
cheque,
balance,
note
note_kfet
]

View file

@ -60,6 +60,6 @@ class NotePayment(PaymentMethodMixin, models.Model):
def end_payment(self, invoice, request):
return redirect(reverse(
'cotisations:note:note_payment',
'cotisations:note_kfet:note_payment',
kwargs={'factureid': invoice.id}
))

View file

@ -19,10 +19,10 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from django.conf.urls import include, url
from . import comnpay, cheque, note
from . import comnpay, cheque, note_kfet
urlpatterns = [
url(r'^comnpay/', include(comnpay.urls, namespace='comnpay')),
url(r'^cheque/', include(cheque.urls, namespace='cheque')),
url(r'^note/', include(note.urls, namespace='note')),
url(r'^note_kfet/', include(note_kfet.urls, namespace='note_kfet')),
]