Re: permalinks from cron job

2010-01-18 Thread eric.frederich
I do not understand how this would work. The only place where /apps/ is mentioned is apache's config file. WSGIScriptAlias /apps /export/home/web/docs/django/my_site/apache/ django.wsgi There is nothing in my Django settings about /apps/. Is there a setting that I can put in my Django settings?

Re: permalinks from cron job

2010-01-18 Thread Andy McKay
You can set a prefix here: http://code.djangoproject.com/browser/django/trunk/django/core/urlresolvers.py#L364 -- Andy McKay, @clearwind http://clearwind.ca/djangoski -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: permalinks from cron job

2010-01-17 Thread Ted Nyman
More generally, in a crontab, you'll need to set both the PYTHONPATH and give the location of the relevant Django settings. -Ted On Jan 17, 2010, at 8:22 PM, "eric.frederich" wrote: Is there some setting somewhere to set the prefix? Can it be set via an

Re: permalinks from cron job

2010-01-17 Thread eric.frederich
:: bump :: On Jan 14, 1:59 pm, "eric.frederich" wrote: > My django urls work nicely when browsing around, clicking things, and > when my views generate emails.  They all have the appropriate prefix. > > In apache's conf file I have the following... > > WSGIScriptAlias

permalinks from cron job

2010-01-14 Thread eric.frederich
My django urls work nicely when browsing around, clicking things, and when my views generate emails. They all have the appropriate prefix. In apache's conf file I have the following... WSGIScriptAlias /apps /export/home/web/docs/django/my_site/apache/ django.wsgi My urls look like