김대연
Committed by 서승완

url 수정

......@@ -34,7 +34,6 @@ class UserManager(BaseUserManager):
date_of_birth=date_of_birth,
name= "True",
)
#user.is_staff = True
user.is_admin = True
user.save(using=self._db)
return user
......
......@@ -64,5 +64,3 @@ class UpdateUserSerializer(serializers.ModelSerializer):
return instance
class GroupSerializer (serializers.HyperlinkedModelSerializer):
class Meta
\ No newline at end of file
......
......@@ -13,6 +13,6 @@ urlpatterns =[
url("^user/$", UserAPI.as_view()),
url("^update/$", UserUpdateAPI.as_view()),
url("^userlist/$", UserListAPI.as_view()),
url("",include("knox.urls")),
url("",include("knox.urls")), #logout/ url접속시 로그아웃
]
......