- url(r'^zapisz-sie/$', views.subscribe_form, name='subscribe'),
- url(r'^zapis/$', views.subscribed, name='subscribed'),
- url(r'^potwierdzenie/(?P<subscription_id>[0-9]+)/(?P<hashcode>[0-9a-f]+)/$',
+ path('zapisz-sie/', views.subscribe_form, name='subscribe'),
+ path('zapis/', views.subscribed, name='subscribed'),
+ path('potwierdzenie/<int:subscription_id>/<slug:hashcode>/',