Add installation data submition code

This commit is contained in:
Roberto Rosario
2012-06-29 03:13:57 -04:00
parent 1b076bbc5d
commit 3046be3c81
2 changed files with 45 additions and 3 deletions
+2 -2
View File
@@ -26,11 +26,11 @@ def check_first_run():
try:
details = Installation.objects.get()
except DatabaseError:
# Avoid database errors when the app tables haven't been created yet
pass
else:
if details.is_first_run:
details.is_first_run = False
#details.save()
details.submit()
register_tool(installation_details)