I want to do a django project where you upload an image and this image is displayed on another page. I can edit it only with admin panel.

Here is the code:

Views.py
========

```
def home(request):
    all1 = New.objects.filter(username='mynameis12').all()
    if not request.user.is_authenticated:
        return redirect('/login/')
    return render(request, 'home.html',{'alls':all1})

```

Models.py
=========

```
class New(models.Model):
    username = models.CharField(max_length=200)
    image = models.ImageField(upload_to='media')

```

Forms.py
========

```

class New1(ModelForm):
    username = forms.CharField(max_length=200)
    image = forms.ImageField(required=False)
    class Meta:
        model = New
        fields = ['username','image']

```

Settings.py
===========

```
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
CRISPY_TEMPLATE_PACK = 'bootstrap4'
LOGIN_URL = '/b/'
LOGIN_REDIRECT_URL = '/b/'
LOGOUT_REDIRECT_URL = '/'

MEDIA_URL = '/media/'
MEDIA_ROOT =  os.path.join(BASE_DIR, 'media') 
STATICFILES_DIRS = (
    os.path.join(BASE_DIR,'static'),
)

```

The image is showed but it doesn't be saved.

What should I do?

Thanks.