Re: Trouble with stockphoto

2007-01-16 Thread Isaac Alston
You do have to add to urls.py. I'm using stockphoto on one of my sites, you can see my site's code here: http://svn.jayparlar.com/website/trunk/awwca/ Thanks for this. What I meant was the urls.py in the stockphoto directory (sorry I didn't make it clear). I notice that you've not changed this

Re: Trouble with stockphoto

2007-01-16 Thread Isaac Alston
Your paste bin links don't seem to be working for me, but I'm going to guess that your STOCKPHOTO_BASE and STOCKPHOTO_URL aren't right. The link to the .jpg itself shouldn't have 'admin' in it anywhere, unless you have your media setup in a very odd way. This is strange, I'll paste them somewhe

Re: Trouble with stockphoto

2007-01-16 Thread Isaac Alston
Hmm, that MEDIA_URL worries me. Can you try setting that to something more concrete? Ok, I tried setting it to "127.0.0.1:8000" (was the only thing I could think of) and it didn't do anything, so I decided to do a fresh install of stockphoto. Upon doing this, I now receive a new error: "threec

Re: Trouble with stockphoto

2007-01-17 Thread Isaac Alston
Can you paste the full traceback for the string index error? That's the problem: there isn't one (that I can see), the error is given by runserver: $ python manage.py runserver Validating models... threeci.stockphoto: string index out of range 1 error found Is there elsewhere I can look? --

Re: Trouble with stockphoto

2007-01-17 Thread Isaac Alston
On 17/01/07, Isaac Alston <[EMAIL PROTECTED]> wrote: > Can you paste the full traceback for the string index error? That's the problem: there isn't one (that I can see), the error is given by runserver: $ python manage.py runserver Validating models... threeci.stockphoto:

Re: Trouble with stockphoto

2007-01-17 Thread Isaac Alston
The problem is most likely with your MEDIA_URL. Make sure it ends with a '/' Thank you very much. That seems to be it fixed :-D. First I had MEDIA_URL set to: ' ' then '127.0.0.1:8000', then '127.0.0.1:8000/' then '/', then finally '/smedia' which got it working. I'm so happy :-). The only th

Re: Trouble with stockphoto

2007-01-17 Thread Isaac Alston
Ok, that's great, thanks for everything. -- Isaac --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this gr