from django import forms
from django.db import models
from django.forms.widgets import Widget

# Create your models here.

format_choice = (('.png', '.png'),('.jpg', '.jpg'),('.pdf', '.pdf'),)


class Image(models.Model):
    image = models.ImageField(upload_to='userimg')
    desired_format = models.CharField(max_length=10, choices=format_choice)


baffaaaab396bcc63654446e59415584cc23f9c5
<mask token>


class Image(models.Model):
    <mask token>
    <mask token>

<mask token>


class Image(models.Model):
    image = models.ImageField(upload_to='userimg')
    desired_format = models.CharField(max_length=10, choices=format_choice)

<mask token>
format_choice = ('.png', '.png'), ('.jpg', '.jpg'), ('.pdf', '.pdf')


class Image(models.Model):
    image = models.ImageField(upload_to='userimg')
    desired_format = models.CharField(max_length=10, choices=format_choice)

from django import forms
from django.db import models
from django.forms.widgets import Widget
format_choice = ('.png', '.png'), ('.jpg', '.jpg'), ('.pdf', '.pdf')


class Image(models.Model):
    image = models.ImageField(upload_to='userimg')
    desired_format = models.CharField(max_length=10, choices=format_choice)

from django import forms
from django.db import models
from django.forms.widgets import Widget

# Create your models here.

format_choice = (('.png', '.png'),('.jpg', '.jpg'),('.pdf', '.pdf'),)


class Image(models.Model):
    image = models.ImageField(upload_to='userimg')
    desired_format = models.CharField(max_length=10, choices=format_choice)

