it did thanks :). and changing the { to ( helped also for anyone view for
future reference
.
On Wednesday, May 30, 2018 at 8:48:53 PM UTC-4, Michael MacIntosh wrote:
>
> Hi Caleb,
>
> I think there should be a comma here
>
> basic.html' {'content'
>
> so it should be
>
> basic.html', {'content'
> Hope that helps!
>
> On 5/30/2018 5:45 PM, Caleb Bryson wrote:
>
> I can not seem to figure out what the syntax error is in line 7 of this
> code, can anyone help
>
> from django.shortcuts import render
> def index(request):
> return render(request, 'hybridair/home.html')
> def contact(request):
> return render(request, 'hybridair/basic.html' {'content' : ['contact the
> team at', '[email protected] <javascript:>']})
> --
> 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] <javascript:>.
> To post to this group, send email to [email protected]
> <javascript:>.
> 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/efe2686c-1e4d-477e-8057-90a81b1bef00%40googlegroups.com
>
> <https://groups.google.com/d/msgid/django-users/efe2686c-1e4d-477e-8057-90a81b1bef00%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> This message has been scanned for viruses and dangerous content by
> *E.F.A. Project* <http://www.efa-project.org>, and is believed to be
> clean.
> Click here to report this message as spam.
> <http://lsefa1.linear-systems.com/cgi-bin/learn-msg.cgi?id=F23C9100627.AB423&token=cfc190fea6a5055650a1e751b5e05171>
>
>
>
>
--
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/5131b543-4ac1-49a9-8bc2-4bed615606d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.