#20798: create_template_postgis should use -e shell parameter
--------------------------------------+------------------------------------
     Reporter:  mitar                 |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  GIS                   |                  Version:  1.5
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by olethanh):

 After looking into it I'm not sure if it's such a good idea, because the
 script don't clean after itself in case of failure.
 For example if a user doesn't have postgis installed, the first time the
 script run it will create the database template_postgis then fail to
 install the postgis extension in it. Then the user install postgis but the
 script will directly fail in subsequents runs since template_postgis will
 already exists. So this isn't really user friendly.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20798#comment:2>
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/063.9e6f1ff21064b82d92acc42f62d4080e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to