Hello,
-- I've been using Django at work since the first beta versions. We switched to Angular + Django a few months ago. I don't really understand the idea behind mixing Django and Angular in a single project template. In my company, we use Django for the backend and Angular for the frontend and they are communicating through a web service, but they are two distinct projects. The only thing that link them is the web service specification. Of course the the two projects evolve with each other but they is no direct link between Angular and Django. We could switch the backend or the frontend framework without any trouble.
For your specific questions, login/auth can be managed using standards like JWT. For changing the password, we developed an specific endpoint in the web service and it is little work. I think the most important advice I would give is avoid coupling between the two frameworks. Moreover, they work well with there proper testing/deployment/... tools.
Hope this helps
Pierre-Nicolas
Le lundi 16 octobre 2017 12:00:28 UTC+2, Roger Gammans a écrit :
Le lundi 16 octobre 2017 12:00:28 UTC+2, Roger Gammans a écrit :
Hi,I'd certainly be interested in helping with such a project; as I current have two angular.io/Django projects here.We've been concentrated more on the such thinks and enhance runserve; to also spawn 'ng build' in another process so the developer experience was smooth.ng.io components for django contrib.auth functions do look like another sensible feature.The other value I see in that project is to provide pointer on best practice way of structuring such development. I think it doesn't exists because enough people haven't come together to do it.On Sun, 2017-10-15 at 08:59 -0700, MartinF11 wrote:Hello,--is there any example project or scaffolding tool for creating some sample project including frontend/backend?I am wondering why such project does not exist or maybe I just cannot find it. There was django-angular but it is for AngularJS1 which so obsolete todays.I need such very basic things that one have to solve very frequently:- login/logout- social auth- registration- forgotten passwordWe have to solve this in every project which involves user interaction within web. To implement all this is like re-inventing a wheel.Are you aware of such project that could serve which I could further extend to my needs? Thank you.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fb36d032- .2450-414e-9d26-7379f069301d% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/efc65f6a-854a-4c83-8662-a9f18bef1b9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment