title: How to show this blog django backend by its id in react frontend
body: <p>models</p>
  <pre><code>class Blog(models.Model):
      title = models.CharField(max_length=50)
      content = models.TextField()
      created_at = models.DateTimeField(auto_now_add=True)
      updated_at = models.DateTimeField(auto_now=True)
  </code></pre>
  <p>serializers</p>
  <pre><code>class BlogSerializer(serializers.ModelSerializer):
      class Meta:
          model = Blog
          fields = '__all__'
  </code></pre>
  <p>views</p>
  <pre><code>class BlogDetailView(generics.RetrieveUpdateDestroyAPIView):
      queryset = Blog.objects.all()
      serializer_class = BlogSerializer
  </code></pre>
  <p>and urls</p>
  <pre><code>from django.urls import path
  from .views import BlogDetailView
  
  urlpatterns = [
      path('blog/&lt;int:pk&gt;/', BlogDetailView.as_view()),
  ]
  </code></pre>
  <p>I'm trying to make a blog website. How can we show blogs by id in react js</p>