No bother, I have found the solution. Simply use the ContextProcessor.
On May 7, 10:27 pm, Stephen Cheng wrote:
> I have got a case like this: I have a drop down list of value of 8
> cities which requires a db query every time when every page loads. The
> problem is when the url is diverted to d
I have got a case like this: I have a drop down list of value of 8
cities which requires a db query every time when every page loads. The
problem is when the url is diverted to django-registration module,
then I don't know how to properly pass the citylist as a context value
to django-registration
2 matches
Mail list logo