Wednesday, May 30, 2018

Syntax error

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', 'marcus@flymat21.com']})

--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment