From 9c7d8c42f2214226c37b7505f298411dca468e93 Mon Sep 17 00:00:00 2001 From: benzkji Date: Wed, 18 Oct 2017 11:30:37 +0200 Subject: [PATCH] what --- .gitignore | 4 + .idea/django-separate-users.iml | 13 +- .idea/misc.xml | 12 +- .idea/workspace.xml | 601 +++++++++++++----- CHANGELOG.txt | 10 +- manage.py | 2 +- separate_users/admin.py | 80 +-- separate_users/apps.py | 7 + separate_users/management/__init__.py | 1 + .../management/commands/__init__.py | 0 .../commands/separate_users_permissions.py | 28 + separate_users/models.py | 47 ++ .../tests/{settings_test.py => settings.py} | 56 +- separate_users/tests/settings_runtestapp.py | 13 - separate_users/tests/test_app/admin.py | 18 - .../tests/test_app/fixtures/test_app.json | 1 - .../tests/test_app/migrations/0001_initial.py | 44 ++ .../tests/test_app/migrations/__init__.py | 0 separate_users/tests/test_app/models.py | 61 -- separate_users/tests/test_app/views.py | 7 - separate_users/tests/urls.py | 9 - test_requirements.txt | 12 +- 22 files changed, 633 insertions(+), 393 deletions(-) create mode 100644 separate_users/apps.py create mode 100644 separate_users/management/__init__.py create mode 100644 separate_users/management/commands/__init__.py create mode 100644 separate_users/management/commands/separate_users_permissions.py rename separate_users/tests/{settings_test.py => settings.py} (63%) delete mode 100644 separate_users/tests/settings_runtestapp.py delete mode 100644 separate_users/tests/test_app/fixtures/test_app.json create mode 100644 separate_users/tests/test_app/migrations/0001_initial.py create mode 100644 separate_users/tests/test_app/migrations/__init__.py diff --git a/.gitignore b/.gitignore index 72364f9..def0177 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,10 @@ __pycache__/ # C extensions *.so +# sqlite db +*.db +*.sqlite + # Distribution / packaging .Python env/ diff --git a/.idea/django-separate-users.iml b/.idea/django-separate-users.iml index ae71067..9b03fd8 100644 --- a/.idea/django-separate-users.iml +++ b/.idea/django-separate-users.iml @@ -1,11 +1,22 @@ + + + + + + - + + @@ -100,21 +185,14 @@ true DEFINITION_ORDER - -