-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 599406f
Showing
26 changed files
with
601 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.contrib import admin | ||
|
||
# Register your models here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class BackupConfig(AppConfig): | ||
default_auto_field = 'django.db.models.BigAutoField' | ||
name = 'django_db_seed' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[ | ||
{ | ||
"model": "admin.logentry", | ||
"pk": 3, | ||
"fields": { | ||
"action_time": "2024-03-09T11:45:23.045Z", | ||
"user": 1, | ||
"content_type": 7, | ||
"object_id": "8", | ||
"object_repr": "Sensor Groups 1", | ||
"action_flag": 1, | ||
"change_message": "[{\"added\": {}}]" | ||
} | ||
}, | ||
{ | ||
"model": "admin.logentry", | ||
"pk": 2, | ||
"fields": { | ||
"action_time": "2024-03-09T11:44:47.458Z", | ||
"user": 1, | ||
"content_type": 4, | ||
"object_id": "3", | ||
"object_repr": "user1", | ||
"action_flag": 1, | ||
"change_message": "[{\"added\": {}}]" | ||
} | ||
}, | ||
{ | ||
"model": "admin.logentry", | ||
"pk": 1, | ||
"fields": { | ||
"action_time": "2024-03-09T11:32:49.321Z", | ||
"user": 1, | ||
"content_type": 4, | ||
"object_id": "1", | ||
"object_repr": "admin", | ||
"action_flag": 2, | ||
"change_message": "[{\"changed\": {\"fields\": [\"User permissions\"]}}]" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,254 @@ | ||
[ | ||
{ | ||
"model": "auth.permission", | ||
"pk": 1, | ||
"fields": { | ||
"name": "Can add log entry", | ||
"content_type": 1, | ||
"codename": "add_logentry" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 2, | ||
"fields": { | ||
"name": "Can change log entry", | ||
"content_type": 1, | ||
"codename": "change_logentry" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 3, | ||
"fields": { | ||
"name": "Can delete log entry", | ||
"content_type": 1, | ||
"codename": "delete_logentry" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 4, | ||
"fields": { | ||
"name": "Can view log entry", | ||
"content_type": 1, | ||
"codename": "view_logentry" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 9, | ||
"fields": { | ||
"name": "Can add group", | ||
"content_type": 3, | ||
"codename": "add_group" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 10, | ||
"fields": { | ||
"name": "Can change group", | ||
"content_type": 3, | ||
"codename": "change_group" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 11, | ||
"fields": { | ||
"name": "Can delete group", | ||
"content_type": 3, | ||
"codename": "delete_group" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 12, | ||
"fields": { | ||
"name": "Can view group", | ||
"content_type": 3, | ||
"codename": "view_group" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 5, | ||
"fields": { | ||
"name": "Can add permission", | ||
"content_type": 2, | ||
"codename": "add_permission" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 6, | ||
"fields": { | ||
"name": "Can change permission", | ||
"content_type": 2, | ||
"codename": "change_permission" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 7, | ||
"fields": { | ||
"name": "Can delete permission", | ||
"content_type": 2, | ||
"codename": "delete_permission" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 8, | ||
"fields": { | ||
"name": "Can view permission", | ||
"content_type": 2, | ||
"codename": "view_permission" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 13, | ||
"fields": { | ||
"name": "Can add user", | ||
"content_type": 4, | ||
"codename": "add_user" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 14, | ||
"fields": { | ||
"name": "Can change user", | ||
"content_type": 4, | ||
"codename": "change_user" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 15, | ||
"fields": { | ||
"name": "Can delete user", | ||
"content_type": 4, | ||
"codename": "delete_user" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 16, | ||
"fields": { | ||
"name": "Can view user", | ||
"content_type": 4, | ||
"codename": "view_user" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 17, | ||
"fields": { | ||
"name": "Can add content type", | ||
"content_type": 5, | ||
"codename": "add_contenttype" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 18, | ||
"fields": { | ||
"name": "Can change content type", | ||
"content_type": 5, | ||
"codename": "change_contenttype" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 19, | ||
"fields": { | ||
"name": "Can delete content type", | ||
"content_type": 5, | ||
"codename": "delete_contenttype" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 20, | ||
"fields": { | ||
"name": "Can view content type", | ||
"content_type": 5, | ||
"codename": "view_contenttype" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 21, | ||
"fields": { | ||
"name": "Can add session", | ||
"content_type": 6, | ||
"codename": "add_session" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 22, | ||
"fields": { | ||
"name": "Can change session", | ||
"content_type": 6, | ||
"codename": "change_session" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 23, | ||
"fields": { | ||
"name": "Can delete session", | ||
"content_type": 6, | ||
"codename": "delete_session" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 24, | ||
"fields": { | ||
"name": "Can view session", | ||
"content_type": 6, | ||
"codename": "view_session" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 25, | ||
"fields": { | ||
"name": "Can add todo_item", | ||
"content_type": 7, | ||
"codename": "add_todoitem" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 26, | ||
"fields": { | ||
"name": "Can change todo_item", | ||
"content_type": 7, | ||
"codename": "change_todoitem" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 27, | ||
"fields": { | ||
"name": "Can delete todo_item", | ||
"content_type": 7, | ||
"codename": "delete_todoitem" | ||
} | ||
}, | ||
{ | ||
"model": "auth.permission", | ||
"pk": 28, | ||
"fields": { | ||
"name": "Can view todo_item", | ||
"content_type": 7, | ||
"codename": "view_todoitem" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
[ | ||
{ | ||
"model": "auth.user", | ||
"pk": 1, | ||
"fields": { | ||
"password": "pbkdf2_sha256$720000$0g2urTWX5GhNau7JorVrVG$DE6Nf5qjdaHUjUPAYVaC2RO1s/cs4daBHzapwjHYCDw=", | ||
"last_login": "2024-03-09T08:01:12Z", | ||
"is_superuser": true, | ||
"username": "admin", | ||
"first_name": "", | ||
"last_name": "", | ||
"email": "admin@yopmail.com", | ||
"is_staff": true, | ||
"is_active": true, | ||
"date_joined": "2024-03-08T19:49:47Z", | ||
"groups": [], | ||
"user_permissions": [ | ||
25, | ||
26, | ||
27, | ||
28 | ||
] | ||
} | ||
}, | ||
{ | ||
"model": "auth.user", | ||
"pk": 2, | ||
"fields": { | ||
"password": "pbkdf2_sha256$720000$0g2urTWX5GhNau7JorVrVG$DE6Nf5qjdaHUjUPAYVaC2RO1s/cs4daBHzapwjHYCDw=", | ||
"last_login": "2024-03-09T08:01:12.626Z", | ||
"is_superuser": true, | ||
"username": "user", | ||
"first_name": "", | ||
"last_name": "", | ||
"email": "user@yopmail.com", | ||
"is_staff": true, | ||
"is_active": true, | ||
"date_joined": "2024-03-08T19:49:47.103Z", | ||
"groups": [], | ||
"user_permissions": [] | ||
} | ||
}, | ||
{ | ||
"model": "auth.user", | ||
"pk": 3, | ||
"fields": { | ||
"password": "pbkdf2_sha256$720000$JOnTGaqyYID85wIKGgGvZ6$Q6wU5S5/CvRml3HRf3GyVg7Jm0BEfn/Zge6HtVPOlo4=", | ||
"last_login": null, | ||
"is_superuser": false, | ||
"username": "user1", | ||
"first_name": "", | ||
"last_name": "", | ||
"email": "", | ||
"is_staff": false, | ||
"is_active": true, | ||
"date_joined": "2024-03-09T11:44:47.138Z", | ||
"groups": [], | ||
"user_permissions": [] | ||
} | ||
} | ||
] |
Oops, something went wrong.