title: Google App Engine Blobstore API on Django
body: <p>I have an app built in Django and currently deployed on Google App Engine. Everything works fine except for when I want to upload files larger than 32MB. I get an error which says, <em>413. That’s an error.</em> </p>
  
  <p>I have been doing some research and I've come to realize that I have to use Google App Engine's Blobstore API. I have no idea on how to implement that on my Django App.</p>
  
  <p>Currently my code looks something like this:</p>
  
  <p>Model:</p>
  
  <pre><code>class FileUploads(models.Model):
      title = models.CharField(max_length=200)
      file_upload = models.FileField(upload_to="uploaded_files/", blank=True, null=True)
  </code></pre>
  
  <p>Form:</p>
  
  <pre><code>class UploadFileForm(forms.ModelForm):
  
      class Meta:
          model = FileUploads
          fields = ["title", "file_upload"]
  </code></pre>
  
  <p>View:</p>
  
  <pre><code>def upload_file(request):
  
      if request.method == "POST":
          form = UploadFileForm(request.POST, request.FILES)
          if form.is_valid():
              form.save()  
      form = UploadFileForm()
  
      return render(request, "my_app/templates/template.html", {"form": form})
  </code></pre>
  
  <p>Everything works fine. I would just like to know how to implement <a href="https://cloud.google.com/appengine/docs/standard/python/blobstore/" rel="nofollow noreferrer">Google App Engine's Blobstore API</a> on my current code structure to enable large file uploads.</p>