final edits

This commit is contained in:
2018-12-27 05:16:24 +04:00
parent 273afd18d0
commit da6260be34
8 changed files with 1443 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
CREATE TABLE web_activity
(
id integer PRIMARY KEY AUTOINCREMENT NOT NULL,
type text NOT NULL
);
INSERT INTO web_activity (id, type) VALUES (181, 'Сон');
INSERT INTO web_activity (id, type) VALUES (182, 'Еда');
INSERT INTO web_activity (id, type) VALUES (183, 'Учёба');
INSERT INTO web_activity (id, type) VALUES (184, 'Работа');
INSERT INTO web_activity (id, type) VALUES (185, 'Транспорт');
INSERT INTO web_activity (id, type) VALUES (186, 'Досуг');

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,9 @@
CREATE TABLE web_user
(
id integer PRIMARY KEY AUTOINCREMENT NOT NULL,
name text NOT NULL,
email text NOT NULL
);
INSERT INTO web_user (id, email, name) VALUES (63, 'vasya@abra.me', 'Вася');
INSERT INTO web_user (id, email, name) VALUES (64, 'petya@abra.me', 'Петя');
INSERT INTO web_user (id, email, name) VALUES (67, 'vgrinina@gmail.com', 'Ника');

View File

@@ -24,7 +24,7 @@ SECRET_KEY = '@uo#()klkn3kl-c@6el=7jfyhcunmw-542ry5e$f$$^+xo%q#x'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition