ydaniels / django-cryptocurrency-payment

Simple and flexible app for accepting cryptocurrency payment with no much hassle
MIT License
36 stars 12 forks source link

Upgrading URLs #8

Closed MrAcho420 closed 1 year ago

MrAcho420 commented 2 years ago

Hello I am a big fan of this project and wanted to add it to my test online store website that I am developing. After some digging I found out that the URLs use django's 2.0 system and I was wondering if anyone got them working in higher django version or can guide me on how to "upgrade" them.

Thanks for your time -Alex

knowledgecomputer2018 commented 2 years ago

hi change url to re_path in urls.py if content have regular expression .

re_path( r'^payment/(?P[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12})/$', views.CryptoPaymentDetailView.as_view(), name='crypto_payment_detail'),

good luck god willing