Skip to main content

All Questions

2 votes
0 answers
2k views

Django REST custom methods for generic views

I'm intern and work on a project where I develop DRF API that need to interact with mobile app written by my colleague with Ionic framework. We are creating new user. My view method is following: <...
Ilia_Mochalov's user avatar
2 votes
2 answers
292 views

Handling rejected HTTP responses with status 401

I'm kinda new to javascript and have question about it. Now my practical project is growing a bit bigger. I got the following if else statement. Is it possible to refactor this ? Should i use an use ...
Greg's user avatar
  • 193