|
|
|
|
@ -24,7 +24,7 @@ from apps.course.views import ( |
|
|
|
|
lessoncomment, |
|
|
|
|
) |
|
|
|
|
from apps.course.models import Course |
|
|
|
|
from apps.user.views import UserView |
|
|
|
|
from apps.user.views import UserView, UserEditView |
|
|
|
|
|
|
|
|
|
urlpatterns = [ |
|
|
|
|
path('admin/', admin.site.urls), |
|
|
|
|
@ -37,6 +37,7 @@ urlpatterns = [ |
|
|
|
|
path('lesson/<int:lesson_id>/comment', lessoncomment, name='lessoncomment'), |
|
|
|
|
path('search/', SearchView.as_view(), name='search'), |
|
|
|
|
path('user/<int:pk>/', UserView.as_view(), name='user'), |
|
|
|
|
path('user/<int:pk>/edit/', UserEditView.as_view(), name='user-edit'), |
|
|
|
|
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'), |
|
|
|
|
|