accrete 0.0.126__py3-none-any.whl → 0.0.128__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/context_processors.py +8 -0
- accrete/contrib/user/admin.py +24 -1
- {accrete-0.0.126.dist-info → accrete-0.0.128.dist-info}/METADATA +1 -1
- {accrete-0.0.126.dist-info → accrete-0.0.128.dist-info}/RECORD +6 -5
- {accrete-0.0.126.dist-info → accrete-0.0.128.dist-info}/WHEEL +0 -0
- {accrete-0.0.126.dist-info → accrete-0.0.128.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)
|
@@ -2,6 +2,7 @@ accrete/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
accrete/admin.py,sha256=6NiX8_3pYIhnru5hNzvnW4xfzWsbf7gZj8Z2p38xIOk,1232
|
3
3
|
accrete/apps.py,sha256=F7ynMLHJr_6bRujWtZVUzCliY2CGKiDvyUmL4F68L2E,146
|
4
4
|
accrete/config.py,sha256=1Yubvz5PVdCsX0tA7HvazhtnvCvgCoEl33_dR8SHpb8,392
|
5
|
+
accrete/context_processors.py,sha256=DySglwyD2TwPsxhElVkYDvyBBUJabEKGMiKCLe0KN4Q,148
|
5
6
|
accrete/fields.py,sha256=9SlltB5AJvDfiAbYGWZemrqpjqDl1XNgNrhyTGoBJ2A,4693
|
6
7
|
accrete/forms.py,sha256=H2hPQemslRLvTVV0Wl1TfUmTc5wU3Z98nQTMiLMliqo,1288
|
7
8
|
accrete/managers.py,sha256=DevRVm7cStvlfz6TriitSINr40POCi4HNaHX48VkrMA,1620
|
@@ -217,7 +218,7 @@ accrete/contrib/ui/templatetags/ui.py,sha256=M8rbD6k7qS4uMSSA7_G0x3bK56b4aw5VB6Y
|
|
217
218
|
accrete/contrib/ui/widgets/__init__.py,sha256=W_y10jfu37lygp4frXuKFSGec97gpNbWskG6DMhTKtY,69
|
218
219
|
accrete/contrib/ui/widgets/search_select.py,sha256=RloKdh_t8So6aL4-SmHMAd0-bVY57_RFVM0Hmhw2q5c,3432
|
219
220
|
accrete/contrib/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
220
|
-
accrete/contrib/user/admin.py,sha256=
|
221
|
+
accrete/contrib/user/admin.py,sha256=SCKhmveujY-hoK65B07FnzzW6fQl2EmsAEtEFVPRABY,455
|
221
222
|
accrete/contrib/user/apps.py,sha256=oHDrAiHf-G57mZLyxqGJzRY2DbPprGFD-QgyVJG_ruI,156
|
222
223
|
accrete/contrib/user/forms.py,sha256=BpwF_t1-7BpBVmwLpIm6hdqUpPqajoR0ZGOJ8cmaO6M,3290
|
223
224
|
accrete/contrib/user/middleware.py,sha256=qblcujwJsthopagyT-hPFq4HsMyGt-VvqZw5TQopBjk,403
|
@@ -259,7 +260,7 @@ accrete/utils/forms.py,sha256=1UQoG0cXel4Tg-a_cG9doJNrl62a0JMDVEYrT5TSX1s,3383
|
|
259
260
|
accrete/utils/log.py,sha256=BH0MBDweAjx30wGBO4F3sFhbgkSoEs7T1lLLjlYZNnA,407
|
260
261
|
accrete/utils/models.py,sha256=2xTacvcpmDK_Bp4rAK7JdVLf8HU009LYNJ6eSpMgYZI,1014
|
261
262
|
accrete/utils/views.py,sha256=AutijWetWGgjdO1PNc4gxCblT-i1fAfldNDFRbO9Sac,5012
|
262
|
-
accrete-0.0.
|
263
|
-
accrete-0.0.
|
264
|
-
accrete-0.0.
|
265
|
-
accrete-0.0.
|
263
|
+
accrete-0.0.128.dist-info/METADATA,sha256=3HnKri4Msg5AjnVNVEP5NRET1BmJb-geQnwOmWStajk,4953
|
264
|
+
accrete-0.0.128.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
265
|
+
accrete-0.0.128.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
|
266
|
+
accrete-0.0.128.dist-info/RECORD,,
|
File without changes
|
File without changes
|