mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
70902908c7
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
9 lines
300 B
Python
9 lines
300 B
Python
from django.core.mail import EmailMessage, SMTPConnection
|
|
from django.http import HttpResponse
|
|
from django.shortcuts import render_to_response
|
|
|
|
def no_template_view(request):
|
|
"A simple view that expects a GET request, and returns a rendered template"
|
|
return HttpResponse("No template used")
|
|
|