OpenCV

- Tom

> On Feb 19, 2022, at 2:27 AM, Sencer Hamarat <sencerhama...@gmail.com> wrote:
> 
> 
> Hi,
> 
> I have two different models which include image fields individually.
> 
> Is there a proper way to compare those imagefileds?
> 
> class ModelA(models.Model):
>     file = models.ImageField(
>         verbose_name=_('File'),
>         blank=False,
>         null=False,
>         max_length=400
>     )
> 
> class ModelB(models.Model):
>     image = ImageField(
>         verbose_name=_('Product Image'),
>         max_length=400,
>         default=static('images/default_thumbnail.png'),
>     )
> 
> 
> Also, I need to figure out how to track any change in a single image field.
> 
> Regards,
> Sencer HAMARAT
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CACp8TZhoLKhfpdn7UcrWajf%2BZ8snaNvFB8M29p4nF5eZ2f7iEg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/97725F33-C463-4CE5-8EDA-DEBE2A9A37FA%40gmail.com.

Reply via email to