User Tools

Site Tools


doc:appunti:prog:django

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:appunti:prog:django [2011/06/26 11:33] – [Mettere i dati nella vista] niccolodoc:appunti:prog:django [2011/06/26 11:34] – [Mettere i dati nella vista] niccolo
Line 215: Line 215:
 from django.template.loader import get_template from django.template.loader import get_template
  
-def balance(request): +def my_view(request): 
-    template = get_template('balance.html')+    template = get_template('my_view.html')
     variables = Context({     variables = Context({
         'page_title': u'Titolo della vista',         'page_title': u'Titolo della vista',
doc/appunti/prog/django.txt · Last modified: 2011/06/28 09:15 by niccolo