If you want to use Django's built in admin, you can keep using it normally. One good practice is to separate you API. So inside your apps you create an api folder and inside your URL, serializer and views.py
Em Dom, 16 de dez de 2018 14:22, Jean-Luc Robitaille <[email protected] escreveu: > Hello! > > I want to build an app with a Vue frontend and a DRF backend. > I want to use Django because I will need roles and permissions for users. > > Can I use the Django admin area from my Vue frontend? Or do I need to > build an Admin area in Vue? > > For example, if my frontend app is located at myapp.com and it makes > calls to my api at mybackend.com/api, technically the admin area is > located at mybackend.com/admin. > Can I show this admin area at myapp.com/admin? > > Thanks everyone! > > Jean-Luc > > Side note: Maybe this isn't a smart way to build my app, if that's the > case, what would be your suggestions? > > -- > You received this message because you are subscribed to the Google Groups > "Django REST framework" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
