title: UUID as primary key throws an overflow error despite trying to use taggit
body: <p>I am trying to use UUID as a primary key on a model and it throws an Overflow error when using redirect.</p>
  <p>I looked online for similar problems as I assume it should be quite frequent that people want to do that. I came accross:
  <a href="https://github.com/jazzband/django-taggit/issues/679" rel="nofollow noreferrer">https://github.com/jazzband/django-taggit/issues/679</a></p>
  <p>So I installed dajngo-taggit and I tried to add the snippet on this link in my code but the problem remains.</p>
  <p>Below is my current code using the snippet:</p>
  <p><strong>[models.py]</strong></p>
  <pre><code>from django.db import models
  from taggit.managers import TaggableManager
  from taggit.models import GenericUUIDTaggedItemBase, TaggedItemBase
  
  class Person(models.Model):
      uuid = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
      first_name = models.CharField(max_length=50)
      last_name = models.CharField(max_length=50)
      # ...
  
  class UUIDTaggedItem(GenericUUIDTaggedItemBase, TaggedItemBase):
      # If you only inherit GenericUUIDTaggedItemBase, you need to define
      # a tag field. e.g.
      # tag = models.ForeignKey(Tag, related_name=&quot;uuid_tagged_items&quot;, on_delete=models.CASCADE)
  
      class Meta:
          verbose_name = _(&quot;Tag&quot;)
          verbose_name_plural = _(&quot;Tags&quot;)
  
  class Car(models.Model):
      person = models.ForeignKey(Person, null=True, on_delete=models.SET_NULL)
      brand = models.CharField(max_length=50)
      colour = models.CharField(max_length=50)
      # ...
  </code></pre>
  <p><strong>[urls.py]</strong></p>
  <pre><code># ...    
  urlpatterns = [
      # ...
      path(&quot;&lt;uuid:pk&gt;/car/&lt;int:id&gt;/&quot;, CarDetail.as_view(), name=&quot;car_detail&quot;),
      # ...
  ]
  </code></pre>
  <p>And the error I get is:</p>
  <blockquote>
  <p>OverflowError at
  /en/person/c8c91051-5773-4c69-9587-92b468186db7/car/1/</p>
  <p>Python int too large to convert to SQLite INTEGER</p>
  </blockquote>
  <p>Would you have any ideas of what I could try to fix it? I have been on this issue for quite some time. Thank you!!</p>