#7561: post_syncdb signal should be emitted when syncdb actually finishes
-------------------------------------+-------------------------------------
     Reporter:  cpinto               |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Core (Management     |                  Version:  master
  commands)                          |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:  geodjango            |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by flyingfrog):

 The proposed patch (slightly modified to fit into master) seems to be
 solving an issue with geodjango, specifically postgis.
 I got the issue when trying to create a test database and post sync hooks
 get called before postgis extension is used to create "geometry" type
 columns.
 For example when trying to run tests on my app, it hangs with:

 {{{
 Running post-sync handlers for application contenttypes
 DatabaseError: column mymodels_mymodel.point does not exist
 }}}

 I did run tests against a clean django master clone as described in
 https://docs.djangoproject.com/en/dev/internals/contributing/writing-code
 /unit-tests/#running-the-unit-tests and repeated the tests after applying
 the patch and results are exactly the same (though in both cases there's
 some failure... ).
 I would gladly contribute to the process of moving the patch to "Ready for
 Checkin" but i think I'm gonna need some guidance there as I'm a total
 newcomer to django.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/7561#comment:17>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.ef9ba2efd37b4e33996c565caadfbea6%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to