Re: help with GEOS and PROJ.4 in windows 7

2014-02-16 Thread Sam Lai
Did you try the steps listed in the geodjango documentation, specifically https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#osgeo4w and the following step to configure the environment? If you did and it didn't work, what was the error? On 16 February 2014 05:55, Nicholas Perez wrote

Re: Login at the end of form wizard

2014-02-16 Thread Camilo Torres
On Friday, February 14, 2014 6:30:46 AM UTC-4:30, parnigot wrote: > > To work around the problem I’m now trying to include the login form as a > step of the wizard view. > > But I’ve encountered another problem. How can i login the user after it > completed the login step? > Does WizardView hav

Re: Question about the send of file versus the django server

2014-02-16 Thread simone monteleone
Hi Russ, The script is now running in a normal bash shell, where I import the DJANGO_SETTINGS_MODULE. So it's correct to run the script on the machine where the server goes? Or it's possible (and better) runs the commands inside Django? Thanks SM Il giorno domenica 16 febbraio 2014 01:21:

caching django querysets, debug toolbar shows queries still running on page load

2014-02-16 Thread Levi McDonough
Hey everyone, I'm having problems with caching a queryset and storing the results of the query in the cache so the queries don't run when the page loads. I am caching and pickling the queryset, however I keep just storing the query but not the results of the query. I've read through t

Creating database in windows

2014-02-16 Thread Vernon D. Cole
Django on Windows is a poor stepchild of the real thing. If you are serious about using django then you really need to learn Linux at some point in time. I am amazed that something as complex as geodjango will even run in Windows. You have two choices: Either learn to use Windows command line v

Re: First tutorial - 404

2014-02-16 Thread Camilo Torres
On Saturday, February 15, 2014 4:41:34 PM UTC-4:30, Steve Booth wrote: > > I'm just trying to run through the very first tutorial, and frankly, it's > been a nightmare. Running under Fedora 18, Python 2.7, Django version is > 1.4.5. > > So, I got the 1.4 tutorial up, created the site.. all works

Re: Question about the send of file versus the django server

2014-02-16 Thread simone monteleone
In other hand, it's possible to use the Django server to intercept a requests? SM Il giorno domenica 16 febbraio 2014 15:20:54 UTC+1, simone monteleone ha scritto: > > Hi Russ, > > The script is now running in a normal bash shell, where I import the > DJANGO_SETTINGS_MODULE. > > So it's corr

Re: First tutorial - 404

2014-02-16 Thread Mattia Procopio
Il giorno sabato 15 febbraio 2014 22:11:34 UTC+1, Steve Booth ha scritto: > > I've been Googling on this for several hours. Time to ask. > > I'm just trying to run through the very first tutorial, and frankly, it's > been a nightmare. Running under Fedora 18, Python 2.7, Django version is > 1.

Allow the Prefetch queryset to be used with GenericForeignKey

2014-02-16 Thread Robert Kajic
I would love it if the Prefetch object allowed me to pass in custom querysets when prefetching related generic foreign fields. Specifically I want this in order to call select_related on each subgroup. For now I've subclassed the GenericForiengKey class, overriding get_prefetch_queryset, to allo

Re: Template tag render method doesn't get called

2014-02-16 Thread stevedegrace
This is a real problem. I have had the same issue, and I have seen several other people besides yourself bring this up without getting satisfactory answers. I was having the same problem where __init__ was being called but not render, where the purpose of the tag is to insert several variables

Re: Question about the send of file versus the django server

2014-02-16 Thread Russell Keith-Magee
On Sun, Feb 16, 2014 at 10:20 PM, simone monteleone wrote: > Hi Russ, > > The script is now running in a normal bash shell, where I import the > DJANGO_SETTINGS_MODULE. > > So it's correct to run the script on the machine where the server goes? > > Or it's possible (and better) runs the commands i

Re: Digging Up Django Class-based Views

2014-02-16 Thread Frankline
Hi Leo, I have struggled to understand CBVs before and avoided using them most of the time. I looked into your posts and it has been very useful. Written in clear simple English. Now I can't wait to use them in my current and next projects. :-) Thank you. Frank On Fri, Feb 14, 2014 at 4:11 PM