Re: How to store images that was select in a form

2018-10-11 Thread kheinrichdjango
yes, i read a lot about that topic but it doesn't help me. Am Donnerstag, 11. Oktober 2018 11:24:55 UTC+2 schrieb kheinri...@gmail.com: > > Hi, > > > I have a problem about storing images > that I selected through a Form into some random folder. > > How can I do that? > > Also I want to show th

How to store images that was select in a form

2018-10-11 Thread kheinrichdjango
Hi, I have a problem about storing images that I selected through a Form into some random folder. How can I do that? Also I want to show this selected image on the website. What should I do? Here my code: #Views.py from django.shortcuts import render from django.views.generic import Templ

Django 2.1.1 creating CharField in a Form in Django on a Raspberry pi

2018-10-09 Thread kheinrichdjango
hello, I've tried to create a simple CharField in a Form and show it in my webbrowser but I didn't see anything on my webbrowser? Below my code: *forms.py* from django import forms class menuForm(forms.Form): image = forms.CharField(initial = 'Your Name') date = forms.DateField()