|
|
|
|
@ -25,7 +25,8 @@ from apps.course.views import ( |
|
|
|
|
CourseOnModerationView, |
|
|
|
|
) |
|
|
|
|
from apps.user.views import ( |
|
|
|
|
UserView, UserEditView, NotificationEditView, |
|
|
|
|
AuthorRequestView, UserView, |
|
|
|
|
UserEditView, NotificationEditView, |
|
|
|
|
PaymentHistoryView, resend_email_verify, |
|
|
|
|
) |
|
|
|
|
from apps.payment.views import CourseBuyView, PaymentwallCallbackView, SchoolBuyView |
|
|
|
|
@ -35,6 +36,7 @@ from .views import IndexView |
|
|
|
|
urlpatterns = [ |
|
|
|
|
path('admin/', admin.site.urls), |
|
|
|
|
path('auth/', include(('apps.auth.urls', 'lilcity'))), |
|
|
|
|
path('author-request/', AuthorRequestView.as_view(), name='author_request'), |
|
|
|
|
path('author-request/success/', TemplateView.as_view(template_name='user/become-author-success.html'), name='author-request-success'), |
|
|
|
|
path('courses/', CoursesView.as_view(), name='courses'), |
|
|
|
|
path('course/create', CourseEditView.as_view(), name='course_create'), |
|
|
|
|
@ -59,12 +61,12 @@ urlpatterns = [ |
|
|
|
|
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/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('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('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('refund-policy', TemplateView.as_view(template_name='templates/lilcity/refund_policy.html'), name='refund_policy'), |
|
|
|
|
path('', IndexView.as_view(), name='index'), |
|
|
|
|
path('api/v1/', include(('api.v1.urls', 'api_v1'))), |
|
|
|
|
path('test', TemplateView.as_view(template_name="templates/lilcity/test.html"), name='test'), |
|
|
|
|
path('test', TemplateView.as_view(template_name='templates/lilcity/test.html'), name='test'), |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|