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

2018-10-09 Thread konstantin Heinrich
Hi Michal, yes that was the error. Thank you so much. Strange that no error was shown. Am Di., 9. Okt. 2018 um 14:39 Uhr schrieb Michal Petrucha < michal.petru...@konk.org>: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi, > > On Tue, Oct 09, 2018 at 02:28:25PM +0200, konstantin H

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

2018-10-09 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, On Tue, Oct 09, 2018 at 02:28:25PM +0200, konstantin Heinrich wrote: > I replaced code with {{ form }} but nothing changed.? There's one more error in your code, and it's right here: > return render(request, 'base.html', {' form ': frm}

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

2018-10-09 Thread konstantin Heinrich
I replaced code with {{ form }} but nothing changed.? Am Di., 9. Okt. 2018 um 14:19 Uhr schrieb Joel : > You passed form to template, so you have to refer to that. > > On Tue, 9 Oct, 2018, 5:33 PM konstantin Heinrich, < > kheinrichdja...@gmail.com> wrote: > >> I declared in views.py variable call

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

2018-10-09 Thread Joel
You passed form to template, so you have to refer to that. On Tue, 9 Oct, 2018, 5:33 PM konstantin Heinrich, wrote: > I declared in views.py variable called frm so I have to use it > in my html file to have access to that file.? > > > > Am Di., 9. Okt. 2018 um 13:54 Uhr schrieb Joel : > >> inste

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

2018-10-09 Thread konstantin Heinrich
I declared in views.py variable called frm so I have to use it in my html file to have access to that file.? Am Di., 9. Okt. 2018 um 13:54 Uhr schrieb Joel : > instead of {{ frm }}, try: > > {{ form }} > > I think you'll understand what you did wrong. > > On Tue, 9 Oct, 2018, 5:07 PM , wrote

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

2018-10-09 Thread Joel
instead of {{ frm }}, try: {{ form }} I think you'll understand what you did wrong. On Tue, 9 Oct, 2018, 5:07 PM , wrote: > 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: > > *form