accrete 0.0.126__py3-none-any.whl → 0.0.127__py3-none-any.whl

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.
@@ -1,4 +1,27 @@
1
1
  from django.contrib import admin
2
2
  from .models import User
3
3
 
4
- admin.site.register(User)
4
+
5
+ class UserAdmin(admin.ModelAdmin):
6
+
7
+ model = User
8
+ list_display = (
9
+ 'email',
10
+ 'username',
11
+ 'first_name',
12
+ 'last_name'
13
+ )
14
+ search_fields = [
15
+ 'email',
16
+ 'username',
17
+ 'first_name',
18
+ 'last_name'
19
+ ]
20
+ list_filter = [
21
+ 'is_superuser',
22
+ 'is_staff',
23
+ 'is_active'
24
+ ]
25
+
26
+
27
+ admin.site.register(User, UserAdmin)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: accrete
3
- Version: 0.0.126
3
+ Version: 0.0.127
4
4
  Summary: Django Shared Schema Multi Tenant
5
5
  Author-email: Benedikt Jilek <benedikt.jilek@pm.me>
6
6
  License: Copyright (c) 2023 Benedikt Jilek
@@ -217,7 +217,7 @@ accrete/contrib/ui/templatetags/ui.py,sha256=M8rbD6k7qS4uMSSA7_G0x3bK56b4aw5VB6Y
217
217
  accrete/contrib/ui/widgets/__init__.py,sha256=W_y10jfu37lygp4frXuKFSGec97gpNbWskG6DMhTKtY,69
218
218
  accrete/contrib/ui/widgets/search_select.py,sha256=RloKdh_t8So6aL4-SmHMAd0-bVY57_RFVM0Hmhw2q5c,3432
219
219
  accrete/contrib/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
220
- accrete/contrib/user/admin.py,sha256=YS4iApli7XUaIl9GsEJxys2j8sepX0by88omYHjff-E,85
220
+ accrete/contrib/user/admin.py,sha256=SCKhmveujY-hoK65B07FnzzW6fQl2EmsAEtEFVPRABY,455
221
221
  accrete/contrib/user/apps.py,sha256=oHDrAiHf-G57mZLyxqGJzRY2DbPprGFD-QgyVJG_ruI,156
222
222
  accrete/contrib/user/forms.py,sha256=BpwF_t1-7BpBVmwLpIm6hdqUpPqajoR0ZGOJ8cmaO6M,3290
223
223
  accrete/contrib/user/middleware.py,sha256=qblcujwJsthopagyT-hPFq4HsMyGt-VvqZw5TQopBjk,403
@@ -259,7 +259,7 @@ accrete/utils/forms.py,sha256=1UQoG0cXel4Tg-a_cG9doJNrl62a0JMDVEYrT5TSX1s,3383
259
259
  accrete/utils/log.py,sha256=BH0MBDweAjx30wGBO4F3sFhbgkSoEs7T1lLLjlYZNnA,407
260
260
  accrete/utils/models.py,sha256=2xTacvcpmDK_Bp4rAK7JdVLf8HU009LYNJ6eSpMgYZI,1014
261
261
  accrete/utils/views.py,sha256=AutijWetWGgjdO1PNc4gxCblT-i1fAfldNDFRbO9Sac,5012
262
- accrete-0.0.126.dist-info/METADATA,sha256=VKDm7rneeTHPMkV34gh-IO7rbliXvptbo21uzt7lpDY,4953
263
- accrete-0.0.126.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
264
- accrete-0.0.126.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
265
- accrete-0.0.126.dist-info/RECORD,,
262
+ accrete-0.0.127.dist-info/METADATA,sha256=zv9_i7-0zFLS75fPRLBMn73QEt5HUpoLUwnEAyTHs3I,4953
263
+ accrete-0.0.127.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
264
+ accrete-0.0.127.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
265
+ accrete-0.0.127.dist-info/RECORD,,