This article was written through a translator. There may be typos or mistranslations.
I am a trainee who is receiving training for data scientist & full stack web developer at a training institution in Korea. The training institute made the Java SpringBoot Gradle project as a client, made manage.py as a server defined by Vscode, and printed out the type of iris as ajax to the springboot project as determining the type of iris from manage.py. However, the current team project is a Django project, and the professor asked me to try the platform APILognin in conjunction with the spring boot. I found this site through keyword search based on what I learned from Spring projcet. And I'm root urls from Django Project.I wrote this while looking at the https://www.django-rest-framework.org/ site on Py. You have installed all the libraries that the site tells you to install. from django.contrib.auth.models import User from rest_framework import routers, serializers, viewsets class UserSerializer(serializers.HyperlinkedModelSerializer): class Meta: Model = User fields = ['url', 'username', 'email', 'is_staff'] class UserViewSet(viewsets.ModelViewSet): queryset = User.objects.all() serializer_class = UserSerializer router = routers.DefaultRouter() router.register(r'users',UserViewSet) #First time seeing f''String something like r'' -> RawString ESCAPE grammar controlled from ESCAPE urlpatterns = [ path("admin/", admin.site.urls), path('', TemplateView.as_view(template_name='common/home.html'), name='home'), path("movie/", include("movie.urls")), path("user/", include("user.urls")), path('api-auth/', include('rest_framework.urls', namespace='rest_framework')), ] I'd like to link a project based on Django to a client and a project based on Spring boot to a server, what should I do? It's really hard to reverse what you've learned. I need your help. -- 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 django-rest-framework+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/3681250d-d617-453d-9623-a4d64fc8911dn%40googlegroups.com.