Is it a good approach to have Django built-in templates to handle login/registration views, which on successfull login would redirect to a login required view with html template that has the React application embeded in it? Rest of the communication would be a django-rest-framework and React-query or redux-saga on the frontend. Obviously no request without the user authorized will be allowed.
Have Django templates render registration/login form and React rest of the application
363 Views Asked by kenshin At
1
There are 1 best solutions below
Related Questions in REACTJS
- What is `_dereq_()` inside React?
- React TypeError: React.renderComponent is not a function
- React - saving a component in the ref callback
- React Rails component: manually triggering a re-render
- React, ES6 - getInitialState was defined on a plain JavaScript class
- How to get multiple selected options value in React JS?
- React.render replace container instead of inserting into
- reactjs datagrid use html
- props is not initialized in react component
- How to display xml data using Reactjs
- hooking up the data model in ReactJS - syntax
- ReactJS: How to use an immutable empty array or object
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- React select onChange is not working
- ReactJS - Tutorial Comment System > Threaded commenting
Related Questions in DJANGO
- Display images on Django Template Site
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Django invalid literal for int() with base 10:
- Removing URL features from tokens in NLTK
- Django Noob URL to from Root Page to sub Page
- Django Admin tables not displaying correctly
- Django with chartkick
- Django urls.py not rendering correct template
- django form errors before submit
- django admin: custom app_index with context
- Display multiple models in one view in Django
- Unexpected NoReverseMatch error when using include() in urls patterns
- Search for a key in django.core.cache
- Django webapp (on an Apache2 server) hangs indefintely when importing nltk in views.py
- Django flush won't load fixtures
Related Questions in DJANGO-REST-FRAMEWORK
- CORS in ionic app and django
- DjangoRestFramework Class Serializers missing "Meta" attribute?
- django rest framework - token authentication logout
- Django Rest Framework + React + Reflux: Can't GET new objects
- Is it possible to restrict url access from application only in Django REST
- Using QHttpMultiPart with QHttpPart Binary and Form Data
- django rest framework search filter all fields
- How to install python django rest framework on fedora 21 with yum?
- Django REST : Making a custom serializer return proper error message
- Why `create()` method of django rest framework serializer return a value?
- Automatically add all model fields to django rest serializer
- django rest framework - adding to views.obtain_auth_token
- How to deserialize nested objects with Django Rest Framework
- Django REST Framework - Update object with FK to a model with unique field
- Django user login through api
Related Questions in REACT-FULLSTACK
- Difference between port 3000 and 3001 in a fresh react-fullstack generated project?
- Have Django templates render registration/login form and React rest of the application
- TypeError: Cannot read property 'user' of undefined App in REACT
- why Connection test failed?
- how can i delete/update author name if book name is updated or deleted using RESTapi
- How do I serve a React-built front-end on a FastAPI backend?
- Having problem with Array.map() in React when I try to print all array items in unordered list
- Getting CORS error after adding Dockerfile to my Django project
- I don't know how to fix. It will reflect in my all applications where I use the react-router-dom
- Getting warnings for OverlayTrigger in Reactjs
- Sending HTML hyperlinks to EmailJS API (and other possible alternatives)
- How to delete task from todo list as well as mysql
- Cant find MongoDb @BsonId Annotation in specific package
- Vercel Node.js host 404: NOT_FOUND
- Implementing DRM Protection for Content Stored on GCP Cloud Storage in a Koa and Apollo GraphQL Full-Stack Application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes if the only client will be web.
No if maybe later you will have another clients for that api (like andriod app, ios app, or microservices calls) that need authenticate.