Hi,
I am new to django. The stockphoto app interested my but I have discovered
that it is not current. I am working my way through it to upgrade--models seem
to work but the forms in view still need updating.
Has anyone updated the app? And if so, would you share with me. Thanks.
John
Hi everybody!
I have installed the application "Stockphoto" on my website. i can add
gallery and photos. I have read that we can upload zipfiles directly
for a gallery. And I don't know how can i make it!
If you have any idea, i'm inter
ou should add this
> directory to this tuple.
> I hope that help
>
> On Aug 2, 5:38 am, Danno <[EMAIL PROTECTED]> wrote:
>
> > So I was able to import everything it looks like ok, but when i go
> > tohttp://localhost/stockphoto/
>
> > it is giving me the f
t everything it looks like ok, but when i go
> tohttp://localhost/stockphoto/
>
> it is giving me the following error:
> TemplateSyntaxError at /stockphoto/
> Template u'base.html' cannot be extended, because it doesn't exist
>
> So I navigate to my installed st
Subject: Re: Trouble with installing stockphoto
So I was able to import everything it looks like ok, but when i go to
http://localhost/stockphoto/
it is giving me the following error:
TemplateSyntaxError at /stockphoto/
Template u'base.html' cannot be extended, because it doesn't exist
So I was able to import everything it looks like ok, but when i go to
http://localhost/stockphoto/
it is giving me the following error:
TemplateSyntaxError at /stockphoto/
Template u'base.html' cannot be extended, because it doesn't exist
So I navigate to my installed stockphoto
I am having a bit of trouble installing stockphoto (
http://www.carcosa.net/jason/software/django/stockphoto/README.html )
I am wanting to try out just the functionality of the app itself, not
yet integrating it with a current project and am running into a few
errors. Here is my work flow as to
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
On 1/17/07, Isaac Alston <[EMAIL PROTECTED]> wrote:
> 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
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
On 1/17/07, Isaac Alston <[EMAIL PROTECTED]> wrote:
Ok, I figured this part out. I looked at the stockphoto/models.py
code, and discovered it was doing something like STOCKPHOTO_URL[-1],
which was obviously causing the error, but I couldn't work out why.
Then I realised that if STO
string index out of range
1 error found
Ok, I figured this part out. I looked at the stockphoto/models.py
code, and discovered it was doing something like STOCKPHOTO_URL[-1],
which was obviously causing the error, but I couldn't work out why.
Then I realised that if STOCKPHOTO_URL was already d
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?
--
ed to do a fresh
install of stockphoto. Upon doing this, I now receive a new error:
"threeci.stockphoto: string index out of range" when I try to syncdb
(or go to the app). Curiouser and curiouser.
The only changes I've made, was set the stockphoto urls to '' (because
I just wante
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 rece
ing up a 'proper' server while in development.
Hmm, that MEDIA_URL worries me. Can you try setting that to something
more concrete?
> For my site, for example, one of the .jpgs have the link:
> http://media.awwca.ca/site_media/stockphoto/2006/09/17/HPIM1621a.JPG
Is this taken f
media is in /smedia. I'm using runserver so I don't have a
'media server' setup yet - I've put something into urls.py from the
Django docs, which lets you serve stuff out of a folder without
setting up a 'proper' server while in development.
For my site, for exa
On 1/16/07, Isaac Alston <[EMAIL PROTECTED]> wrote:
> 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 stoc
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
On 1/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I'm having a bit of trouble with stockphoto
http://www.carcosa.net/jason/software/django/stockphoto/
Basically, I've followed the install /exactly/ as it says in the readme
file, and everything seems to go fine until I
I'm having a bit of trouble with stockphoto
http://www.carcosa.net/jason/software/django/stockphoto/
Basically, I've followed the install /exactly/ as it says in the readme
file, and everything seems to go fine until I go to the admin and try
to view one of the photos which has bee
21 matches
Mail list logo