2-1_project_repo's People
2-1_project_repo's Issues
역할에 따른 회원가입, 로그인 기능 구현
개발 사항
- 추상 User 클래스를 상속받은 Admin, Staff, Normal 모델 클래스 구현
- 사용자의 역할에 따라 로그인 및 회원가입 시 다른 동작
- ex: 로그인 시 Staff 유저를 체크할 경우 StaffUser 모델에서 사용자 인증을 거친다.
개발 방향
- 역할별 사용자 모델 구성
- Form에서 각 Field에 대한 validation
- Custom AutheticationBackend를 구축하여 form에서 전달된 역할(Role)에 따라 인증의 대상이 되는 모델 클래스를 동적으로 할당
예상 결과
- 사용자 역할에 따른 로그인 및 회원가입
REST API 기능 개발
개발 사항
- 로그인, 회원가입 기능에 대한 REST API 기능 추가
개발 방향
- DRF를 이용해 유저별 생성, 검색, 삭제를 구현
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.