Stockphoto

2010-08-20 Thread John S. Dey
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

Stockphoto and zipfiles

2007-10-11 Thread thomas_c
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

Re: Trouble with installing stockphoto

2007-08-03 Thread Danno
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

Re: Trouble with installing stockphoto

2007-08-02 Thread yml
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

RE: Trouble with installing stockphoto

2007-08-02 Thread mojo
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

Re: Trouble with installing stockphoto

2007-08-01 Thread Danno
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

Trouble with installing stockphoto

2007-08-01 Thread Danno
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

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

Re: Trouble with stockphoto

2007-01-17 Thread Jay Parlar
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

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 Jay Parlar
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

Re: Trouble with stockphoto

2007-01-17 Thread Isaac Alston
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

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-16 Thread Jay Parlar
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

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 rece

Re: Trouble with stockphoto

2007-01-16 Thread Jay Parlar
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

Re: Trouble with stockphoto

2007-01-16 Thread Isaac Alston
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

Re: Trouble with stockphoto

2007-01-16 Thread Jay Parlar
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

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

Re: Trouble with stockphoto

2007-01-15 Thread Jay Parlar
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

Trouble with stockphoto

2007-01-14 Thread [EMAIL PROTECTED]
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