Skip to content

Instantly share code, notes, and snippets.

@mosquito
Created July 2, 2014 08:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mosquito/2edbac2ad97574a568be to your computer and use it in GitHub Desktop.
Save mosquito/2edbac2ad97574a568be to your computer and use it in GitHub Desktop.
/Users/mosquito/dev/python/m4u-main/env/bin/python /Users/mosquito/dev/python/m4u-main/m4u_django/manage.py visitors_create_site example.net17
(0.000) SELECT `visitors_site`.`id`, `visitors_site`.`site`, `visitors_site`.`regexp`, `visitors_site`.`master_key`, `visitors_site`.`public_key` FROM `visitors_site` WHERE `visitors_site`.`site` = 'example.net17' ; args=('example.net17',)
(0.000) SAVEPOINT `s140735108956944_x1`; args=None
(0.000) UPDATE `visitors_site` SET `site` = 'example.net17', `regexp` = 0, `master_key` = '981483a6-599f-44d6-bbca-ed917a4fe713', `public_key` = '2402c9b4-1fb9-4b77-beef-44da64a10dc2' WHERE `visitors_site`.`id` = 64181407565977 ; args=('example.net17', False, '981483a6-599f-44d6-bbca-ed917a4fe713', '2402c9b4-1fb9-4b77-beef-44da64a10dc2', 64181407565977)
(0.000) INSERT INTO `visitors_site` (`id`, `site`, `regexp`, `master_key`, `public_key`) VALUES (64181407565977, 'example.net17', 0, '981483a6-599f-44d6-bbca-ed917a4fe713', '2402c9b4-1fb9-4b77-beef-44da64a10dc2'); args=(64181407565977, 'example.net17', False, '981483a6-599f-44d6-bbca-ed917a4fe713', '2402c9b4-1fb9-4b77-beef-44da64a10dc2')
(0.000) SELECT `django_content_type`.`id`, `django_content_type`.`name`, `django_content_type`.`app_label`, `django_content_type`.`model` FROM `django_content_type` WHERE (`django_content_type`.`model` = 'site' AND `django_content_type`.`app_label` = 'visitors' ); args=('site', 'visitors')
Unable to save object because: (1146, "Table 'django_visitors.django_content_type' doesn't exist")
(0.000) ROLLBACK TO SAVEPOINT `s140735108956944_x1`; args=None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment