mattjegan / django-gamification

The missing Django Gamification Package
Other
166 stars 28 forks source link

GamificationInterface is required to populate Unlockables on creation #24

Closed mattjegan closed 6 years ago

mattjegan commented 6 years ago

The GamificationInterface is required to create Unlockable instances for each UnlockableDefinition upon creating of a gamification interface. It currently does not.

shinning91 commented 6 years ago

Isn't GamificationInterface already been used to create Unlockable instances at here?

# Create Unlockables for all GamificationInterfaces
            for interface in GamificationInterface.objects.all():
                Unlockable.objects.create_unlockable(self, interface)
mattjegan commented 6 years ago

Ah yes, you are completely right 👍