Merci pour votre aide
urls
from django.conf.urls import patterns
from views import welcome
urlpatterns = patterns('',('^welcome$',welcome))
views
from django.http import HttpResponse
def welcome(request):
return HttpResponse('<?xml version="1.0" encoding="utf-8" ?> \
<!doctype html>\
<html xmlns="http://www.w3.org/1999/xhtml">\
<head>\
<title>TROMBINOSCOOOP </title> \
</head>\
<body> \
<p> BIENVENUE AU TROMBISCOOP!</p> \
</body> \
</html>'
)