is there somewhere a tutorial for creating a hello world sample application with django.
Yes, the third tutorial.
http://docs.djangoproject.com/en/dev/intro/tutorial03/#write-your-first-view
though you have to read up to this point.
URL Conf:
from django.conf.urls.defaults import *
urlpatterns = patterns('',
(r'^hello_world/$', 'dot.path.to.view.hello_world'),
)
View:
from django.http import HttpResponse
def hello_world(request):
return HttpResponse("Hello, world.")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With