mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
6072de727f
commit
967be82443
@@ -15,6 +15,7 @@ class CustomUserAdmin(UserAdmin):
|
||||
super(CustomUserAdmin, self).log_change(request, object, message)
|
||||
request.user.pk = original_pk
|
||||
|
||||
|
||||
site.register(get_user_model(), CustomUserAdmin)
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
Reference in New Issue
Block a user