PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
Howdy! I have been working with Django/Pinax on a 10.6.4 system with python 2.6.6 and have had no luck getting PIL to work. I have looked through about 10-15 paged including ones listed on this group with no results. Currently the error I am getting is: The _imaging C module is not installed I ha

Re: PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
t's there, but the library loader hasn't been told about it.  On > > linux this means findable via ld.conf (or ld.so.conf) and ldconfig has > > been run since.  Package installation scripts usually take care of > > this, but it sometimes needs to be done by hand, if yo

Re: PIL on 10.6 = PAIN

2010-08-31 Thread keynesiandreamer
em still up the stream? -Ben On Aug 31, 11:49 am, keynesiandreamer wrote: > Thanks Bill and Mathieu! > > I will try the Mac port option first, in fact I did look at it last > night probably around 1am or so... > > I treied rebuilding the virtual env I was using as well just to &g

Re: PIL on 10.6 = PAIN

2010-09-01 Thread keynesiandreamer
or nothing ? > > Buildout: > > /opt/local/bin/python2.6 bootstrap.py > > Virtualenv: > > virtualenv -p /opt/local/bin/python2.6 > > Nothing: > > /opt/local/bin/python2.6 manage.py runserver > > On Tue, Aug 31, 2010 at 9:40 PM, keynesiandreamer > > > &

Form not taking my input...

2010-09-13 Thread keynesiandreamer
Howdy, I am still new to Django and have been working with forms. Currently I a getting an error that says a field can't be NULL, even though I have entered data into it. Weird! Error: IntegrityError at /save/ winerater_wine.alcohol may not be NULL Request Method: POST Request URL:

Re: Form not taking my input...

2010-09-13 Thread keynesiandreamer
'/user/%s/' % request.user.username ) else: form = WineAddForm() variables = RequestContext(request, { 'form': form }) return render_to_response('wine_add.html', variables) HTH -Ben On Sep 13, 11:07 am, Daniel Roseman wrote: > On Sep 13, 5:48 pm,

Re: Form not taking my input...

2010-09-13 Thread keynesiandreamer
 pm, keynesiandreamer wrote: > > > > > Hi Daniel, thanks for looking at this! > > > Here is my views.py code related to this: > > > @login_required > > def wine_add_page(request): > >   if request.method == 'POST': > >     form = WineAddForm(request.

Re: Form not taking my input...

2010-09-14 Thread keynesiandreamer
Hey Daniel I was able to get my form working yay! Not sure the defaults was what I was looking for but you got me looking in the right direction. Thanks very much. -Ben On Sep 13, 2:41 pm, Daniel Roseman wrote: > On Sep 13, 9:32 pm, keynesiandreamer wrote: > > > > > Hi

Re: virtualenv and deployment

2010-12-15 Thread keynesiandreamer
Wow very timely thread! I am trying to deploy on Dreamhost and struggling. They have a nice easy to build Django env, but getting my app running... thats been another matter. Thanks for asking Alex, and thanks for all the replies to this. Very informative. On Dec 15, 1:56 pm, Álex González wro

Redirecting to last view after login.

2011-01-02 Thread keynesiandreamer
I have wrestled with this one for a bit and googled and looked through documentation, so I guess its time to ask. I am trying make my app redirect to the last viewed page after logging in. I am running django 1.2.4 and have had no luck so far. This Stack Overflow thread seemed like it would do th

Re: Redirecting to last view after login.

2011-01-04 Thread keynesiandreamer
Anybody? Bueller? On Jan 2, 8:25 pm, keynesiandreamer wrote: > I have wrestled with this one for a bit and googled and looked through > documentation, so I guess its time to ask. > > I am trying make my app redirect to the last viewed page after logging > in. I am running django

Re: Redirecting to last view after login.

2011-02-20 Thread keynesiandreamer
Thanks so much for the reply Scott. Wish I would have seen it a bit sooner. So I double checked my TEMPLATE_CONTEXT_PROCESSORS as you suggested: TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processo