#26893: Database creation failed using PostGis and Django
--------------------------+--------------------------------------
     Reporter:  csurbier  |                    Owner:  nobody
         Type:  Bug       |                   Status:  closed
    Component:  GIS       |                  Version:  1.8
     Severity:  Normal    |               Resolution:  worksforme
     Keywords:            |             Triage Stage:  Unreviewed
    Has patch:  0         |      Needs documentation:  0
  Needs tests:  0         |  Patch needs improvement:  0
Easy pickings:  0         |                    UI/UX:  0
--------------------------+--------------------------------------

Comment (by csurbier):

 Replying to [comment:2 claudep]:
 > I guess that in your use case, you should follow the instructions and
 create your PostGIS database beforehand.
 >
 
https://docs.djangoproject.com/en/1.9/ref/contrib/gis/install/postgis/#creating-a
 -spatial-database

 it doesn't help. How can i create a database and then update my models
 with PostGis specific fields (such as models.PointField) if i can't run
 migrations too ? Since the connexion fails. Why is the driver trying to
 connect with a default "postgres" user ? This is not what it is in my
 settings. I don't understand.

 Thanks
 Christophe

--
Ticket URL: <https://code.djangoproject.com/ticket/26893#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to