Changes between Version 1 and Version 2 of Ticket #13348, comment 7


Ignore:
Timestamp:
Feb 26, 2017, 2:39:02 PM (8 years ago)
Author:
nielx

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13348, comment 7

    v1 v2  
    55* pootle/apps/pootle_tagging/migrations/0002_auto__del_goal__del_itemwithgoal.py
    66* pootle/apps/pootle_tagging/migrations/0003_del_tag__del_taggeditem.py
     7
     8To prevent the bugs from happening, perform the following in `python manage.py shell`, '''before''' upgrading the source to Pootle 2.6.2
     9{{{
     10from django.contrib.contenttypes.models import ContentType
     11ct = ContentType.objects.filter(app_label="voting").get()
     12ct.delete()
     13ct = ContentType.objects.filter(app_label="pootle_tagging")
     14for c in ct:
     15    c.delete()
     16ct = ContentType.objects.filter(app_label="taggit")
     17for c in ct:
     18    c.delete()
     19}}}