You need a PostGIS database. That means a PostgreSQL server installed and
running, with PostGIS installed.

That syntax, of file name, only works for sqlite3 database provider.


On Mon, Aug 11, 2014 at 9:46 AM, <richard.oa...@spatialdays.com> wrote:

> Hi all,
>
> I am a newbie to Django and in my settings.py file I have put in my
> database config details as per below:
>
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.contrib.gis.db.backends.postgis',
>         'NAME': os.path.join(BASE_DIR, 'geodjango'),
>         'USER': 'richard',
>         'PASSWORD': 'editing',
>         'POSTGIS_VERSION': '(2.0.3)',
>     }
> }
>
> I am still getting the error message "Cannot determine PostGIS version"
> etc.
>
> I have tried every conceivable variant of the  POSTGIS_VERSION line but no
> joy.
>
> I'm stuck - please help?
>
> Regards
> Richard
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/724ccbb4-3739-4757-944e-b1ce8099f9f0%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/724ccbb4-3739-4757-944e-b1ce8099f9f0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
George R. C. Silva
SIGMA Consultoria
----------------------------
http://www.consultoriasigma.com.br/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGyPVTv2eZz7Nd9JJ1BNk5uo_2J%3DAjFLd8CME9TJnDPY5gVxGQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to