Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-10 Thread easypie
10, 2012 1:35:02 PM UTC-8, somecallitblues wrote: > > I suspect you're on a Mac and your jpglib is not compiled properly. If you > are on Mac make sure you look into that. > > Cheers, > > mario > www.zenbookings.com > On 10 Dec, 2012 4:20 PM, "easypie" > &

Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
ave PIL installed and it is > working. > > On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote: >> >> I got it working by granting 775 permission for that fold and its >> sub-folder where the files had to be created and lacked enough privilege to >> do so

Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
UTC-8, easypie wrote: > > I encountered an error where whenever I go to upload a file, it tells me > that a folder doesn't have enough permission. What kind of permission do we > give these folders? I use Apache server. Do I change the whole project > folder to group www-data? The

IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-08 Thread easypie
I encountered an error where whenever I go to upload a file, it tells me that a folder doesn't have enough permission. What kind of permission do we give these folders? I use Apache server. Do I change the whole project folder to group www-data? Then set chmod to 775 to the project folder and a

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
tself. But after I did a fresh install of virtualenv and pull a copy of the project back to working server, everything booted back nicely. Thanks everyone (...for now? =) On Friday, December 7, 2012 12:03:27 AM UTC-8, easypie wrote: > > I'm getting an 500 internal error. I did two things

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
I also went through this suggestion and the response is a success. https://groups.google.com/forum/?fromgroups=#!topic/django-users/Rb9F7BS6td0%5B1-25%5D -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
e... but from > what I've read, one of the most important things to do is ensure that the > virtualenv site-packages directory is the first thing in sys.path the > wsgi.py file there doesn't seem to be manipulating sys.path at all. > > > On Friday, December 7,

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
Here's my wsgi.py file located in my project: http://dpaste.org/dBRqQ/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0DBDHo15FrcJ. To post to this group,

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
Here's my apache log. I know this is outside of django but this might help find the cause: http://dpaste.org/V9ONE/ thanks for the helps. On Friday, December 7, 2012 1:06:30 PM UTC-8, easypie wrote: > > I took the action suggested but it failed. So I decided to remove my whole

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
I took the action suggested but it failed. So I decided to remove my whole project directory and recreate the database to start a fresh install of the project. But when I visit the site url it still returns the same error posted in the apache error log. Is this maybe something to do with my wsgi

Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread easypie
I'm getting an 500 internal error. I did two things before this happened. (1) I modified a single html file then (2) logged into admin panel and changed the SITE's domain name. Afterward, I restarted the server but the website kept responding w/ 500 error. Here's the apache error log: http://dp

Re: ./manage.py collectstatic does not collect my folder

2012-10-06 Thread easypie
not mistaken, the files in STATICFILES_DIRS will override the > application's static directories. > > Regards, > Xavier Ordoquy, > Linovia. > > Le 7 oct. 2012 à 06:52, easypie > a > écrit : > > I have my project setup so ./manage.py collectstatic will up

./manage.py collectstatic does not collect my folder

2012-10-06 Thread easypie
I have my project setup so ./manage.py collectstatic will upload all the files in /static/ onto the Amazon S3 server. The only problem is that I have a folder located in .../static/theme/{site layout gfx} that doesn't get collected to the S3 server. I understand that collectstatic ?copies all f

Re: How to Query objects.filter ForeignKey

2012-06-26 Thread easypie
That worked like a charm! I read about the double underscore but didn't think much about it when it crossed my mind. I've been grinding on this for the whole day. My eyes... =) On Tuesday, June 26, 2012 1:04:40 PM UTC-7, Kurtis wrote: > > I performed infobox = InfoDetail.objects.filter(title=in

How to Query objects.filter ForeignKey

2012-06-26 Thread easypie
I'm trying to pass a objects.filter dictionary to HttpResponse. The problem is I have 2 models: InfoBox and InfoDetail. InfoDetail is linked to InfoBox by models.ForeignKey(InfoBox). What I want to do is filter by title which lives in the InfoBox model. I performed infobox = InfoDetail.objects.

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
> > Karl Sutt > > > On Thu, May 3, 2012 at 10:23 PM, easypie wrote: > >> I'm not sure if I should post this in this thread of mine or start new >> one. But it's still about the config files. >> >> After getting uwsgi to work. I tried to link ngin

Re: [help] Server Config: django + uwsgi + nginx

2012-05-03 Thread easypie
problems, don't hesitate to ask. > > On Wed, May 2, 2012 at 1:31 AM, easypie wrote: > >> Thanks. I was missing the virtualenv= mentions earlier. I'm glad I >> know this those settings are meant for development only. I was a little >> confused thinking

Re: [help] Server Config: django + uwsgi + nginx

2012-05-01 Thread easypie
Apr 30, 2012 at 7:36 PM, Karl Sutt wrote: > >> I am not entirely sure what you mean by that. If you mean the nginx >> equivalent of Apache VirtualHosts then the nginx wiki explains it quite >> nicely http://wiki.nginx.org/ServerBlockExample. Is that what you meant? >>

Re: [help] Server Config: django + uwsgi + nginx

2012-05-01 Thread easypie
t; > Karl Sutt > > > On Sun, Apr 29, 2012 at 6:49 PM, easypie wrote: > >> I have this file that was created for me by one of the users in django's >> irc channel. I edited to have the right information inserted but I"m not >> sure what I'm doing wr

Re: [help] Server Config: django + uwsgi + nginx

2012-04-30 Thread easypie
> Karl Sutt > > > On Sun, Apr 29, 2012 at 6:49 PM, easypie wrote: > >> I have this file that was created for me by one of the users in django's >> irc channel. I edited to have the right information inserted but I"m not >> sure what I'm doing wrong

Re: [help] Server Config: django + uwsgi + nginx

2012-04-29 Thread easypie
i followed the django-http+uwsgi quick start and ended up with an error. ImportError: no module named django.core.handlers.wsgi \n unable to load app ... here's the error log: dpaste.org/BM5BW On Sunday, April 29, 2012 11:31:43 AM UTC-7, Roberto De Ioris wrote: > > > > I have this file that was

[help] Server Config: django + uwsgi + nginx

2012-04-29 Thread easypie
I have this file that was created for me by one of the users in django's irc channel. I edited to have the right information inserted but I"m not sure what I'm doing wrong to not make it work. I've spent some time trying to understand each line by searching the web. There's still a thing or two

Re: How to Detect Current Page as Homepage?

2012-03-25 Thread easypie
terns('satchmo_store.shop.views', (r'^$', 'home.home', {}, 'satchmo_shop_home'), ... ) On Sunday, March 25, 2012 12:49:33 AM UTC-7, Kev Dwyer wrote: > > easypie wrote: > > > I'm trying to check {% if homepage %} then show {% endif %}

How to Detect Current Page as Homepage?

2012-03-24 Thread easypie
I'm trying to check {% if homepage %} then show {% endif %} I'm not sure how to go about a test to check the current page if it's my homepage. Do I need to mess around with context processors? What's the usual way of doing it? And how would the {% if ... %} look like? -- You received this mes