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.
- accrete/contrib/user/admin.py +24 -1
- {accrete-0.0.126.dist-info → accrete-0.0.127.dist-info}/METADATA +1 -1
- {accrete-0.0.126.dist-info → accrete-0.0.127.dist-info}/RECORD +5 -5
- {accrete-0.0.126.dist-info → accrete-0.0.127.dist-info}/WHEEL +0 -0
- {accrete-0.0.126.dist-info → accrete-0.0.127.dist-info}/licenses/LICENSE +0 -0
accrete/contrib/user/admin.py
CHANGED
@@ -1,4 +1,27 @@
|
|
1
1
|
from django.contrib import admin
|
2
2
|
from .models import User
|
3
3
|
|
4
|
-
|
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)
|
@@ -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=
|
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.
|
263
|
-
accrete-0.0.
|
264
|
-
accrete-0.0.
|
265
|
-
accrete-0.0.
|
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,,
|
File without changes
|
File without changes
|