Project

General

Profile

« Previous | Next » 

Revision ab282e2b

Added by Serghei Mihai over 10 years ago

Broken migration fix

View differences:

calebasse/personnes/migrations/0003_auto.py
21 21
            if obj.service:
22 22
                obj.services.add(obj.service)
23 23
            else:
24
                for service in orm.Service.objects.all():
24
                for service in orm['ressources.Service'].objects.all():
25 25
                    obj.services.add(service)
26 26
            obj.save()
27 27

  

Also available in: Unified diff