Re: moving url's of my site

2007-02-07 Thread Reinmar
If you need to be flexible that way, I suppose you could set up a constant like URL_PREFIX in a module, e.g. yourproject/constants.py, and then from yourproject.constants import URL_PREFIX in your various urls.py, models.py and views to have access to it and insert it into urlpatterns, get_absol

Re: Removing SQL from Templates

2007-01-09 Thread reinmar
reinmar wrote: > Hi David, > This sounds truly disturbing. Can you give an example of how your > templates execute SQL queries? That would help in giving specific > advice. David, Ignore that, I missed the discussion at the duplicate post http://groups.google.com/group/

Re: Removing SQL from Templates

2007-01-09 Thread reinmar
Hi David, This sounds truly disturbing. Can you give an example of how your templates execute SQL queries? That would help in giving specific advice. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g