OnlineJudge/account/urls/user.py
2017-04-18 11:57:57 +08:00

12 lines
292 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from django.conf.urls import url
from ..views.user import UserInfoAPI ,UserProfileAPI
urlpatterns = [
url(r"^user", UserInfoAPI.as_view(), name="user_info_api"),
url(r"^profile$", UserProfileAPI.as_view(), name="user_profile_api"),
]