bazis-permit 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bazis_permit-2.2.0/.dockerignore +3 -0
- bazis_permit-2.2.0/.github/workflows/build-publish.yml +16 -0
- bazis_permit-2.2.0/.github/workflows/update-licenses.yml +18 -0
- bazis_permit-2.2.0/.gitignore +44 -0
- bazis_permit-2.2.0/PKG-INFO +801 -0
- bazis_permit-2.2.0/README.md +775 -0
- bazis_permit-2.2.0/bazis/contrib/permit/__init__.py +35 -0
- bazis_permit-2.2.0/bazis/contrib/permit/_version.py +34 -0
- bazis_permit-2.2.0/bazis/contrib/permit/admin.py +33 -0
- bazis_permit-2.2.0/bazis/contrib/permit/admin_abstract.py +198 -0
- bazis_permit-2.2.0/bazis/contrib/permit/apps.py +40 -0
- bazis_permit-2.2.0/bazis/contrib/permit/conf.py +33 -0
- bazis_permit-2.2.0/bazis/contrib/permit/locale/en/LC_MESSAGES/django.mo +0 -0
- bazis_permit-2.2.0/bazis/contrib/permit/locale/en/LC_MESSAGES/django.po +93 -0
- bazis_permit-2.2.0/bazis/contrib/permit/locale/messages.pot +97 -0
- bazis_permit-2.2.0/bazis/contrib/permit/locale/ru/LC_MESSAGES/django.mo +0 -0
- bazis_permit-2.2.0/bazis/contrib/permit/locale/ru/LC_MESSAGES/django.po +93 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0001_initial.py +81 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0002_alter_grouppermission_permissions.py +32 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0003_alter_grouppermission_slug_alter_permission_slug_and_more.py +42 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0004_alter_grouppermission_slug_alter_permission_slug_and_more.py +42 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0005_alter_grouppermission_slug_alter_permission_slug_and_more.py +42 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/0006_remove_grouppermission_name_remove_role_name_and_more.py +47 -0
- bazis_permit-2.2.0/bazis/contrib/permit/migrations/__init__.py +14 -0
- bazis_permit-2.2.0/bazis/contrib/permit/models.py +31 -0
- bazis_permit-2.2.0/bazis/contrib/permit/models_abstract.py +431 -0
- bazis_permit-2.2.0/bazis/contrib/permit/router.py +23 -0
- bazis_permit-2.2.0/bazis/contrib/permit/routes.py +28 -0
- bazis_permit-2.2.0/bazis/contrib/permit/routes_abstract.py +625 -0
- bazis_permit-2.2.0/bazis/contrib/permit/schemas.py +172 -0
- bazis_permit-2.2.0/bazis/contrib/permit/services.py +265 -0
- bazis_permit-2.2.0/bazis/contrib/permit/signals.py +54 -0
- bazis_permit-2.2.0/bazis/contrib/permit/utils.py +97 -0
- bazis_permit-2.2.0/bazis_permit.egg-info/PKG-INFO +801 -0
- bazis_permit-2.2.0/bazis_permit.egg-info/SOURCES.txt +92 -0
- bazis_permit-2.2.0/bazis_permit.egg-info/dependency_links.txt +1 -0
- bazis_permit-2.2.0/bazis_permit.egg-info/requires.txt +8 -0
- bazis_permit-2.2.0/bazis_permit.egg-info/top_level.txt +1 -0
- bazis_permit-2.2.0/docs/Makefile +24 -0
- bazis_permit-2.2.0/docs/README.md +31 -0
- bazis_permit-2.2.0/docs/_static/pydata-custom.css +10 -0
- bazis_permit-2.2.0/docs/_static/readthedocs-custom.css +30 -0
- bazis_permit-2.2.0/docs/_templates/custom-class-template.rst +35 -0
- bazis_permit-2.2.0/docs/_templates/custom-module-template.rst +66 -0
- bazis_permit-2.2.0/docs/conf.py +254 -0
- bazis_permit-2.2.0/docs/index.rst +154 -0
- bazis_permit-2.2.0/docs/make.bat +39 -0
- bazis_permit-2.2.0/docs/manage.py +36 -0
- bazis_permit-2.2.0/docs/project.env +2 -0
- bazis_permit-2.2.0/docs/requirements.txt +7 -0
- bazis_permit-2.2.0/docs/settings.py +15 -0
- bazis_permit-2.2.0/docs/structure.rst +10 -0
- bazis_permit-2.2.0/pyproject.toml +94 -0
- bazis_permit-2.2.0/pytest.ini +3 -0
- bazis_permit-2.2.0/sample/deploy/admin.sh +4 -0
- bazis_permit-2.2.0/sample/deploy/app.sh +5 -0
- bazis_permit-2.2.0/sample/deploy/config/admin.py +30 -0
- bazis_permit-2.2.0/sample/deploy/config/app.py +32 -0
- bazis_permit-2.2.0/sample/deploy/db.sh +78 -0
- bazis_permit-2.2.0/sample/deploy/init.sh +40 -0
- bazis_permit-2.2.0/sample/entity/__init__.py +14 -0
- bazis_permit-2.2.0/sample/entity/admin.py +97 -0
- bazis_permit-2.2.0/sample/entity/migrations/0001_initial.py +107 -0
- bazis_permit-2.2.0/sample/entity/migrations/0002_initial.py +102 -0
- bazis_permit-2.2.0/sample/entity/migrations/0003_childentity__author_parent_selectors_and_more.py +83 -0
- bazis_permit-2.2.0/sample/entity/migrations/0004_rename__author_parent_selectors_childentity_autogen_author_parent_selectors_and_more.py +82 -0
- bazis_permit-2.2.0/sample/entity/migrations/0005_remove_parententity_autogen_author_updated_selectors_and_more.py +74 -0
- bazis_permit-2.2.0/sample/entity/migrations/0006_remove_extendedentity_entity_exte_autogen_55395d_gin_and_more.py +51 -0
- bazis_permit-2.2.0/sample/entity/migrations/__init__.py +14 -0
- bazis_permit-2.2.0/sample/entity/models.py +180 -0
- bazis_permit-2.2.0/sample/entity/router.py +24 -0
- bazis_permit-2.2.0/sample/entity/routes.py +72 -0
- bazis_permit-2.2.0/sample/manage.py +40 -0
- bazis_permit-2.2.0/sample/project.env +21 -0
- bazis_permit-2.2.0/sample/pyproject.toml +15 -0
- bazis_permit-2.2.0/sample/sample/__init__.py +14 -0
- bazis_permit-2.2.0/sample/sample/main.py +24 -0
- bazis_permit-2.2.0/sample/sample/router.py +22 -0
- bazis_permit-2.2.0/sample/sample/settings.py +15 -0
- bazis_permit-2.2.0/sample/sample/urls.py +30 -0
- bazis_permit-2.2.0/sample/sample/wsgi.py +22 -0
- bazis_permit-2.2.0/sample/users/__init__.py +14 -0
- bazis_permit-2.2.0/sample/users/admin.py +25 -0
- bazis_permit-2.2.0/sample/users/migrations/0001_initial.py +65 -0
- bazis_permit-2.2.0/sample/users/migrations/0002_user_dt_first_login.py +34 -0
- bazis_permit-2.2.0/sample/users/migrations/__init__.py +14 -0
- bazis_permit-2.2.0/sample/users/models.py +39 -0
- bazis_permit-2.2.0/sample/uv.lock +1344 -0
- bazis_permit-2.2.0/setup.cfg +4 -0
- bazis_permit-2.2.0/tests/__init__.py +14 -0
- bazis_permit-2.2.0/tests/conftest.py +37 -0
- bazis_permit-2.2.0/tests/factories.py +72 -0
- bazis_permit-2.2.0/tests/test_permit.py +868 -0
- bazis_permit-2.2.0/tests/test_sparse_fieldsets.py +371 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Build and Publish
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*.*.*'
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: write
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
uses: ecofuture-tech/.github/.github/workflows/reusable-build-publish.yml@main
|
|
14
|
+
secrets:
|
|
15
|
+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
16
|
+
TEST_PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
name: Update Licenses
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
paths:
|
|
8
|
+
- '**.py'
|
|
9
|
+
- 'pyproject.toml'
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
update-licenses:
|
|
16
|
+
uses: ecofuture-tech/.github/.github/workflows/reusable-update-licenses.yml@main
|
|
17
|
+
secrets:
|
|
18
|
+
WORKFLOW_LICENSE_TOKEN: ${{ secrets.WORKFLOW_LICENSE_TOKEN }}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
.idea
|
|
2
|
+
.ipynb_checkpoints
|
|
3
|
+
.mypy_cache
|
|
4
|
+
.vscode
|
|
5
|
+
__pycache__
|
|
6
|
+
.pytest_cache
|
|
7
|
+
htmlcov
|
|
8
|
+
dist
|
|
9
|
+
site
|
|
10
|
+
.coverage
|
|
11
|
+
coverage.xml
|
|
12
|
+
.netlify
|
|
13
|
+
test.db
|
|
14
|
+
log.txt
|
|
15
|
+
Pipfile.lock
|
|
16
|
+
env3.*
|
|
17
|
+
env
|
|
18
|
+
docs_build
|
|
19
|
+
venv
|
|
20
|
+
.venv
|
|
21
|
+
docs.zip
|
|
22
|
+
archive.zip
|
|
23
|
+
|
|
24
|
+
.env
|
|
25
|
+
local.env
|
|
26
|
+
*/.env*
|
|
27
|
+
|
|
28
|
+
# vim temporary files
|
|
29
|
+
*~
|
|
30
|
+
.*.sw?
|
|
31
|
+
*.DS_Store
|
|
32
|
+
|
|
33
|
+
*.egg-info
|
|
34
|
+
build
|
|
35
|
+
dist
|
|
36
|
+
|
|
37
|
+
docs/_autosummary
|
|
38
|
+
docs/_build
|
|
39
|
+
*.DS_Store
|
|
40
|
+
*.log
|
|
41
|
+
my-*
|
|
42
|
+
My*
|
|
43
|
+
*/**/_version.py
|
|
44
|
+
/uv.lock
|