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
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
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
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?
--
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:
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
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
7 matches
Mail list logo