✨ Modernize bit bit
- bumps - poetry - linting
This commit is contained in:
1 parent
3b9a43fc7a
commit
b12413ed67
31 files changed
+1409
-331
No files matched your search
+3
-3
@@ -5,9 +5,9 @@ from dpdapi.models import Alias, Domain, User
|
||||
|
||||
@admin.register(Alias)
|
||||
class AliasAdmin(admin.ModelAdmin):
|
||||
list_display = ['source', 'destination', 'active', 'domain']
|
||||
list_filter = ['domain']
|
||||
search_fields = ['source', 'destination']
|
||||
list_display = ["source", "destination", "active", "domain"]
|
||||
list_filter = ["domain"]
|
||||
search_fields = ["source", "destination"]
|
||||
|
||||
|
||||
@admin.register(Domain)
|
||||
|
||||
Reference in new issue
Block a user