from django.urls import path, include, re_path from users.views import UserinfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, UpdateEmailView from users.views import MyCourseView, MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView app_name = 'users' urlpatterns = [ #查看个人信息 path('info/', UserinfoView.as_view(), name='user_info'), #个人中心更新头像 path('image/upload/', UploadImageView.as_view(), name='image_upload'), #个人中心更新密码 path('update/pwd/', UpdatePwdView.as_view(), name='update_pwd'), #发送邮箱验证码 path('sendemail_code/', SendEmailCodeView.as_view(), name='sendemail_code'), #修改邮箱 path('update_email/', UpdateEmailView.as_view(), name='update_email'), #我的课程 path('mycourse/', MyCourseView.as_view(), name='mycourse'), #我收藏的课程机构 path('myfav/org/', MyFavOrgView.as_view(), name='myfav_org'), #我收藏的教师 path('myfav/teacher/', MyFavTeacherView.as_view(), name='myfav_teacher'),
from django.conf.urls import url from users.views import RegisterView, LoginView, InfoView, MemberView, forget_pwd, safe, FsMsgView, UpdatePwdView, \ AddressList, Address urlpatterns = [ url(r'register/$', RegisterView.as_view(), name='register'), url(r'login/$', LoginView.as_view(), name='login'), url(r'info/$', InfoView.as_view(), name='info'), url(r'member/$', MemberView.as_view(), name='member'), url(r'FsMsg/$', FsMsgView.as_view(), name='FsMsg'), url(r'forget_pwd/$', forget_pwd, name='forget_pwd'), url(r'safe/$', safe, name='safe'), url(r'updatepwd/$', UpdatePwdView.as_view(), name='updatepwd'), url(r'address/$', Address.as_view(), name='address'), url(r'addresslist/$', AddressList.as_view(), name='addresslist'), ]
MyFavOrgView, MyFavTeacherView, MyFavCourseView, MymessageView __author__ = 'nestmilk' __date__ = '2019/2/15 15:19' from django.conf.urls import url, include urlpatterns = [ #用户信息 url(r'^info/$', UserinfoView.as_view(), name='user_info'), #用户头像上传 url(r'^image/upload/$', UploadImageView.as_view(), name='image_upload'), #用户个人中心修改密码 url(r'^update/pwd/$', UpdatePwdView.as_view(), name='update_pwd'), #发送邮箱验证码 url(r'^sendemail_code/$', SendEmailCodeView.as_view(), name='sendemail_code'), #修改邮箱 url(r'^update_email/$', UpdateEmailView.as_view(), name='update_email'), #我的课程 url(r'^mycourse/$', MyCourseView.as_view(), name='mycourse'), #我收藏的课程机构 url(r'^myfav/org/$', MyFavOrgView.as_view(), name='myfav_org'),
# -*- coding:utf-8 -*- """happy_coding URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based views 1. Add an import: from other_app.views import Home 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home') Including another URLconf 1. Import the include() function: from django.conf.urls import url, include 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) """ from django.conf.urls import url from users.views import UserInfoView, UpLoadImageView, UpdatePwdView, SendPwdView urlpatterns = [ url('^info/', UserInfoView.as_view(), name='info'), url('^upload/', UpLoadImageView.as_view(), name='upload'), url('^update/pwd/', UpdatePwdView.as_view(), name='update'), url('^sendemail_code/', SendPwdView.as_view(), name='sendemail_code'), ]
# _*_ coding:utf-8 _*_ from django.conf.urls import url, include from users.views import UsercenterInfoView, ImageUploadView, UpdatePwdView, SendEmailCodeView, UpdateEmailView, \ MyCourseView, MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView urlpatterns = [ url(r'^usercenter_info/$', UsercenterInfoView.as_view(), name="usercenter_info"), url(r'^image/upload/$', ImageUploadView.as_view(), name="image_upload"), # 个人中心修改密码 url(r'^update/pwd/$', UpdatePwdView.as_view(), name="update_pwd"), # 发送邮箱验证码 url(r'^sendemail_code/$', SendEmailCodeView.as_view(), name="sendemail_code"), # 修改邮箱 url(r'^update_email/$', UpdateEmailView.as_view(), name="update_email"), url(r'^mycourse/$', MyCourseView.as_view(), name="mycourse"), # 我的收藏 url(r'^myfav/orgs/$', MyFavOrgView.as_view(), name="myfav_org"), url(r'^myfav/teachers/$', MyFavTeacherView.as_view(), name="myfav_teacher"), url(r'^myfav/courses/$', MyFavCourseView.as_view(), name="myfav_course"), # 我的消息 url(r'^mymessages/$', MyMessageView.as_view(), name="mymessages"), ]
from users.views import UserInfoView, UploadImageView, SendEmailCodeView, UpdateEmailView, UpdatePwdView, MyCourseView, \ MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView __author__ = 'mtianyan' __date__ = '2018/1/14 0014 06:52' from django.urls import path app_name = "users" urlpatterns = [ # 用户信息 path('info/', UserInfoView.as_view(), name="user_info"), # 用户头像上传 path('image/upload/', UploadImageView.as_view(), name="image_upload"), # 用户个人中心修改密码 path('update/pwd/', UpdatePwdView.as_view(), name="update_pwd"), # 专用于发送验证码的 path( 'sendemail_code/', SendEmailCodeView.as_view(), name="sendemail_code"), path('update_email/', UpdateEmailView.as_view(), name="update_email"), # 用户中心我的课程 path('mycourse/', MyCourseView.as_view(), name="mycourse"), # 我收藏的课程机构 path('myfav/org/', MyFavOrgView.as_view(), name="myfav_org"), # 我收藏的授课讲师 path('myfav/teacher/', MyFavTeacherView.as_view(), name="myfav_teacher"),
# @Author : LiuShaoheng from django.conf.urls import url from users.views import UserInfoView, UploadImageView, SendEmailCodeView, UpdateEmailView, UpdatePwdView, MyCourseView, MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView app_name = "users" urlpatterns = [ # 用户信息 url('info/', UserInfoView.as_view(), name="user_info"), # 用户头像上传 url('image/upload/', UploadImageView.as_view(), name="image_upload"), # 用户个人中心修改密码 url('update/pwd/', UpdatePwdView.as_view(), name="update_pwd"), # 专用于发送验证码的 url('sendemail_code/', SendEmailCodeView.as_view(), name="sendemail_code"), url('update_email/', UpdateEmailView.as_view(), name="update_email"), # 用户中心我的课程 url('mycourse/', MyCourseView.as_view(), name="mycourse"), # 我收藏的课程机构 url('myfav/org/', MyFavOrgView.as_view(), name="myfav_org"), # 我收藏的授课讲师 url('myfav/teacher/', MyFavTeacherView.as_view(), name="myfav_teacher"), # 我收藏的课程 url('myfav/course/', MyFavCourseView.as_view(), name="myfav_course"), # 我的消息 url('my_message/', MyMessageView.as_view(), name="my_message"), ]
#-*- coding:utf-8 -*- from django.conf.urls import url from users.views import UserinfoView, UploadImageView, UpdatePwdView, SendMailCode, UpdateEmailView from users.views import MyCourseView, MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView urlpatterns = [ #用户信息 url(r'^info/', UserinfoView.as_view(), name='user_info'), #用户信息 url(r'^image/upload/$', UploadImageView.as_view(), name='image_upload'), #个人中心修改密码 url(r"^update/pwd/$", UpdatePwdView.as_view(), name="update_pwd"), # 发送邮箱验证码 url(r"^sendemail_code/$", SendMailCode.as_view(), name="sendemail_code"), # 更新邮箱 url(r"^update_email/$", UpdateEmailView.as_view(), name="update_email"), # 我的课程 url(r"^mycourse/$", MyCourseView.as_view(), name="mycourse"), # 我收藏的课程机构 url(r"^myfav/org/$", MyFavOrgView.as_view(), name="myfav_org"), # 我收藏的授课讲师 url(r"^myfav/teacher/$", MyFavTeacherView.as_view(), name="myfav_teacher"),
# _*_ coding:utf-8 _*_ # __author__ : 'aj' # __date__ : '2017/12/29 下午1:54' from django.conf.urls import url, include from users.views import UserInfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, MyCourseView, MyFavOrgView, \ MyFavTeacherView, MyMessageView, LogoutView urlpatterns = [ # 用户信息页面 url(r'^info/$', UserInfoView.as_view(), name='info'), # 上传头像 url(r'^image/upload', UploadImageView.as_view(), name='image_upload'), # 修改密码 url(r'^update/pwd', UpdatePwdView.as_view(), name='pwd_update'), # 发送邮箱验证码 url(r'^sendEmail_code', SendEmailCodeView.as_view(), name='sendEmail_code'), # 修改邮箱 url(r'^updateEmail', SendEmailCodeView.as_view(), name='updateEmail'), # 我的课程 url(r'^my_course/$', MyCourseView.as_view(), name='my_course'), # 我收藏的机构 url(r'^my_fav/org/$', MyFavOrgView.as_view(), name='my_fav_org'), # 我收藏的讲师 url(r'^my_fav/teacher/$', MyFavTeacherView.as_view(), name='my_fav_teacher'), # 我收藏的课程 url(r'^my_fav/course/$', MyFavTeacherView.as_view(), name='my_fav_course'), # 我收藏的课程
@Time : 18-11-13 上午11:22 @Author : TX @File : urls.py @Software: PyCharm """ from django.urls import path, re_path from users.views import UserinfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, UpdateEmailView, \ MyCourseView, MyFavOrgView, MyFavTeacherView, MyFavCourseView, MyMessageView app_name = 'users' urlpatterns = [ path('info/', UserinfoView.as_view(), name='user_info'), # 用户信息 path("image/upload/", UploadImageView.as_view(), name='image_upload'), # 用户更改图像 path("update/pwd/", UpdatePwdView.as_view(), name='update_pwd'), # 用户个人中心修改密码 path("sendemail_code/", SendEmailCodeView.as_view(), name='sendemail_code'), # 发送邮箱修改的验证码 path("update_email/", UpdateEmailView.as_view(), name='update_email'), # 修改邮箱 path("mycourse/", MyCourseView.as_view(), name='mycourse'), # 我的课程 path('myfav/org/', MyFavOrgView.as_view(), name="myfav_org"), # 我的收藏--课程机构 path('myfav/teacher/', MyFavTeacherView.as_view(), name="myfav_teacher"), # 我的收藏--授课讲师 path('myfav/course/', MyFavCourseView.as_view(), name="myfav_course"), # 我的收藏--课程 path('my_message/', MyMessageView.as_view(), name="my_message"), # 我的消息 ]
@file: urls.py @time: 2018/03/12 """ from django.urls import path from users.views import UserInfoView, UploadImageView, UpdatePwdView, SendEmailCodeView, UpdateEmailView, MyCourseView, MyFavOrgView, \ MyFavTeacherView, MyFavCourseView, MyMessageView app_name = "courses" urlpatterns = [ # 个人信息页 path('info/', UserInfoView.as_view(), name="user_info"), # 用户头像上次 path('image/upload/', UploadImageView.as_view(), name="image_upload"), # 用户密码修改 path('update/pwd/', UpdatePwdView.as_view(), name="pwd_update"), # 发送邮箱验证码 path('sendemail_code/', SendEmailCodeView.as_view(), name="sendemail_code"), # 修改邮箱 path('update_email/', UpdateEmailView.as_view(), name="update_email"), # 用户中心我的课程 path('mycourse/', MyCourseView.as_view(), name="mycourse"), # 我收藏的课程机构 path('myfav/org/', MyFavOrgView.as_view(), name="myfav_org"), # 我收藏的授课讲师 path('myfav/teacher/', MyFavTeacherView.as_view(), name="myfav_teacher"), # 我收藏的课程 path('myfav/course/', MyFavCourseView.as_view(), name="myfav_course"), # 我的消息 path('my_message/', MyMessageView.as_view(), name="my_message"),
__author__ = "hudingjing" __date__ = '2019/4/2 0:09 ' from django.conf.urls import url from users.views import UserCenterView, UploadImageView, UpdatePwdView, SendEmailVerifyCodeView, ChangeEmailView from users.views import MyFavTeacherView, MyFavCourseView, MyCourseView, MyFavOrgView, MyMessageView urlpatterns = [ #用户个人信息中心 url(r"^info/$", UserCenterView.as_view(), name='center'), #用户个人中心修改头像 url(r"^image/upload/$", UploadImageView.as_view(), name='image_upload'), # 用户个人中心修改密码 url(r"^update/pwd/$", UpdatePwdView.as_view(), name='pwd_update'), # 用户个人中心发送邮箱验证码 url(r"^sendemail_code/$", SendEmailVerifyCodeView.as_view(), name='send_email_verifyCode'), # 用户个人中心修改邮箱 url(r"^update_email/$", ChangeEmailView.as_view(), name='change_email'), # 用户个人中心我的课程 url(r"^mycourse/$", MyCourseView.as_view(), name='mycourse'), # 用户个人中心我的收藏机构 url(r"^myfav/org/$", MyFavOrgView.as_view(), name='myfav_org'), # 用户个人中心我的收藏讲师 url(r"^myfav/teacher/$", MyFavTeacherView.as_view(), name='myfav_teacher'), # 用户个人中心我的收藏课程 url(r"^myfav/course/$", MyFavCourseView.as_view(), name='myfav_course'), # 用户个人中心我的消息