Changes between Initial Version and Version 3 of Ticket #23966


Ignore:
Timestamp:
Dec 6, 2014, 3:41:57 AM (9 years ago)
Author:
Kenial Sookyum Lee
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23966

    • Property Cc keniallee@… added
    • Property Summary Pre-migrate database requirements enhancementDoing pre-migrate database requirements
  • Ticket #23966 – Description

    initial v3  
    33For example, when using django.contrib.gis.db.backends.spatialite as a backend, the database file should be initialized at first time with this command: `"SELECT InitSpatialMetaData();"` Unless, it causes some error like https://code.djangoproject.com/ticket/20968.
    44
    5 I guess this would be appropriate: adding a before_migration() method to DatabaseWrapper, and letting database backends inherit it to do some jobs.
     5~~I guess this would be appropriate: adding a before_migration() method to DatabaseWrapper, and letting database backends inherit it to do some jobs.~~
     6
     7New workaround codes are added to django/contrib/gis/apps.py. (Thanks @aaugustin!)
     8
     9Pull request link: https://github.com/django/django/pull/3695
Back to Top