|
|
|
@ -24,7 +24,7 @@ from apps.course.views import ( |
|
|
|
lessoncomment, CourseEditView, |
|
|
|
lessoncomment, CourseEditView, |
|
|
|
) |
|
|
|
) |
|
|
|
from apps.course.models import Course |
|
|
|
from apps.course.models import Course |
|
|
|
from apps.user.views import UserView, UserEditView, NotificationEditView, PaymentHistoryView |
|
|
|
from apps.user.views import UserView, UserEditView, NotificationEditView, PaymentHistoryView, resend_email_verify |
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
|
urlpatterns = [ |
|
|
|
path('admin/', admin.site.urls), |
|
|
|
path('admin/', admin.site.urls), |
|
|
|
@ -43,6 +43,7 @@ urlpatterns = [ |
|
|
|
path('user/<int:pk>/edit', UserEditView.as_view(), name='user-edit-profile'), |
|
|
|
path('user/<int:pk>/edit', UserEditView.as_view(), name='user-edit-profile'), |
|
|
|
path('user/<int:pk>/notifications', NotificationEditView.as_view(), name='user-edit-notifications'), |
|
|
|
path('user/<int:pk>/notifications', NotificationEditView.as_view(), name='user-edit-notifications'), |
|
|
|
path('user/<int:pk>/payments', PaymentHistoryView.as_view(), name='user-edit-payments'), |
|
|
|
path('user/<int:pk>/payments', PaymentHistoryView.as_view(), name='user-edit-payments'), |
|
|
|
|
|
|
|
path('user/resend-email-verify', resend_email_verify, name='resend-email-verify'), |
|
|
|
path('privacy', TemplateView.as_view(template_name="templates/lilcity/privacy_policy.html"), name='privacy'), |
|
|
|
path('privacy', TemplateView.as_view(template_name="templates/lilcity/privacy_policy.html"), name='privacy'), |
|
|
|
path('terms', TemplateView.as_view(template_name="templates/lilcity/terms.html"), name='terms'), |
|
|
|
path('terms', TemplateView.as_view(template_name="templates/lilcity/terms.html"), name='terms'), |
|
|
|
path('refund-policy', TemplateView.as_view(template_name="templates/lilcity/refund_policy.html"), name='refund_policy'), |
|
|
|
path('refund-policy', TemplateView.as_view(template_name="templates/lilcity/refund_policy.html"), name='refund_policy'), |
|
|
|
|