Commit Graph

12 Commits

Author SHA1 Message Date
Christopher C. Wells a40b3c6f93 Add user types tests 2023-02-10 06:14:37 -08:00
Christopher C. Wells 90e16431b8 Format code 2023-02-10 06:14:37 -08:00
Christopher C. Wells cd44a473cf Replace references to Django core `User` model with `get_user_model` 2023-02-10 06:14:37 -08:00
earthcomfy 84d14c3410 feat: Add data migration to create groups and assign permissions 2022-10-31 06:49:55 -07:00
earthcomfy b50748598b fix - Remove staff type from group and add is-staff arg 2022-10-31 06:49:55 -07:00
earthcomfy 400ad66968 feat: Add group argument to createuser command 2022-10-31 06:49:55 -07:00
Hana Belay 74582effb1
Create a user add management command (#534)
* feat: Create management command to add a user

* feat: Test user create management command

* feat: Remove unnecessary args from createuser command

* fix: remove in-active arg from createuser command

* feat: Add doc to createuser command

Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2022-10-04 08:24:01 -07:00
Christopher C. Wells cd946280cb Format code with black 2022-02-09 16:00:30 -08:00
Christopher Charbonneau Wells 5dc372281b Remove all unicode_literals imports. 2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells 1fa3c49f69 Fix and re-enable the reset management command test.
Not 100% sure of why this fixes the issue - it appears that changes to django.test.TestCase in Django 2.0 led to the test failing.
2017-12-06 12:01:45 -05:00
Christopher Charbonneau Wells 8b98a60ad1 Disable reset command tests temporarily.
The command works correctly when run, but for some reason is having issues through the test (which uses call_command). The issue does not appear to be related to Django 2.0's changes to the call_command method.
2017-12-03 16:54:19 -05:00
Christopher Charbonneau Wells f9f6ea5e88 Add management command tests. 2017-11-11 17:25:28 -05:00