Re: django template extends and include problem.

2011-06-13 Thread yohanes . adhi
.temp.html {% extends "index.html" % {% block t2 %} zzz {% endblock %} .index.html {% extends "base.html" %} {% block t1 %} kk {% endblock %} {% block t2 %} {% endblock %} That will do. Sent from BlackBerry® on 3 -Original Message- From: Korobase Sender: djan

Re: help plz to install Django

2011-06-13 Thread Yohanes Adhi
My advice, you can install easy_install and PIP first. To do that: sudo apt-get python-setuptools After that easy_install is automatically installed. You can use this command: easy_install pip If you are familiar with django 1.3 you can do: pip install django. The command automatically installing

Re: Authentication in API (REST)

2011-06-09 Thread Yohanes Adhi Nugraha
Hi Malcolm, Not that one, if we use django.contrib.auth and @login_required, it's only redirects you to login page. What I saw from another site is, browser will popup an alert with username and password to be filled. Nez -- You received this message because you are subscribed to the Google Gr