from django.db import models


class TestModel(models.Model):

    name = models.CharField(max_length=63, unique=True, verbose_name='Name')
    image = models.ImageField(verbose_name='Image')

from django.db import models


class TestModel(models.Model):

    name = models.CharField(max_length=63, unique=True, verbose_name='Name')
    image = models.ImageField(verbose_name='Image', upload_to='uploads/')

Test compatibility with older Django versions.
Test compatibility with older Django versions.

  from django.db import models
  
  
  class TestModel(models.Model):
  
      name = models.CharField(max_length=63, unique=True, verbose_name='Name')
-     image = models.ImageField(verbose_name='Image')
+     image = models.ImageField(verbose_name='Image', upload_to='uploads/')
  
Test compatibility with older Django versions.
## Code Before:
from django.db import models


class TestModel(models.Model):

    name = models.CharField(max_length=63, unique=True, verbose_name='Name')
    image = models.ImageField(verbose_name='Image')

## Instruction:
Test compatibility with older Django versions.
## Code After:
from django.db import models


class TestModel(models.Model):

    name = models.CharField(max_length=63, unique=True, verbose_name='Name')
    image = models.ImageField(verbose_name='Image', upload_to='uploads/')
