Try to create the model only after the post_migrate signal

This commit is contained in:
Roberto Rosario
2014-07-18 18:35:10 -04:00
parent ba71c80b32
commit 206b5c1a56
2 changed files with 4 additions and 10 deletions

View File

@@ -39,7 +39,7 @@ from .literals import (FORM_SUBMIT_URL, FORM_KEY, FORM_RECEIVER_FIELD,
class Installation(SingletonModel):
_properties = SortedDict()
is_first_run = models.BooleanField(default=False)
is_first_run = models.BooleanField(default=True)
uuid = models.CharField(max_length=48, blank=True, default=lambda: unicode(uuid.uuid4()))
def add_property(self, property_instance):