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 <
[email protected]>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi,
>
> On Tue, Oct 09, 2018 at 02:28:25PM +0200, konstantin Heinrich wrote:
> > I replaced code with <p>{{ form }}</p> but nothing changed.?
>
> There's one more error in your code, and it's right here:
>
> >     return  render(request, 'base.html',  {' form ': frm} )
>
> As you can see above, you're passing a context variable by the name of
> “ form ” with a leading an trailing space to the template engine. As
> far as I know, context variables cannot contain spaces, because there
> is no way to actually refer to them from the template itself.
> Honestly, I'm surprised that doesn't raise an error.
>
> Regardless, you should remove the spaces around “form”, and then
> you'll be able to refer to the form as, well, “form” in your template.
>
> Good luck,
>
> Michal
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQIcBAEBCgAGBQJbvKE4AAoJEHA7T/IPM/klQToP/0+5qNMWutLRDIkvYdXAz/iQ
> rTfPg36VcKJzgdHz2ncRvl9wYNhxyeyGqYS/FjQr8ZyqkMFsL89UfamSEDdwkJiP
> BOVm4IWrVdPoANRqtaklmChBHMbFCAsDrj+RY6UH9nZDTb5yiKraRHfKNFadJ4GA
> LimrIXMbcPJ/2hzC+imv68qsR81WOeIdSSNrY4TnyJrzVp0qgZaiWdQ8YCmG0Tbc
> S71nNvUUfbNCp2kCiu/pH0wLscMXBJlSVJ5BtzGN99gK9LusSUKWJ/mqLm7w9DCS
> k2Z0xCgQ8NwaNRvtkRsl3TEHIpAfac3vf92/VEuWsOGWpCb8d8KYCwVzsf57J9Kf
> 6QCP9pw9RP8B3JMIm3I0djiakA3UTZNfbog3aQGzLVROmuQjUyWwvxVw2vaqUhj2
> moL/Eq/M6eahcfYn3CFYfLojqukXDS0pL1Qgj+Njqng2qiG5DKAIF1iMFZZoREs4
> OOZC+dJg3Vos/ebY/vZBYdAxO92UsKYXod5WCqNaoyyKuwWaufoHhNZoteVZ5hjj
> F6GGcGP6ugdswmZDT1E3+RnLgFsmB8G8+w3uAi8obFDhFjkldgfVxEnw0Ki2JcTB
> UWkD1KCur9f7hYo+34vNNfiCtXlxACaMdVNdb3X1R5aCMvh5VjvBJI/31ja6Yw9Z
> K3cucs2jnkLdbf9KiSZD
> =aClS
> -----END PGP SIGNATURE-----
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20181009123816.GE18928%40koniiiik.org
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHKy%2BP%3D6ghn_JJGz_F6rRqpR1A6LBPCECpyWNSHt%3D2e%3DCL1tbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to