We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 139389f commit 271f0b9Copy full SHA for 271f0b9
1 file changed
pythonpro/promos/admin.py
@@ -1,2 +1,10 @@
1
+from django.contrib import admin
2
-# Register your models here.
3
+from pythonpro.promos.models import Video
4
+
5
6
+class VideoAdmin(admin.ModelAdmin):
7
+ list_display = ['title']
8
9
10
+admin.site.register(Video, VideoAdmin)
0 commit comments